Lines Matching refs:sk_buff
53 static inline unsigned int ip_hdrlen(const struct sk_buff *skb) in ip_hdrlen()
103 int ip_build_and_send_pkt(struct sk_buff *skb, const struct sock *sk,
106 int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
108 int ip_local_deliver(struct sk_buff *skb);
109 int ip_mr_input(struct sk_buff *skb);
110 int ip_output(struct net *net, struct sock *sk, struct sk_buff *skb);
111 int ip_mc_output(struct net *net, struct sock *sk, struct sk_buff *skb);
112 int ip_do_fragment(struct net *net, struct sock *sk, struct sk_buff *skb,
113 int (*output)(struct net *, struct sock *, struct sk_buff *));
115 int __ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb);
116 int ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb);
118 int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
122 int odd, struct sk_buff *skb),
128 struct sk_buff *skb);
131 struct sk_buff *__ip_make_skb(struct sock *sk, struct flowi4 *fl4,
134 int ip_send_skb(struct net *net, struct sk_buff *skb);
137 struct sk_buff *ip_make_skb(struct sock *sk, struct flowi4 *fl4,
139 int len, int odd, struct sk_buff *skb),
144 static inline struct sk_buff *ip_finish_skb(struct sock *sk, struct flowi4 *fl4) in ip_finish_skb()
182 void ip_send_unicast_reply(struct sock *sk, struct sk_buff *skb,
320 static inline unsigned int ip_skb_dst_mtu(const struct sk_buff *skb) in ip_skb_dst_mtu()
336 static inline void ip_select_ident_segs(struct net *net, struct sk_buff *skb, in ip_select_ident_segs()
358 static inline void ip_select_ident(struct net *net, struct sk_buff *skb, in ip_select_ident()
364 static inline __wsum inet_compute_pseudo(struct sk_buff *skb, int proto) in inet_compute_pseudo()
384 static inline __wsum inet_gro_compute_pseudo(struct sk_buff *skb, int proto) in inet_gro_compute_pseudo()
477 bool ip_call_ra_chain(struct sk_buff *skb);
509 int ip_defrag(struct net *net, struct sk_buff *skb, u32 user);
511 struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user);
513 static inline struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_check_defrag()
524 int ip_forward(struct sk_buff *skb);
530 void ip_options_build(struct sk_buff *skb, struct ip_options *opt,
533 int __ip_options_echo(struct ip_options *dopt, struct sk_buff *skb,
535 static inline int ip_options_echo(struct ip_options *dopt, struct sk_buff *skb) in ip_options_echo()
540 void ip_options_fragment(struct sk_buff *skb);
542 struct sk_buff *skb);
548 void ip_forward_options(struct sk_buff *skb);
549 int ip_options_rcv_srr(struct sk_buff *skb);
555 void ipv4_pktinfo_prepare(const struct sock *sk, struct sk_buff *skb);
556 void ip_cmsg_recv_offset(struct msghdr *msg, struct sk_buff *skb, int offset);
571 void ip_icmp_error(struct sock *sk, struct sk_buff *skb, int err, __be16 port,
576 static inline void ip_cmsg_recv(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv()