diff options
author | Jiri Pirko <jiri@resnulli.us> | 2014-09-05 17:51:31 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-09 22:29:55 +0400 |
commit | e5c3ea5c668033b303e7ac835d7d91da32d97958 (patch) | |
tree | cf53b62bb7cba3ff01b19e6f58ac64f175917700 /include/uapi/linux/if_link.h | |
parent | 3ac636b8591c37bb5028814a4ebd41d263b56181 (diff) | |
download | linux-e5c3ea5c668033b303e7ac835d7d91da32d97958.tar.xz |
bridge: implement rtnl_link_ops->get_size and rtnl_link_ops->fill_info
Allow rtnetlink users to get bridge master info in IFLA_INFO_DATA attr
This initial part implements forward_delay, hello_time, max_age options.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/if_link.h')
-rw-r--r-- | include/uapi/linux/if_link.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index ff957604a721..c80f95f6ee78 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -215,6 +215,18 @@ enum in6_addr_gen_mode { IN6_ADDR_GEN_MODE_NONE, }; +/* Bridge section */ + +enum { + IFLA_BR_UNSPEC, + IFLA_BR_FORWARD_DELAY, + IFLA_BR_HELLO_TIME, + IFLA_BR_MAX_AGE, + __IFLA_BR_MAX, +}; + +#define IFLA_BR_MAX (__IFLA_BR_MAX - 1) + enum { BRIDGE_MODE_UNSPEC, BRIDGE_MODE_HAIRPIN, |