Lines Matching refs:sk_buff

52 static inline unsigned int ip_hdrlen(const struct sk_buff *skb)  in ip_hdrlen()
102 int ip_build_and_send_pkt(struct sk_buff *skb, struct sock *sk,
105 int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
107 int ip_local_deliver(struct sk_buff *skb);
108 int ip_mr_input(struct sk_buff *skb);
109 int ip_output(struct sock *sk, struct sk_buff *skb);
110 int ip_mc_output(struct sock *sk, struct sk_buff *skb);
111 int ip_fragment(struct sock *sk, struct sk_buff *skb,
112 int (*output)(struct sock *, struct sk_buff *));
113 int ip_do_nat(struct sk_buff *skb);
115 int __ip_local_out(struct sk_buff *skb);
116 int ip_local_out_sk(struct sock *sk, struct sk_buff *skb);
117 static inline int ip_local_out(struct sk_buff *skb) in ip_local_out()
122 int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
126 int odd, struct sk_buff *skb),
132 struct sk_buff *skb);
135 struct sk_buff *__ip_make_skb(struct sock *sk, struct flowi4 *fl4,
138 int ip_send_skb(struct net *net, struct sk_buff *skb);
141 struct sk_buff *ip_make_skb(struct sock *sk, struct flowi4 *fl4,
143 int len, int odd, struct sk_buff *skb),
148 static inline struct sk_buff *ip_finish_skb(struct sock *sk, struct flowi4 *fl4) in ip_finish_skb()
186 void ip_send_unicast_reply(struct sock *sk, struct sk_buff *skb,
312 static inline unsigned int ip_skb_dst_mtu(const struct sk_buff *skb) in ip_skb_dst_mtu()
325 static inline void ip_select_ident_segs(struct net *net, struct sk_buff *skb, in ip_select_ident_segs()
347 static inline void ip_select_ident(struct net *net, struct sk_buff *skb, in ip_select_ident()
353 static inline __wsum inet_compute_pseudo(struct sk_buff *skb, int proto) in inet_compute_pseudo()
372 static inline __wsum inet_gro_compute_pseudo(struct sk_buff *skb, int proto) in inet_gro_compute_pseudo()
460 bool ip_call_ra_chain(struct sk_buff *skb);
482 int ip_defrag(struct sk_buff *skb, u32 user);
484 struct sk_buff *ip_check_defrag(struct sk_buff *skb, u32 user);
486 static inline struct sk_buff *ip_check_defrag(struct sk_buff *skb, u32 user) in ip_check_defrag()
497 int ip_forward(struct sk_buff *skb);
503 void ip_options_build(struct sk_buff *skb, struct ip_options *opt,
506 int __ip_options_echo(struct ip_options *dopt, struct sk_buff *skb,
508 static inline int ip_options_echo(struct ip_options *dopt, struct sk_buff *skb) in ip_options_echo()
513 void ip_options_fragment(struct sk_buff *skb);
515 struct sk_buff *skb);
521 void ip_forward_options(struct sk_buff *skb);
522 int ip_options_rcv_srr(struct sk_buff *skb);
528 void ipv4_pktinfo_prepare(const struct sock *sk, struct sk_buff *skb);
529 void ip_cmsg_recv_offset(struct msghdr *msg, struct sk_buff *skb, int offset);
544 void ip_icmp_error(struct sock *sk, struct sk_buff *skb, int err, __be16 port,
549 static inline void ip_cmsg_recv(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv()