diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-06-18 02:49:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-20 03:07:41 +0200 |
commit | 45f2e9976cb6fc3f1cc533fd53fe74da5a9dbce4 (patch) | |
tree | b3d9024dcadfbd9443ac50047c6643754c0d435b /include/net/gre.h | |
parent | gre: export gre_build_header() function. (diff) | |
download | linux-45f2e9976cb6fc3f1cc533fd53fe74da5a9dbce4.tar.xz linux-45f2e9976cb6fc3f1cc533fd53fe74da5a9dbce4.zip |
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); int gre_cisco_unregister(struct gre_cisco_protocol *proto); 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); static inline int ip_gre_calc_hlen(__be16 o_flags) { |