diff options
author | Sven Eckelmann <sven@narfation.org> | 2018-11-23 12:55:44 +0100 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2019-02-09 14:28:13 +0100 |
commit | d7e52506b680826d6ff7ce73e6a90a3b9defc741 (patch) | |
tree | df1c95f8194652e2fb91b0ded39e042d7ddf14a8 /include/uapi | |
parent | e43d16b87dc2cad18799cfd1142f4acae4135ea4 (diff) | |
download | linux-stable-d7e52506b680826d6ff7ce73e6a90a3b9defc741.tar.gz linux-stable-d7e52506b680826d6ff7ce73e6a90a3b9defc741.tar.bz2 linux-stable-d7e52506b680826d6ff7ce73e6a90a3b9defc741.zip |
batman-adv: Add bonding mesh genl configuration
The mesh interface can use multiple slave/hard-interface ports at the same
time to transport the traffic to other nodes.
The BATADV_CMD_SET_MESH/BATADV_CMD_GET_MESH commands allow to set/get the
configuration of this feature using the BATADV_ATTR_BONDING_ENABLED
attribute. Setting the u8 to zero will disable this feature and setting it
to something else is enabling this feature.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/batman_adv.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/batman_adv.h b/include/uapi/linux/batman_adv.h index a4dadafe08dd..f74ff261ec8f 100644 --- a/include/uapi/linux/batman_adv.h +++ b/include/uapi/linux/batman_adv.h @@ -375,6 +375,12 @@ enum batadv_nl_attrs { */ BATADV_ATTR_ISOLATION_MASK, + /** + * @BATADV_ATTR_BONDING_ENABLED: whether the data traffic going through + * the mesh will be sent using multiple interfaces at the same time. + */ + BATADV_ATTR_BONDING_ENABLED, + /* add attributes above here, update the policy in netlink.c */ /** |