Lines Matching refs:sk_buff
72 static inline unsigned int ip_hdrlen(const struct sk_buff *skb) in ip_hdrlen()
111 static inline int inet_sdif(const struct sk_buff *skb) in inet_sdif()
161 int ip_build_and_send_pkt(struct sk_buff *skb, const struct sock *sk,
164 int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
168 int ip_local_deliver(struct sk_buff *skb);
169 void ip_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int proto);
170 int ip_mr_input(struct sk_buff *skb);
171 int ip_mr_output(struct net *net, struct sock *sk, struct sk_buff *skb);
172 int ip_output(struct net *net, struct sock *sk, struct sk_buff *skb);
173 int ip_mc_output(struct net *net, struct sock *sk, struct sk_buff *skb);
174 int ip_do_fragment(struct net *net, struct sock *sk, struct sk_buff *skb,
175 int (*output)(struct net *, struct sock *, struct sk_buff *));
178 struct sk_buff *frag;
184 void ip_fraglist_init(struct sk_buff *skb, struct iphdr *iph,
186 void ip_fraglist_prepare(struct sk_buff *skb, struct ip_fraglist_iter *iter);
188 static inline struct sk_buff *ip_fraglist_next(struct ip_fraglist_iter *iter) in ip_fraglist_next()
190 struct sk_buff *skb = iter->frag; in ip_fraglist_next()
209 void ip_frag_init(struct sk_buff *skb, unsigned int hlen, unsigned int ll_rs,
211 struct sk_buff *ip_frag_next(struct sk_buff *skb,
215 int __ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb);
216 int ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb);
218 int __ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl,
223 int odd, struct sk_buff *skb),
229 struct sk_buff *skb);
230 struct sk_buff *__ip_make_skb(struct sock *sk, struct flowi4 *fl4,
233 int ip_send_skb(struct net *net, struct sk_buff *skb);
236 struct sk_buff *ip_make_skb(struct sock *sk, struct flowi4 *fl4,
238 int len, int odd, struct sk_buff *skb),
243 int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
245 static inline struct sk_buff *ip_finish_skb(struct sock *sk, struct flowi4 *fl4) in ip_finish_skb()
288 struct sk_buff *skb,
510 const struct sk_buff *skb) in ip_skb_dst_mtu()
557 static inline void ip_select_ident_segs(struct net *net, struct sk_buff *skb, in ip_select_ident_segs()
589 static inline void ip_select_ident(struct net *net, struct sk_buff *skb, in ip_select_ident()
595 static inline __wsum inet_compute_pseudo(struct sk_buff *skb, int proto) in inet_compute_pseudo()
720 bool ip_call_ra_chain(struct sk_buff *skb);
752 int ip_defrag(struct net *net, struct sk_buff *skb, u32 user);
754 struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user);
756 static inline struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_check_defrag()
766 int ip_forward(struct sk_buff *skb);
772 void ip_options_build(struct sk_buff *skb, struct ip_options *opt,
776 struct sk_buff *skb, const struct ip_options *sopt);
778 struct sk_buff *skb) in ip_options_echo()
783 void ip_options_fragment(struct sk_buff *skb);
785 struct sk_buff *skb, __be32 *info);
787 struct sk_buff *skb);
791 void ip_forward_options(struct sk_buff *skb);
792 int ip_options_rcv_srr(struct sk_buff *skb, struct net_device *dev);
798 void ipv4_pktinfo_prepare(const struct sock *sk, struct sk_buff *skb, bool drop_dst);
800 struct sk_buff *skb, int tlen, int offset);
816 void ip_icmp_error(struct sock *sk, struct sk_buff *skb, int err, __be16 port,
821 static inline void ip_cmsg_recv(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv()