diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2014-07-30 10:56:31 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-07-30 15:22:07 +0200 |
commit | 4f5b41cf789fcc30e142dfdb1123a8adc12112d5 (patch) | |
tree | 46cdb906644a71335aeb0835c18c2c9736ecfa39 /system.h | |
parent | 922c169147fc6e4c4ecf94029528192636e917e7 (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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |