diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-06-17 20:49:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-19 21:07:41 -0400 |
commit | 45f2e9976cb6fc3f1cc533fd53fe74da5a9dbce4 (patch) | |
tree | b3d9024dcadfbd9443ac50047c6643754c0d435b /include/net/gre.h | |
parent | 752f36da68e9136df8918461d651723a43627e04 (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.h | 1 |
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); | |||
34 | int gre_cisco_unregister(struct gre_cisco_protocol *proto); | 34 | int gre_cisco_unregister(struct gre_cisco_protocol *proto); |
35 | void gre_build_header(struct sk_buff *skb, const struct tnl_ptk_info *tpi, | 35 | void gre_build_header(struct sk_buff *skb, const struct tnl_ptk_info *tpi, |
36 | int hdr_len); | 36 | int hdr_len); |
37 | struct sk_buff *gre_handle_offloads(struct sk_buff *skb, bool gre_csum); | ||
37 | 38 | ||
38 | static inline int ip_gre_calc_hlen(__be16 o_flags) | 39 | static inline int ip_gre_calc_hlen(__be16 o_flags) |
39 | { | 40 | { |