diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2015-10-06 14:11:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-07 04:49:29 -0700 |
commit | 96f94e7f4a216282a24819968184c881e6343692 (patch) | |
tree | 404163f5a0e0fb4c79954059025f4b322868be89 /include | |
parent | 80df9a2692edf7afffda9282e716e7b1df198e07 (diff) | |
download | linux-96f94e7f4a216282a24819968184c881e6343692.tar.gz linux-96f94e7f4a216282a24819968184c881e6343692.tar.bz2 linux-96f94e7f4a216282a24819968184c881e6343692.zip |
bridge: netlink: export port's designated cost and port
Add IFLA_BRPORT_DESIGNATED_(COST|PORT) to allow getting the port's
designated cost and port respectively 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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index e891c32c9993..837caf940135 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -294,6 +294,8 @@ enum { IFLA_BRPORT_PROXYARP_WIFI, /* proxy ARP for Wi-Fi */ IFLA_BRPORT_ROOT_ID, /* designated root */ IFLA_BRPORT_BRIDGE_ID, /* designated bridge */ + IFLA_BRPORT_DESIGNATED_PORT, + IFLA_BRPORT_DESIGNATED_COST, __IFLA_BRPORT_MAX }; #define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1) |