Lines Matching refs:sk_buff
66 static inline unsigned int ip_hdrlen(const struct sk_buff *skb) in ip_hdrlen()
102 static inline int inet_sdif(struct sk_buff *skb) in inet_sdif()
152 int ip_build_and_send_pkt(struct sk_buff *skb, const struct sock *sk,
155 int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
159 int ip_local_deliver(struct sk_buff *skb);
160 void ip_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int proto);
161 int ip_mr_input(struct sk_buff *skb);
162 int ip_output(struct net *net, struct sock *sk, struct sk_buff *skb);
163 int ip_mc_output(struct net *net, struct sock *sk, struct sk_buff *skb);
164 int ip_do_fragment(struct net *net, struct sock *sk, struct sk_buff *skb,
165 int (*output)(struct net *, struct sock *, struct sk_buff *));
168 struct sk_buff *frag;
174 void ip_fraglist_init(struct sk_buff *skb, struct iphdr *iph,
176 void ip_fraglist_prepare(struct sk_buff *skb, struct ip_fraglist_iter *iter);
178 static inline struct sk_buff *ip_fraglist_next(struct ip_fraglist_iter *iter) in ip_fraglist_next()
180 struct sk_buff *skb = iter->frag; in ip_fraglist_next()
199 void ip_frag_init(struct sk_buff *skb, unsigned int hlen, unsigned int ll_rs,
201 struct sk_buff *ip_frag_next(struct sk_buff *skb,
205 int __ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb);
206 int ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb);
208 int __ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl,
213 int odd, struct sk_buff *skb),
219 struct sk_buff *skb);
222 struct sk_buff *__ip_make_skb(struct sock *sk, struct flowi4 *fl4,
225 int ip_send_skb(struct net *net, struct sk_buff *skb);
228 struct sk_buff *ip_make_skb(struct sock *sk, struct flowi4 *fl4,
230 int len, int odd, struct sk_buff *skb),
235 int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
237 static inline struct sk_buff *ip_finish_skb(struct sock *sk, struct flowi4 *fl4) in ip_finish_skb()
276 void ip_send_unicast_reply(struct sock *sk, struct sk_buff *skb,
455 const struct sk_buff *skb) in ip_skb_dst_mtu()
500 static inline void ip_select_ident_segs(struct net *net, struct sk_buff *skb, in ip_select_ident_segs()
522 static inline void ip_select_ident(struct net *net, struct sk_buff *skb, in ip_select_ident()
528 static inline __wsum inet_compute_pseudo(struct sk_buff *skb, int proto) in inet_compute_pseudo()
548 static inline __wsum inet_gro_compute_pseudo(struct sk_buff *skb, int proto) in inet_gro_compute_pseudo()
648 bool ip_call_ra_chain(struct sk_buff *skb);
680 int ip_defrag(struct net *net, struct sk_buff *skb, u32 user);
682 struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user);
684 static inline struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_check_defrag()
694 int ip_forward(struct sk_buff *skb);
700 void ip_options_build(struct sk_buff *skb, struct ip_options *opt,
704 struct sk_buff *skb, const struct ip_options *sopt);
706 struct sk_buff *skb) in ip_options_echo()
711 void ip_options_fragment(struct sk_buff *skb);
713 struct sk_buff *skb, __be32 *info);
715 struct sk_buff *skb);
719 void ip_forward_options(struct sk_buff *skb);
720 int ip_options_rcv_srr(struct sk_buff *skb, struct net_device *dev);
726 void ipv4_pktinfo_prepare(const struct sock *sk, struct sk_buff *skb);
728 struct sk_buff *skb, int tlen, int offset);
739 void ip_icmp_error(struct sock *sk, struct sk_buff *skb, int err, __be16 port,
744 static inline void ip_cmsg_recv(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv()