diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2015-10-06 14:11:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-07 04:49:27 -0700 |
commit | 4ebc7660ab4559cad10b6595e05f70562bb26dc5 (patch) | |
tree | d71e83da8746bc9a5a49a68e634ec2352d3e7ef3 /include | |
parent | deaa0a6a930edc79081268bf23b196d0340499af (diff) | |
download | linux-4ebc7660ab4559cad10b6595e05f70562bb26dc5.tar.gz linux-4ebc7660ab4559cad10b6595e05f70562bb26dc5.tar.bz2 linux-4ebc7660ab4559cad10b6595e05f70562bb26dc5.zip |
bridge: netlink: export port's root id
Add IFLA_BRPORT_ROOT_ID to allow getting the designated root id via
netlink.
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/if_link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index c5b15bfeabe2..c45c1d7894e7 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -292,6 +292,7 @@ enum { IFLA_BRPORT_PROXYARP, /* proxy ARP */ IFLA_BRPORT_LEARNING_SYNC, /* mac learning sync from device */ IFLA_BRPORT_PROXYARP_WIFI, /* proxy ARP for Wi-Fi */ + IFLA_BRPORT_ROOT_ID, /* designated root */ __IFLA_BRPORT_MAX }; #define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1) |