From 4f5b41cf789fcc30e142dfdb1123a8adc12112d5 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Wed, 30 Jul 2014 10:56:31 +0000 Subject: netifd: GRE tunnel support Adds support for gre, gretap, grev6 and grev6tap tunnels Signed-off-by: Hans Dedecker --- system.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'system.h') diff --git a/system.h b/system.h index 0fde7f1..e3187fb 100644 --- a/system.h +++ b/system.h @@ -32,6 +32,7 @@ enum tunnel_param { TUNNEL_ATTR_6RD_RELAY_PREFIX, TUNNEL_ATTR_LINK, TUNNEL_ATTR_FMRS, + TUNNEL_ATTR_INFO, __TUNNEL_ATTR_MAX }; @@ -132,7 +133,7 @@ bool system_resolve_rt_type(const char *type, unsigned int *id); bool system_resolve_rt_table(const char *name, unsigned int *id); bool system_is_default_rt_table(unsigned int id); -int system_del_ip_tunnel(const char *name); +int system_del_ip_tunnel(const char *name, struct blob_attr *attr); int system_add_ip_tunnel(const char *name, struct blob_attr *attr); int system_add_iprule(struct iprule *rule); -- cgit v1.2.1