aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/gre.h
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2013-06-17 20:49:51 -0400
committerDavid S. Miller <davem@davemloft.net>2013-06-19 21:07:41 -0400
commit45f2e9976cb6fc3f1cc533fd53fe74da5a9dbce4 (patch)
treeb3d9024dcadfbd9443ac50047c6643754c0d435b /include/net/gre.h
parent752f36da68e9136df8918461d651723a43627e04 (diff)
gre: export gre_handle_offloads() function.
This is required for OVS GRE offloading. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/gre.h')
-rw-r--r--include/net/gre.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/gre.h b/include/net/gre.h
index cbb9d51d82c1..a5a4ddf05300 100644
--- a/include/net/gre.h
+++ b/include/net/gre.h
@@ -34,6 +34,7 @@ int gre_cisco_register(struct gre_cisco_protocol *proto);
34int gre_cisco_unregister(struct gre_cisco_protocol *proto); 34int gre_cisco_unregister(struct gre_cisco_protocol *proto);
35void gre_build_header(struct sk_buff *skb, const struct tnl_ptk_info *tpi, 35void gre_build_header(struct sk_buff *skb, const struct tnl_ptk_info *tpi,
36 int hdr_len); 36 int hdr_len);
37struct sk_buff *gre_handle_offloads(struct sk_buff *skb, bool gre_csum);
37 38
38static inline int ip_gre_calc_hlen(__be16 o_flags) 39static inline int ip_gre_calc_hlen(__be16 o_flags)
39{ 40{