diff options
Diffstat (limited to 'include/net/protocol.h')
-rw-r--r-- | include/net/protocol.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/protocol.h b/include/net/protocol.h index 8d024d7cb741..ffa5b8b1f1df 100644 --- a/include/net/protocol.h +++ b/include/net/protocol.h | |||
@@ -39,6 +39,9 @@ struct net_protocol { | |||
39 | int (*gso_send_check)(struct sk_buff *skb); | 39 | int (*gso_send_check)(struct sk_buff *skb); |
40 | struct sk_buff *(*gso_segment)(struct sk_buff *skb, | 40 | struct sk_buff *(*gso_segment)(struct sk_buff *skb, |
41 | int features); | 41 | int features); |
42 | struct sk_buff **(*gro_receive)(struct sk_buff **head, | ||
43 | struct sk_buff *skb); | ||
44 | int (*gro_complete)(struct sk_buff *skb); | ||
42 | unsigned int no_policy:1, | 45 | unsigned int no_policy:1, |
43 | netns_ok:1; | 46 | netns_ok:1; |
44 | }; | 47 | }; |
@@ -56,6 +59,9 @@ struct inet6_protocol | |||
56 | int (*gso_send_check)(struct sk_buff *skb); | 59 | int (*gso_send_check)(struct sk_buff *skb); |
57 | struct sk_buff *(*gso_segment)(struct sk_buff *skb, | 60 | struct sk_buff *(*gso_segment)(struct sk_buff *skb, |
58 | int features); | 61 | int features); |
62 | struct sk_buff **(*gro_receive)(struct sk_buff **head, | ||
63 | struct sk_buff *skb); | ||
64 | int (*gro_complete)(struct sk_buff *skb); | ||
59 | 65 | ||
60 | unsigned int flags; /* INET6_PROTO_xxx */ | 66 | unsigned int flags; /* INET6_PROTO_xxx */ |
61 | }; | 67 | }; |