/* SPDX-License-Identifier: MIT */ /* Copyright (C) B.A.T.M.A.N. contributors: * * Matthias Schiffer */ #ifndef _UAPI_LINUX_BATMAN_ADV_H_ #define _UAPI_LINUX_BATMAN_ADV_H_ #define BATADV_NL_NAME … #define BATADV_NL_MCAST_GROUP_CONFIG … #define BATADV_NL_MCAST_GROUP_TPMETER … /** * enum batadv_tt_client_flags - TT client specific flags * * Bits from 0 to 7 are called _remote flags_ because they are sent on the wire. * Bits from 8 to 15 are called _local flags_ because they are used for local * computations only. * * Bits from 4 to 7 - a subset of remote flags - are ensured to be in sync with * the other nodes in the network. To achieve this goal these flags are included * in the TT CRC computation. */ enum batadv_tt_client_flags { … }; /** * enum batadv_mcast_flags_priv - Private, own multicast flags * * These are internal, multicast related flags. Currently they describe certain * multicast related attributes of the segment this originator bridges into the * mesh. * * Those attributes are used to determine the public multicast flags this * originator is going to announce via TT. * * For netlink, if BATADV_MCAST_FLAGS_BRIDGED is unset then all querier * related flags are undefined. */ enum batadv_mcast_flags_priv { … }; /** * enum batadv_gw_modes - gateway mode of node */ enum batadv_gw_modes { … }; /** * enum batadv_nl_attrs - batman-adv netlink attributes */ enum batadv_nl_attrs { … }; /** * enum batadv_nl_commands - supported batman-adv netlink commands */ enum batadv_nl_commands { … }; /** * enum batadv_tp_meter_reason - reason of a tp meter test run stop */ enum batadv_tp_meter_reason { … }; /** * enum batadv_ifla_attrs - batman-adv ifla nested attributes */ enum batadv_ifla_attrs { … }; #define IFLA_BATADV_MAX … #endif /* _UAPI_LINUX_BATMAN_ADV_H_ */