diff options
author | Brice Goglin <brice@myri.com> | 2007-10-13 06:33:32 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-15 14:24:07 -0400 |
commit | eabd7e35c0061dc250fcb8b77c472cb66d770774 (patch) | |
tree | 92153476510e1e9caead4236a282e0a557e1fb37 /include | |
parent | af793e08b748223d04ec4ba6aa70e3686a4ba4f7 (diff) |
Add skb_is_gso_v6
Add skb_is_gso_v6().
Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/skbuff.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index a656cecd373c..8101e8b0d7ba 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -1781,6 +1781,11 @@ static inline int skb_is_gso(const struct sk_buff *skb) | |||
1781 | return skb_shinfo(skb)->gso_size; | 1781 | return skb_shinfo(skb)->gso_size; |
1782 | } | 1782 | } |
1783 | 1783 | ||
1784 | static inline int skb_is_gso_v6(const struct sk_buff *skb) | ||
1785 | { | ||
1786 | return skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6; | ||
1787 | } | ||
1788 | |||
1784 | static inline void skb_forward_csum(struct sk_buff *skb) | 1789 | static inline void skb_forward_csum(struct sk_buff *skb) |
1785 | { | 1790 | { |
1786 | /* Unfortunately we don't support this one. Any brave souls? */ | 1791 | /* Unfortunately we don't support this one. Any brave souls? */ |