diff options
author | Jef Oliver <jef.oliver@intel.com> | 2016-08-31 17:27:09 -0700 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-09-24 13:51:29 +0200 |
commit | 1a4031d6db73ed0a6e850c5c7b3c1bc1405673ed (patch) | |
tree | cc60213999057badac2ea363b0cdfd0630d330e9 /libnl-route-3.sym | |
parent | ab17f9803d08ee5c1b3e4618da170c8cb2da3eb5 (diff) | |
download | libnl-1a4031d6db73ed0a6e850c5c7b3c1bc1405673ed.tar.gz |
lib/route: Support IFLA_BRIDGE_MODE
This patch adds support for hardware assisted bridge modes stored
in IFLA_AF_SPEC[IFLA_BRIDGE_MODE].
This patch adds rtnl_link_[g/s]et_hwmode() functions, allowing
for getting and setting the hardware mode for a bridged link.
This patch adds the convenience functions for translating between
integer and string names for hardware modes.
This patch adds rtnl_link_bridge_set_self(), a function that
stores flags in IFLA_AF_SPEC[IFLA_BRIDGE_FLAGS], an attribute
that tells the kernel whether it should apply settings to the
virtual bridge device or the hardware device itself. This requires
hardware that supports the hardware flags.
This patch adds bridge_fill_af(), a function to fill IFLA_AF_SPEC
with AF_BRIDGE specific information.
Signed-off-by: Jef Oliver <jef.oliver@intel.com>
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'libnl-route-3.sym')
-rw-r--r-- | libnl-route-3.sym | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libnl-route-3.sym b/libnl-route-3.sym index f80714f0..5f42fd2a 100644 --- a/libnl-route-3.sym +++ b/libnl-route-3.sym @@ -951,5 +951,10 @@ libnl_3_2_29 { global: rtnl_link_bridge_portstate2str; rtnl_link_bridge_str2portstate; + rtnl_link_bridge_set_self; + rtnl_link_bridge_get_hwmode; + rtnl_link_bridge_set_hwmode; + rtnl_link_bridge_hwmode2str; + rtnl_link_bridge_str2hwmode; } libnl_3_2_28; |