Lines Matching refs:sk_buff
69 static inline unsigned int ip_hdrlen(const struct sk_buff *skb) in ip_hdrlen()
105 static inline int inet_sdif(struct sk_buff *skb) in inet_sdif()
155 int ip_build_and_send_pkt(struct sk_buff *skb, const struct sock *sk,
158 int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
162 int ip_local_deliver(struct sk_buff *skb);
163 void ip_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int proto);
164 int ip_mr_input(struct sk_buff *skb);
165 int ip_output(struct net *net, struct sock *sk, struct sk_buff *skb);
166 int ip_mc_output(struct net *net, struct sock *sk, struct sk_buff *skb);
167 int ip_do_fragment(struct net *net, struct sock *sk, struct sk_buff *skb,
168 int (*output)(struct net *, struct sock *, struct sk_buff *));
171 struct sk_buff *frag;
177 void ip_fraglist_init(struct sk_buff *skb, struct iphdr *iph,
179 void ip_fraglist_prepare(struct sk_buff *skb, struct ip_fraglist_iter *iter);
181 static inline struct sk_buff *ip_fraglist_next(struct ip_fraglist_iter *iter) in ip_fraglist_next()
183 struct sk_buff *skb = iter->frag; in ip_fraglist_next()
202 void ip_frag_init(struct sk_buff *skb, unsigned int hlen, unsigned int ll_rs,
204 struct sk_buff *ip_frag_next(struct sk_buff *skb,
208 int __ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb);
209 int ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb);
211 int __ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl,
216 int odd, struct sk_buff *skb),
222 struct sk_buff *skb);
225 struct sk_buff *__ip_make_skb(struct sock *sk, struct flowi4 *fl4,
228 int ip_send_skb(struct net *net, struct sk_buff *skb);
231 struct sk_buff *ip_make_skb(struct sock *sk, struct flowi4 *fl4,
233 int len, int odd, struct sk_buff *skb),
238 int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
240 static inline struct sk_buff *ip_finish_skb(struct sock *sk, struct flowi4 *fl4) in ip_finish_skb()
279 void ip_send_unicast_reply(struct sock *sk, struct sk_buff *skb,
470 const struct sk_buff *skb) in ip_skb_dst_mtu()
518 static inline void ip_select_ident_segs(struct net *net, struct sk_buff *skb, in ip_select_ident_segs()
539 static inline void ip_select_ident(struct net *net, struct sk_buff *skb, in ip_select_ident()
545 static inline __wsum inet_compute_pseudo(struct sk_buff *skb, int proto) in inet_compute_pseudo()
565 static inline __wsum inet_gro_compute_pseudo(struct sk_buff *skb, int proto) in inet_gro_compute_pseudo()
665 bool ip_call_ra_chain(struct sk_buff *skb);
697 int ip_defrag(struct net *net, struct sk_buff *skb, u32 user);
699 struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user);
701 static inline struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_check_defrag()
711 int ip_forward(struct sk_buff *skb);
717 void ip_options_build(struct sk_buff *skb, struct ip_options *opt,
721 struct sk_buff *skb, const struct ip_options *sopt);
723 struct sk_buff *skb) in ip_options_echo()
728 void ip_options_fragment(struct sk_buff *skb);
730 struct sk_buff *skb, __be32 *info);
732 struct sk_buff *skb);
736 void ip_forward_options(struct sk_buff *skb);
737 int ip_options_rcv_srr(struct sk_buff *skb, struct net_device *dev);
743 void ipv4_pktinfo_prepare(const struct sock *sk, struct sk_buff *skb);
745 struct sk_buff *skb, int tlen, int offset);
756 void ip_icmp_error(struct sock *sk, struct sk_buff *skb, int err, __be16 port,
761 static inline void ip_cmsg_recv(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv()