History

batman-adv: Add log_level mesh genl configuration

In contrast to other modules, batman-adv allows to set the debug message verbosity per mesh/soft-interface and not per module (via modparam). The BATADV_CMD_SET_MESH/BATADV_CMD_GET_MESH commands allow to set/get the configuration of this feature using the u32 (bitmask) BATADV_ATTR_LOG_LEVEL attribute.

Sven Eckelmann committed 7 years ago

Commit b85bd091 parent bfc7f1b2 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
@@ -449,6 +449,12 @@ enum batadv_nl_attrs { · 448 unmodified lines
449 */449 */
450 BATADV_ATTR_HOP_PENALTY,450 BATADV_ATTR_HOP_PENALTY,
451 451
452 /**
453 * @BATADV_ATTR_LOG_LEVEL: bitmask with to define which debug messages
454 * should be send to the debug log/trace ring buffer
455 */
456 BATADV_ATTR_LOG_LEVEL,
457
452 /* add attributes above here, update the policy in netlink.c */458 /* add attributes above here, update the policy in netlink.c */
453 459
454 /**460 /**

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