summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/batman_adv.h
diff options
context:
space:
mode:
authorSven Eckelmann2018-11-23 13:06:42 +0100
committerSimon Wunderlich2019-02-09 14:28:14 +0100
commita1c8de80329609ba68ff860074070efb1e14ade4 (patch)
treeb7cdf68350923a5a94149e9c51542a954113b7a6 /include/uapi/linux/batman_adv.h
parentbatman-adv: Add bridge_loop_avoidance mesh genl configuration (diff)
downloadkernel-qcow2-linux-a1c8de80329609ba68ff860074070efb1e14ade4.tar.gz
kernel-qcow2-linux-a1c8de80329609ba68ff860074070efb1e14ade4.tar.xz
kernel-qcow2-linux-a1c8de80329609ba68ff860074070efb1e14ade4.zip
batman-adv: Add distributed_arp_table mesh genl configuration
The mesh interface can use a distributed hash table to answer ARP requests without flooding the request through the whole mesh. The BATADV_CMD_SET_MESH/BATADV_CMD_GET_MESH commands allow to set/get the configuration of this feature using the BATADV_ATTR_DISTRIBUTED_ARP_TABLE_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/linux/batman_adv.h')
-rw-r--r--include/uapi/linux/batman_adv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/linux/batman_adv.h b/include/uapi/linux/batman_adv.h
index 3cb35c661056..f303a1496476 100644
--- a/include/uapi/linux/batman_adv.h
+++ b/include/uapi/linux/batman_adv.h
@@ -388,6 +388,14 @@ enum batadv_nl_attrs {
*/
BATADV_ATTR_BRIDGE_LOOP_AVOIDANCE_ENABLED,
+ /**
+ * @BATADV_ATTR_DISTRIBUTED_ARP_TABLE_ENABLED: whether the distributed
+ * arp table feature is enabled. This feature uses a distributed hash
+ * table to answer ARP requests without flooding the request through
+ * the whole mesh.
+ */
+ BATADV_ATTR_DISTRIBUTED_ARP_TABLE_ENABLED,
+
/* add attributes above here, update the policy in netlink.c */
/**