History

batman-adv: Add fragmentation mesh genl configuration

The mesh interface can fragment unicast packets when the packet size exceeds the outgoing slave/hard-interface MTU. The BATADV_CMD_SET_MESH/BATADV_CMD_GET_MESH commands allow to set/get the configuration of this feature using the BATADV_ATTR_FRAGMENTATION_ENABLED attribute. Setting the u8 to zero will disable this feature and setting it to something else is enabling this feature.

Sven Eckelmann committed 7 years ago

Commit 3e15b061 parent a1c8de82 files · +19 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/batman_adv.h+7−0
@@ -396,6 +396,13 @@ enum batadv_nl_attrs { · 395 unmodified lines
396 */396 */
397 BATADV_ATTR_DISTRIBUTED_ARP_TABLE_ENABLED,397 BATADV_ATTR_DISTRIBUTED_ARP_TABLE_ENABLED,
398 398
399 /**
400 * @BATADV_ATTR_FRAGMENTATION_ENABLED: whether the data traffic going
401 * through the mesh will be fragmented or silently discarded if the
402 * packet size exceeds the outgoing interface MTU.
403 */
404 BATADV_ATTR_FRAGMENTATION_ENABLED,
405
399 /* add attributes above here, update the policy in netlink.c */406 /* add attributes above here, update the policy in netlink.c */
400 407
401 /**408 /**

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t