summaryrefslogtreecommitdiffstats
path: root/include/linux/udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/udp.h')
-rw-r--r--include/linux/udp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/udp.h b/include/linux/udp.h
index 32342754643a..d1fd8cd39478 100644
--- a/include/linux/udp.h
+++ b/include/linux/udp.h
@@ -71,6 +71,14 @@ struct udp_sock {
71 */ 71 */
72 int (*encap_rcv)(struct sock *sk, struct sk_buff *skb); 72 int (*encap_rcv)(struct sock *sk, struct sk_buff *skb);
73 void (*encap_destroy)(struct sock *sk); 73 void (*encap_destroy)(struct sock *sk);
74
75 /* GRO functions for UDP socket */
76 struct sk_buff ** (*gro_receive)(struct sock *sk,
77 struct sk_buff **head,
78 struct sk_buff *skb);
79 int (*gro_complete)(struct sock *sk,
80 struct sk_buff *skb,
81 int nhoff);
74}; 82};
75 83
76static inline struct udp_sock *udp_sk(const struct sock *sk) 84static inline struct udp_sock *udp_sk(const struct sock *sk)