Lines Matching refs:sk_buff
25 struct sk_buff *last;
94 static inline int gro_recursion_inc_test(struct sk_buff *skb)
99 typedef struct sk_buff *(*gro_receive_t)(struct list_head *, struct sk_buff *);
100 static inline struct sk_buff *call_gro_receive(gro_receive_t cb,
102 struct sk_buff *skb)
112 typedef struct sk_buff *(*gro_receive_sk_t)(struct sock *, struct list_head *,
113 struct sk_buff *);
114 static inline struct sk_buff *call_gro_receive_sk(gro_receive_sk_t cb,
117 struct sk_buff *skb)
127 static inline unsigned int skb_gro_offset(const struct sk_buff *skb)
132 static inline unsigned int skb_gro_len(const struct sk_buff *skb)
137 static inline void skb_gro_pull(struct sk_buff *skb, unsigned int len)
142 static inline void *skb_gro_header_fast(struct sk_buff *skb,
148 static inline int skb_gro_header_hard(struct sk_buff *skb, unsigned int hlen)
153 static inline void skb_gro_frag0_invalidate(struct sk_buff *skb)
159 static inline void *skb_gro_header_slow(struct sk_buff *skb, unsigned int hlen,
169 static inline void *skb_gro_header(struct sk_buff *skb,
180 static inline void *skb_gro_network_header(struct sk_buff *skb)
186 static inline __wsum inet_gro_compute_pseudo(struct sk_buff *skb, int proto)
194 static inline void skb_gro_postpull_rcsum(struct sk_buff *skb,
204 * offsets and fields in sk_buff.
207 __sum16 __skb_gro_checksum_complete(struct sk_buff *skb);
209 static inline bool skb_at_gro_remcsum_start(struct sk_buff *skb)
214 static inline bool __skb_gro_checksum_validate_needed(struct sk_buff *skb,
226 static inline __sum16 __skb_gro_checksum_validate_complete(struct sk_buff *skb,
238 static inline void skb_gro_incr_csum_unnecessary(struct sk_buff *skb)
274 static inline bool __skb_gro_checksum_convert_check(struct sk_buff *skb)
280 static inline void __skb_gro_checksum_convert(struct sk_buff *skb,
305 static inline void *skb_gro_remcsum_process(struct sk_buff *skb, void *ptr,
337 static inline void skb_gro_remcsum_cleanup(struct sk_buff *skb,
354 static inline void skb_gro_flush_final(struct sk_buff *skb, struct sk_buff *pp, int flush)
359 static inline void skb_gro_flush_final_remcsum(struct sk_buff *skb,
360 struct sk_buff *pp,
371 static inline void skb_gro_flush_final(struct sk_buff *skb, struct sk_buff *pp, int flush)
375 static inline void skb_gro_flush_final_remcsum(struct sk_buff *skb,
376 struct sk_buff *pp,
386 INDIRECT_CALLABLE_DECLARE(struct sk_buff *ipv6_gro_receive(struct list_head *,
387 struct sk_buff *));
388 INDIRECT_CALLABLE_DECLARE(int ipv6_gro_complete(struct sk_buff *, int));
389 INDIRECT_CALLABLE_DECLARE(struct sk_buff *inet_gro_receive(struct list_head *,
390 struct sk_buff *));
391 INDIRECT_CALLABLE_DECLARE(int inet_gro_complete(struct sk_buff *, int));
393 INDIRECT_CALLABLE_DECLARE(struct sk_buff *udp4_gro_receive(struct list_head *,
394 struct sk_buff *));
395 INDIRECT_CALLABLE_DECLARE(int udp4_gro_complete(struct sk_buff *, int));
397 INDIRECT_CALLABLE_DECLARE(struct sk_buff *udp6_gro_receive(struct list_head *,
398 struct sk_buff *));
399 INDIRECT_CALLABLE_DECLARE(int udp6_gro_complete(struct sk_buff *, int));
408 struct sk_buff *udp_gro_receive(struct list_head *head, struct sk_buff *skb,
410 int udp_gro_complete(struct sk_buff *skb, int nhoff, udp_lookup_t lookup);
412 static inline struct udphdr *udp_gro_udphdr(struct sk_buff *skb)
424 static inline __wsum ip6_gro_compute_pseudo(struct sk_buff *skb, int proto)
432 int skb_gro_receive(struct sk_buff *p, struct sk_buff *skb);
447 static inline void gro_normal_one(struct napi_struct *napi, struct sk_buff *skb, int segs)
461 static inline void inet_get_iif_sdif(const struct sk_buff *skb, int *iif, int *sdif)
482 static inline void inet6_get_iif_sdif(const struct sk_buff *skb, int *iif, int *sdif)