diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2012-11-19 22:41:45 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-20 18:43:28 (GMT) |
commit | e2f1f072db8db81e6b5bcbfcf409bb5c91dc9329 (patch) | |
tree | a19138de5bf57a0dab684a44fc214cf1f2833846 /include/uapi | |
parent | e4f67addf158f98f8197e08974966b18480dc751 (diff) | |
download | linux-e2f1f072db8db81e6b5bcbfcf409bb5c91dc9329.tar.xz |
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 5ab0c8d..aee73d0 100644 --- a/include/uapi/linux/if_tunnel.h +++ b/include/uapi/linux/if_tunnel.h @@ -49,6 +49,10 @@ enum { IFLA_IPTUN_FLAGS, IFLA_IPTUN_PROTO, IFLA_IPTUN_PMTUDISC, + IFLA_IPTUN_6RD_PREFIX, + IFLA_IPTUN_6RD_RELAY_PREFIX, + IFLA_IPTUN_6RD_PREFIXLEN, + IFLA_IPTUN_6RD_RELAY_PREFIXLEN, __IFLA_IPTUN_MAX, }; #define IFLA_IPTUN_MAX (__IFLA_IPTUN_MAX - 1) |