skbuff.h (cb178190ab7d9c9b9fb90e36488ebd26ca004d32) skbuff.h (36a8f39e05ccc308a5619a7edb5ad6e15ee82ff6)
1/*
2 * Definitions for the 'struct sk_buff' memory handlers.
3 *
4 * Authors:
5 * Alan Cox, <gw4pts@gw4pts.ampr.org>
6 * Florian La Roche, <rzsfl@rz.uni-sb.de>
7 *
8 * This program is free software; you can redistribute it and/or

--- 2741 unchanged lines hidden (view full) ---

2750 return 0;
2751}
2752
2753static inline bool skb_is_gso(const struct sk_buff *skb)
2754{
2755 return skb_shinfo(skb)->gso_size;
2756}
2757
1/*
2 * Definitions for the 'struct sk_buff' memory handlers.
3 *
4 * Authors:
5 * Alan Cox, <gw4pts@gw4pts.ampr.org>
6 * Florian La Roche, <rzsfl@rz.uni-sb.de>
7 *
8 * This program is free software; you can redistribute it and/or

--- 2741 unchanged lines hidden (view full) ---

2750 return 0;
2751}
2752
2753static inline bool skb_is_gso(const struct sk_buff *skb)
2754{
2755 return skb_shinfo(skb)->gso_size;
2756}
2757
2758/* Note: Should be called only if skb_is_gso(skb) is true */
2758static inline bool skb_is_gso_v6(const struct sk_buff *skb)
2759{
2760 return skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6;
2761}
2762
2763void __skb_warn_lro_forwarding(const struct sk_buff *skb);
2764
2765static inline bool skb_warn_if_lro(const struct sk_buff *skb)

--- 54 unchanged lines hidden ---
2759static inline bool skb_is_gso_v6(const struct sk_buff *skb)
2760{
2761 return skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6;
2762}
2763
2764void __skb_warn_lro_forwarding(const struct sk_buff *skb);
2765
2766static inline bool skb_warn_if_lro(const struct sk_buff *skb)

--- 54 unchanged lines hidden ---