Skip to content

Commit f02a478

Browse files
neocturnesimonwunderlich
authored andcommitted
batman-adv: add B.A.T.M.A.N. V bat_{orig, neigh}_dump implementations
Dump the algo V originators and neighbours. Signed-off-by: Matthias Schiffer <[email protected]> Signed-off-by: Andrew Lunn <[email protected]> [[email protected]: Fix includes, fix algo_ops integration] Signed-off-by: Sven Eckelmann <[email protected]> Signed-off-by: Simon Wunderlich <[email protected]> Signed-off-by: Marek Lindner <[email protected]>
1 parent 024f99c commit f02a478

File tree

3 files changed

+343
-0
lines changed

3 files changed

+343
-0
lines changed

include/uapi/linux/batman_adv.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ enum batadv_tt_client_flags {
8787
* @BATADV_ATTR_LAST_SEEN_MSECS: Time in milliseconds since last seen
8888
* @BATADV_ATTR_NEIGH_ADDRESS: Neighbour MAC address
8989
* @BATADV_ATTR_TQ: TQ to neighbour
90+
* @BATADV_ATTR_THROUGHPUT: Estimated throughput to Neighbour
9091
* @__BATADV_ATTR_AFTER_LAST: internal use
9192
* @NUM_BATADV_ATTR: total number of batadv_nl_attrs available
9293
* @BATADV_ATTR_MAX: highest attribute number currently defined
@@ -118,6 +119,7 @@ enum batadv_nl_attrs {
118119
BATADV_ATTR_LAST_SEEN_MSECS,
119120
BATADV_ATTR_NEIGH_ADDRESS,
120121
BATADV_ATTR_TQ,
122+
BATADV_ATTR_THROUGHPUT,
121123
/* add attributes above here, update the policy in netlink.c */
122124
__BATADV_ATTR_AFTER_LAST,
123125
NUM_BATADV_ATTR = __BATADV_ATTR_AFTER_LAST,

0 commit comments

Comments
 (0)