Lines Matching refs:sk_buff
106 struct sk_buff;
111 static inline __sum16 __udp_lib_checksum_complete(struct sk_buff *skb) in __udp_lib_checksum_complete()
118 static inline int udp_lib_checksum_complete(struct sk_buff *skb) in udp_lib_checksum_complete()
130 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing()
140 static inline __wsum udp_csum(struct sk_buff *skb) in udp_csum()
157 void udp_set_csum(bool nocheck, struct sk_buff *skb,
160 static inline void udp_csum_pull_header(struct sk_buff *skb) in udp_csum_pull_header()
169 typedef struct sock *(*udp_lookup_t)(const struct sk_buff *skb, __be16 sport,
172 void udp_v6_early_demux(struct sk_buff *skb);
173 INDIRECT_CALLABLE_DECLARE(int udpv6_rcv(struct sk_buff *));
175 struct sk_buff *__udp_gso_segment(struct sk_buff *gso_skb,
207 static inline __be16 udp_flow_src_port(struct net *net, struct sk_buff *skb, in udp_flow_src_port()
261 void skb_consume_udp(struct sock *sk, struct sk_buff *skb, int len);
262 int __udp_enqueue_schedule_skb(struct sock *sk, struct sk_buff *skb);
263 void udp_skb_destructor(struct sock *sk, struct sk_buff *skb);
264 struct sk_buff *__skb_recv_udp(struct sock *sk, unsigned int flags, int *off,
266 static inline struct sk_buff *skb_recv_udp(struct sock *sk, unsigned int flags, in skb_recv_udp()
274 int udp_v4_early_demux(struct sk_buff *skb);
276 int udp_err(struct sk_buff *, u32);
283 void udp4_hwcsum(struct sk_buff *skb, __be32 src, __be32 dst);
284 int udp_rcv(struct sk_buff *skb);
291 struct sk_buff *skb_udp_tunnel_segment(struct sk_buff *skb,
303 struct udp_table *tbl, struct sk_buff *skb);
304 struct sock *udp4_lib_lookup_skb(const struct sk_buff *skb,
314 struct sk_buff *skb);
315 struct sock *udp6_lib_lookup_skb(const struct sk_buff *skb,
341 static inline struct udp_dev_scratch *udp_skb_scratch(struct sk_buff *skb) in udp_skb_scratch()
347 static inline unsigned int udp_skb_len(struct sk_buff *skb) in udp_skb_len()
352 static inline bool udp_skb_csum_unnecessary(struct sk_buff *skb) in udp_skb_csum_unnecessary()
357 static inline bool udp_skb_is_linear(struct sk_buff *skb) in udp_skb_is_linear()
363 static inline unsigned int udp_skb_len(struct sk_buff *skb) in udp_skb_len()
368 static inline bool udp_skb_csum_unnecessary(struct sk_buff *skb) in udp_skb_csum_unnecessary()
373 static inline bool udp_skb_is_linear(struct sk_buff *skb) in udp_skb_is_linear()
379 static inline int copy_linear_skb(struct sk_buff *skb, int len, int off, in copy_linear_skb()
464 static inline struct sk_buff *udp_rcv_segment(struct sock *sk, in udp_rcv_segment()
465 struct sk_buff *skb, bool ipv4) in udp_rcv_segment()
468 struct sk_buff *segs; in udp_rcv_segment()
504 static inline void udp_post_segment_fix_csum(struct sk_buff *skb) in udp_post_segment_fix_csum()