Repository : ssh://git@diktynna/alfred
On branch : master
commit bdd9fc82ccf0401cbbdfc793f8ca9b386053f145 Author: Sven Eckelmann sven@narfation.org Date: Tue Nov 10 08:22:35 2020 +0100
alfred: Sync batman-adv netlink uapi header
Sync headers after following batman-adv changes:
* batman-adv: Prepare infrastructure for newlink settings * batman-adv: Allow selection of routing algorithm over rtnetlink
Signed-off-by: Sven Eckelmann sven@narfation.org
bdd9fc82ccf0401cbbdfc793f8ca9b386053f145 batman_adv.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+)
diff --git a/batman_adv.h b/batman_adv.h index bb0ae94..bdb317f 100644 --- a/batman_adv.h +++ b/batman_adv.h @@ -675,4 +675,30 @@ enum batadv_tp_meter_reason { BATADV_TP_REASON_TOO_MANY = 133, };
+/** + * enum batadv_ifla_attrs - batman-adv ifla nested attributes + */ +enum batadv_ifla_attrs { + /** + * @IFLA_BATADV_UNSPEC: unspecified attribute which is not parsed by + * rtnetlink + */ + IFLA_BATADV_UNSPEC, + + /** + * @IFLA_BATADV_ALGO_NAME: routing algorithm (name) which should be + * used by the newly registered batadv net_device. + */ + IFLA_BATADV_ALGO_NAME, + + /* add attributes above here, update the policy in soft-interface.c */ + + /** + * @__IFLA_BATADV_MAX: internal use + */ + __IFLA_BATADV_MAX, +}; + +#define IFLA_BATADV_MAX (__IFLA_BATADV_MAX - 1) + #endif /* _UAPI_LINUX_BATMAN_ADV_H_ */