Lines Matching refs:sk_buff

68 static inline unsigned int ip_hdrlen(const struct sk_buff *skb)  in ip_hdrlen()
104 static inline int inet_sdif(const struct sk_buff *skb) in inet_sdif()
154 int ip_build_and_send_pkt(struct sk_buff *skb, const struct sock *sk,
157 int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
161 int ip_local_deliver(struct sk_buff *skb);
162 void ip_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int proto);
163 int ip_mr_input(struct sk_buff *skb);
164 int ip_output(struct net *net, struct sock *sk, struct sk_buff *skb);
165 int ip_mc_output(struct net *net, struct sock *sk, struct sk_buff *skb);
166 int ip_do_fragment(struct net *net, struct sock *sk, struct sk_buff *skb,
167 int (*output)(struct net *, struct sock *, struct sk_buff *));
170 struct sk_buff *frag;
176 void ip_fraglist_init(struct sk_buff *skb, struct iphdr *iph,
178 void ip_fraglist_prepare(struct sk_buff *skb, struct ip_fraglist_iter *iter);
180 static inline struct sk_buff *ip_fraglist_next(struct ip_fraglist_iter *iter) in ip_fraglist_next()
182 struct sk_buff *skb = iter->frag; in ip_fraglist_next()
201 void ip_frag_init(struct sk_buff *skb, unsigned int hlen, unsigned int ll_rs,
203 struct sk_buff *ip_frag_next(struct sk_buff *skb,
207 int __ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb);
208 int ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb);
210 int __ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl,
215 int odd, struct sk_buff *skb),
221 struct sk_buff *skb);
224 struct sk_buff *__ip_make_skb(struct sock *sk, struct flowi4 *fl4,
227 int ip_send_skb(struct net *net, struct sk_buff *skb);
230 struct sk_buff *ip_make_skb(struct sock *sk, struct flowi4 *fl4,
232 int len, int odd, struct sk_buff *skb),
237 int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
239 static inline struct sk_buff *ip_finish_skb(struct sock *sk, struct flowi4 *fl4) in ip_finish_skb()
278 void ip_send_unicast_reply(struct sock *sk, struct sk_buff *skb,
475 const struct sk_buff *skb) in ip_skb_dst_mtu()
523 static inline void ip_select_ident_segs(struct net *net, struct sk_buff *skb, in ip_select_ident_segs()
545 static inline void ip_select_ident(struct net *net, struct sk_buff *skb, in ip_select_ident()
551 static inline __wsum inet_compute_pseudo(struct sk_buff *skb, int proto) in inet_compute_pseudo()
571 static inline __wsum inet_gro_compute_pseudo(struct sk_buff *skb, int proto) in inet_gro_compute_pseudo()
671 bool ip_call_ra_chain(struct sk_buff *skb);
703 int ip_defrag(struct net *net, struct sk_buff *skb, u32 user);
705 struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user);
707 static inline struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_check_defrag()
717 int ip_forward(struct sk_buff *skb);
723 void ip_options_build(struct sk_buff *skb, struct ip_options *opt,
727 struct sk_buff *skb, const struct ip_options *sopt);
729 struct sk_buff *skb) in ip_options_echo()
734 void ip_options_fragment(struct sk_buff *skb);
736 struct sk_buff *skb, __be32 *info);
738 struct sk_buff *skb);
742 void ip_forward_options(struct sk_buff *skb);
743 int ip_options_rcv_srr(struct sk_buff *skb, struct net_device *dev);
749 void ipv4_pktinfo_prepare(const struct sock *sk, struct sk_buff *skb);
751 struct sk_buff *skb, int tlen, int offset);
763 void ip_icmp_error(struct sock *sk, struct sk_buff *skb, int err, __be16 port,
768 static inline void ip_cmsg_recv(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv()