summaryrefslogtreecommitdiff
path: root/include/net/gre.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-07-01 19:24:00 +0200
committerDavid S. Miller <davem@davemloft.net>2013-07-03 14:37:39 -0700
commitc50cd357887acf9fd7af3a5d492911bd825555a2 (patch)
tree8b2c00e46461e9959b4ecc339d8fcdef1ca69f03 /include/net/gre.h
parent419076f59fc5916bd200b45225c83437b37ab189 (diff)
net: gre: move GSO functions to gre_offload
Similarly to TCP/UDP offloading, move all related GRE functions to gre_offload.c to make things more explicit and similar to the rest of the code. Suggested-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/gre.h')
-rw-r--r--include/net/gre.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/gre.h b/include/net/gre.h
index a5a4ddf05300..57e4afdf7879 100644
--- a/include/net/gre.h
+++ b/include/net/gre.h
@@ -32,6 +32,10 @@ struct gre_cisco_protocol {
int gre_cisco_register(struct gre_cisco_protocol *proto);
int gre_cisco_unregister(struct gre_cisco_protocol *proto);
+
+int gre_offload_init(void);
+void gre_offload_exit(void);
+
void gre_build_header(struct sk_buff *skb, const struct tnl_ptk_info *tpi,
int hdr_len);
struct sk_buff *gre_handle_offloads(struct sk_buff *skb, bool gre_csum);