Lines Matching refs:sk_buff

67 static inline unsigned int ip_hdrlen(const struct sk_buff *skb)  in ip_hdrlen()
103 static inline int inet_sdif(const struct sk_buff *skb) in inet_sdif()
153 int ip_build_and_send_pkt(struct sk_buff *skb, const struct sock *sk,
156 int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
160 int ip_local_deliver(struct sk_buff *skb);
161 void ip_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int proto);
162 int ip_mr_input(struct sk_buff *skb);
163 int ip_output(struct net *net, struct sock *sk, struct sk_buff *skb);
164 int ip_mc_output(struct net *net, struct sock *sk, struct sk_buff *skb);
165 int ip_do_fragment(struct net *net, struct sock *sk, struct sk_buff *skb,
166 int (*output)(struct net *, struct sock *, struct sk_buff *));
169 struct sk_buff *frag;
175 void ip_fraglist_init(struct sk_buff *skb, struct iphdr *iph,
177 void ip_fraglist_prepare(struct sk_buff *skb, struct ip_fraglist_iter *iter);
179 static inline struct sk_buff *ip_fraglist_next(struct ip_fraglist_iter *iter) in ip_fraglist_next()
181 struct sk_buff *skb = iter->frag; in ip_fraglist_next()
200 void ip_frag_init(struct sk_buff *skb, unsigned int hlen, unsigned int ll_rs,
202 struct sk_buff *ip_frag_next(struct sk_buff *skb,
206 int __ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb);
207 int ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb);
209 int __ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl,
214 int odd, struct sk_buff *skb),
220 struct sk_buff *skb);
223 struct sk_buff *__ip_make_skb(struct sock *sk, struct flowi4 *fl4,
226 int ip_send_skb(struct net *net, struct sk_buff *skb);
229 struct sk_buff *ip_make_skb(struct sock *sk, struct flowi4 *fl4,
231 int len, int odd, struct sk_buff *skb),
236 int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
238 static inline struct sk_buff *ip_finish_skb(struct sock *sk, struct flowi4 *fl4) in ip_finish_skb()
277 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()
540 static inline void ip_select_ident(struct net *net, struct sk_buff *skb, in ip_select_ident()
546 static inline __wsum inet_compute_pseudo(struct sk_buff *skb, int proto) in inet_compute_pseudo()
566 static inline __wsum inet_gro_compute_pseudo(struct sk_buff *skb, int proto) in inet_gro_compute_pseudo()
666 bool ip_call_ra_chain(struct sk_buff *skb);
698 int ip_defrag(struct net *net, struct sk_buff *skb, u32 user);
700 struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user);
702 static inline struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_check_defrag()
712 int ip_forward(struct sk_buff *skb);
718 void ip_options_build(struct sk_buff *skb, struct ip_options *opt,
722 struct sk_buff *skb, const struct ip_options *sopt);
724 struct sk_buff *skb) in ip_options_echo()
729 void ip_options_fragment(struct sk_buff *skb);
731 struct sk_buff *skb, __be32 *info);
733 struct sk_buff *skb);
737 void ip_forward_options(struct sk_buff *skb);
738 int ip_options_rcv_srr(struct sk_buff *skb, struct net_device *dev);
744 void ipv4_pktinfo_prepare(const struct sock *sk, struct sk_buff *skb);
746 struct sk_buff *skb, int tlen, int offset);
757 void ip_icmp_error(struct sock *sk, struct sk_buff *skb, int err, __be16 port,
762 static inline void ip_cmsg_recv(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv()