summaryrefslogtreecommitdiffhomepage
path: root/system.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2014-07-30 10:56:31 +0000
committerSteven Barth <steven@midlink.org>2014-07-30 15:22:07 +0200
commit4f5b41cf789fcc30e142dfdb1123a8adc12112d5 (patch)
tree46cdb906644a71335aeb0835c18c2c9736ecfa39 /system.h
parent922c169147fc6e4c4ecf94029528192636e917e7 (diff)
netifd: GRE tunnel support
Adds support for gre, gretap, grev6 and grev6tap tunnels Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'system.h')
-rw-r--r--system.h3
1 files changed, 2 insertions, 1 deletions
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);