diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2012-11-19 17:41:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-20 13:43:28 -0500 |
commit | e2f1f072db8db81e6b5bcbfcf409bb5c91dc9329 (patch) | |
tree | a19138de5bf57a0dab684a44fc214cf1f2833846 /include/uapi | |
parent | e4f67addf158f98f8197e08974966b18480dc751 (diff) |
sit: allow to configure 6rd tunnels via netlink
This patch add the support of 6RD tunnels management via netlink.
Note that netdev_state_change() is now called when 6RD parameters are updated.
6RD parameters are updated only if there is at least one 6RD attribute.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/if_tunnel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/linux/if_tunnel.h b/include/uapi/linux/if_tunnel.h index 5ab0c8ddc2bc..aee73d0611fb 100644 --- a/include/uapi/linux/if_tunnel.h +++ b/include/uapi/linux/if_tunnel.h | |||
@@ -49,6 +49,10 @@ enum { | |||
49 | IFLA_IPTUN_FLAGS, | 49 | IFLA_IPTUN_FLAGS, |
50 | IFLA_IPTUN_PROTO, | 50 | IFLA_IPTUN_PROTO, |
51 | IFLA_IPTUN_PMTUDISC, | 51 | IFLA_IPTUN_PMTUDISC, |
52 | IFLA_IPTUN_6RD_PREFIX, | ||
53 | IFLA_IPTUN_6RD_RELAY_PREFIX, | ||
54 | IFLA_IPTUN_6RD_PREFIXLEN, | ||
55 | IFLA_IPTUN_6RD_RELAY_PREFIXLEN, | ||
52 | __IFLA_IPTUN_MAX, | 56 | __IFLA_IPTUN_MAX, |
53 | }; | 57 | }; |
54 | #define IFLA_IPTUN_MAX (__IFLA_IPTUN_MAX - 1) | 58 | #define IFLA_IPTUN_MAX (__IFLA_IPTUN_MAX - 1) |