summaryrefslogtreecommitdiff
path: root/include/net/gre.h
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2013-06-17 17:49:45 -0700
committerDavid S. Miller <davem@davemloft.net>2013-06-19 18:07:40 -0700
commit752f36da68e9136df8918461d651723a43627e04 (patch)
tree4701b050f7b67559162f935d4fbb626597738ee1 /include/net/gre.h
parentbda7bb46343647f68591366731295a0f3eea59ed (diff)
gre: export gre_build_header() function.
This is required for ovs gre module. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/gre.h b/include/net/gre.h
index c6ea0c72c605..cbb9d51d82c1 100644
--- a/include/net/gre.h
+++ b/include/net/gre.h
@@ -32,6 +32,8 @@ struct gre_cisco_protocol {
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);
static inline int ip_gre_calc_hlen(__be16 o_flags)
{