History

batman-adv: Add orig_interval mesh genl configuration

The OGM packets are transmitted every orig_interval milliseconds. This value can be changed using the configuration interface. The BATADV_CMD_SET_MESH/BATADV_CMD_GET_MESH commands allow to set/get the configuration of this feature using the u32 BATADV_ATTR_ORIG_INTERVAL attribute.

Sven Eckelmann committed 7 years ago

Commit 7b751b31 parent 6c57cde2 files · +23 −0Browse files

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

Unified · Split

include/uapi/linux/batman_adv.h+6−0
@@ -471,6 +471,12 @@ enum batadv_nl_attrs { · 470 unmodified lines
471471 */
472472 BATADV_ATTR_NETWORK_CODING_ENABLED,
473473
474+ /**
475+ * @BATADV_ATTR_ORIG_INTERVAL: defines the interval in milliseconds in
476+ * which batman sends its protocol messages.
477+ */
478+ BATADV_ATTR_ORIG_INTERVAL,
479+
474480 /* add attributes above here, update the policy in netlink.c */
475481
476482 /**

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