Lines Matching refs:sk_buff
104 struct sk_buff;
109 static inline __sum16 __udp_lib_checksum_complete(struct sk_buff *skb)
116 static inline int udp_lib_checksum_complete(struct sk_buff *skb)
125 * @skb: sk_buff containing the filled-in UDP header
128 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb)
138 static inline __wsum udp_csum(struct sk_buff *skb)
155 void udp_set_csum(bool nocheck, struct sk_buff *skb,
158 static inline void udp_csum_pull_header(struct sk_buff *skb)
167 typedef struct sock *(*udp_lookup_t)(struct sk_buff *skb, __be16 sport,
170 INDIRECT_CALLABLE_DECLARE(struct sk_buff *udp4_gro_receive(struct list_head *,
171 struct sk_buff *));
172 INDIRECT_CALLABLE_DECLARE(int udp4_gro_complete(struct sk_buff *, int));
173 INDIRECT_CALLABLE_DECLARE(struct sk_buff *udp6_gro_receive(struct list_head *,
174 struct sk_buff *));
175 INDIRECT_CALLABLE_DECLARE(int udp6_gro_complete(struct sk_buff *, int));
176 struct sk_buff *udp_gro_receive(struct list_head *head, struct sk_buff *skb,
178 int udp_gro_complete(struct sk_buff *skb, int nhoff, udp_lookup_t lookup);
179 void udp_v6_early_demux(struct sk_buff *skb);
181 struct sk_buff *__udp_gso_segment(struct sk_buff *gso_skb,
184 static inline struct udphdr *udp_gro_udphdr(struct sk_buff *skb)
218 static inline __be16 udp_flow_src_port(struct net *net, struct sk_buff *skb,
272 void skb_consume_udp(struct sock *sk, struct sk_buff *skb, int len);
273 int __udp_enqueue_schedule_skb(struct sock *sk, struct sk_buff *skb);
274 void udp_skb_destructor(struct sock *sk, struct sk_buff *skb);
275 struct sk_buff *__skb_recv_udp(struct sock *sk, unsigned int flags,
277 static inline struct sk_buff *skb_recv_udp(struct sock *sk, unsigned int flags,
285 int udp_v4_early_demux(struct sk_buff *skb);
290 int udp_err(struct sk_buff *, u32);
296 void udp4_hwcsum(struct sk_buff *skb, __be32 src, __be32 dst);
297 int udp_rcv(struct sk_buff *skb);
304 struct sk_buff *skb_udp_tunnel_segment(struct sk_buff *skb,
316 struct udp_table *tbl, struct sk_buff *skb);
317 struct sock *udp4_lib_lookup_skb(struct sk_buff *skb,
327 struct sk_buff *skb);
328 struct sock *udp6_lib_lookup_skb(struct sk_buff *skb,
353 static inline struct udp_dev_scratch *udp_skb_scratch(struct sk_buff *skb)
359 static inline unsigned int udp_skb_len(struct sk_buff *skb)
364 static inline bool udp_skb_csum_unnecessary(struct sk_buff *skb)
369 static inline bool udp_skb_is_linear(struct sk_buff *skb)
375 static inline unsigned int udp_skb_len(struct sk_buff *skb)
380 static inline bool udp_skb_csum_unnecessary(struct sk_buff *skb)
385 static inline bool udp_skb_is_linear(struct sk_buff *skb)
391 static inline int copy_linear_skb(struct sk_buff *skb, int len, int off,
477 static inline struct sk_buff *udp_rcv_segment(struct sock *sk,
478 struct sk_buff *skb, bool ipv4)
481 struct sk_buff *segs;