Skip to content

Commit 024f99c

Browse files
neocturnesimonwunderlich
authored andcommitted
batman-adv: add B.A.T.M.A.N. IV bat_{orig, neigh}_dump implementations
Signed-off-by: Matthias Schiffer <[email protected]> Signed-off-by: Andrew Lunn <[email protected]> [[email protected]: Fix function parameter alignments, add policy for attributes, 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 85cf8c8 commit 024f99c

File tree

3 files changed

+372
-0
lines changed

3 files changed

+372
-0
lines changed

include/uapi/linux/batman_adv.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ enum batadv_tt_client_flags {
8585
* @BATADV_ATTR_TT_FLAGS: Translation table client flags
8686
* @BATADV_ATTR_FLAG_BEST: Flags indicating entry is the best
8787
* @BATADV_ATTR_LAST_SEEN_MSECS: Time in milliseconds since last seen
88+
* @BATADV_ATTR_NEIGH_ADDRESS: Neighbour MAC address
89+
* @BATADV_ATTR_TQ: TQ to neighbour
8890
* @__BATADV_ATTR_AFTER_LAST: internal use
8991
* @NUM_BATADV_ATTR: total number of batadv_nl_attrs available
9092
* @BATADV_ATTR_MAX: highest attribute number currently defined
@@ -114,6 +116,8 @@ enum batadv_nl_attrs {
114116
BATADV_ATTR_TT_FLAGS,
115117
BATADV_ATTR_FLAG_BEST,
116118
BATADV_ATTR_LAST_SEEN_MSECS,
119+
BATADV_ATTR_NEIGH_ADDRESS,
120+
BATADV_ATTR_TQ,
117121
/* add attributes above here, update the policy in netlink.c */
118122
__BATADV_ATTR_AFTER_LAST,
119123
NUM_BATADV_ATTR = __BATADV_ATTR_AFTER_LAST,

0 commit comments

Comments
 (0)