diff options
| author | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-07-03 07:31:40 -0400 |
|---|---|---|
| committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-08-09 01:54:39 -0400 |
| commit | 024f99cb4acc14dab5e55e1ecdf6aad31269ca98 (patch) | |
| tree | f735cd4fe770bbe3893fe0b857dc40f5b7d18f8a /include/uapi/linux | |
| parent | 85cf8c859d53f6f53c37bb7f23a41f6171427021 (diff) | |
batman-adv: add B.A.T.M.A.N. IV bat_{orig, neigh}_dump implementations
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
[sven.eckelmann@open-mesh.com: Fix function parameter alignments,
add policy for attributes, fix includes, fix algo_ops integration]
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/batman_adv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/linux/batman_adv.h b/include/uapi/linux/batman_adv.h index 3f7a415f5e09..ba2359a1f464 100644 --- a/include/uapi/linux/batman_adv.h +++ b/include/uapi/linux/batman_adv.h | |||
| @@ -85,6 +85,8 @@ enum batadv_tt_client_flags { | |||
| 85 | * @BATADV_ATTR_TT_FLAGS: Translation table client flags | 85 | * @BATADV_ATTR_TT_FLAGS: Translation table client flags |
| 86 | * @BATADV_ATTR_FLAG_BEST: Flags indicating entry is the best | 86 | * @BATADV_ATTR_FLAG_BEST: Flags indicating entry is the best |
| 87 | * @BATADV_ATTR_LAST_SEEN_MSECS: Time in milliseconds since last seen | 87 | * @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 | ||
| 88 | * @__BATADV_ATTR_AFTER_LAST: internal use | 90 | * @__BATADV_ATTR_AFTER_LAST: internal use |
| 89 | * @NUM_BATADV_ATTR: total number of batadv_nl_attrs available | 91 | * @NUM_BATADV_ATTR: total number of batadv_nl_attrs available |
| 90 | * @BATADV_ATTR_MAX: highest attribute number currently defined | 92 | * @BATADV_ATTR_MAX: highest attribute number currently defined |
| @@ -114,6 +116,8 @@ enum batadv_nl_attrs { | |||
| 114 | BATADV_ATTR_TT_FLAGS, | 116 | BATADV_ATTR_TT_FLAGS, |
| 115 | BATADV_ATTR_FLAG_BEST, | 117 | BATADV_ATTR_FLAG_BEST, |
| 116 | BATADV_ATTR_LAST_SEEN_MSECS, | 118 | BATADV_ATTR_LAST_SEEN_MSECS, |
| 119 | BATADV_ATTR_NEIGH_ADDRESS, | ||
| 120 | BATADV_ATTR_TQ, | ||
| 117 | /* add attributes above here, update the policy in netlink.c */ | 121 | /* add attributes above here, update the policy in netlink.c */ |
| 118 | __BATADV_ATTR_AFTER_LAST, | 122 | __BATADV_ATTR_AFTER_LAST, |
| 119 | NUM_BATADV_ATTR = __BATADV_ATTR_AFTER_LAST, | 123 | NUM_BATADV_ATTR = __BATADV_ATTR_AFTER_LAST, |
