ENUM BATADV_NL_ATTRS(9)
π enum batadv_nl_attrs(9) π
okay bestie, so this is a page from the Kernel API Manual and it's literally about enum batadv_nl_attrs β the batman-adv netlink attributes. it's giving "the master list of every attribute name the batman-adv netlink interface fumbles around with" and you're gonna read all of it, no skipping β¨
π¦ SYNOPSIS π¦
enum batadv_nl_attrs {
BATADV_ATTR_UNSPEC ,
BATADV_ATTR_VERSION ,
BATADV_ATTR_ALGO_NAME ,
BATADV_ATTR_MESH_IFINDEX ,
BATADV_ATTR_MESH_IFNAME ,
BATADV_ATTR_MESH_ADDRESS ,
BATADV_ATTR_HARD_IFINDEX ,
BATADV_ATTR_HARD_IFNAME ,
BATADV_ATTR_HARD_ADDRESS ,
BATADV_ATTR_ORIG_ADDRESS ,
BATADV_ATTR_TPMETER_RESULT ,
BATADV_ATTR_TPMETER_TEST_TIME ,
BATADV_ATTR_TPMETER_BYTES ,
BATADV_ATTR_TPMETER_COOKIE ,
BATADV_ATTR_PAD ,
BATADV_ATTR_ACTIVE ,
BATADV_ATTR_TT_ADDRESS ,
BATADV_ATTR_TT_TTVN ,
BATADV_ATTR_TT_LAST_TTVN ,
BATADV_ATTR_TT_CRC32 ,
BATADV_ATTR_TT_VID ,
BATADV_ATTR_TT_FLAGS ,
BATADV_ATTR_FLAG_BEST ,
BATADV_ATTR_LAST_SEEN_MSECS ,
BATADV_ATTR_NEIGH_ADDRESS ,
BATADV_ATTR_TQ ,
BATADV_ATTR_THROUGHPUT ,
BATADV_ATTR_BANDWIDTH_UP ,
BATADV_ATTR_BANDWIDTH_DOWN ,
BATADV_ATTR_ROUTER ,
BATADV_ATTR_BLA_OWN ,
BATADV_ATTR_BLA_ADDRESS ,
BATADV_ATTR_BLA_VID ,
BATADV_ATTR_BLA_BACKBONE ,
BATADV_ATTR_BLA_CRC ,
BATADV_ATTR_DAT_CACHE_IP4ADDRESS ,
BATADV_ATTR_DAT_CACHE_HWADDRESS ,
BATADV_ATTR_DAT_CACHE_VID ,
BATADV_ATTR_MCAST_FLAGS ,
BATADV_ATTR_MCAST_FLAGS_PRIV ,
BATADV_ATTR_VLANID ,
BATADV_ATTR_AGGREGATED_OGMS_ENABLED ,
BATADV_ATTR_AP_ISOLATION_ENABLED ,
BATADV_ATTR_ISOLATION_MARK ,
BATADV_ATTR_ISOLATION_MASK ,
BATADV_ATTR_BONDING_ENABLED ,
BATADV_ATTR_BRIDGE_LOOP_AVOIDANCE_ENABLED ,
BATADV_ATTR_DISTRIBUTED_ARP_TABLE_ENABLED ,
BATADV_ATTR_FRAGMENTATION_ENABLED ,
BATADV_ATTR_GW_BANDWIDTH_DOWN ,
BATADV_ATTR_GW_BANDWIDTH_UP ,
BATADV_ATTR_GW_MODE ,
BATADV_ATTR_GW_SEL_CLASS ,
BATADV_ATTR_HOP_PENALTY ,
BATADV_ATTR_LOG_LEVEL ,
BATADV_ATTR_MULTICAST_FORCEFLOOD_ENABLED ,
BATADV_ATTR_NETWORK_CODING_ENABLED ,
BATADV_ATTR_ORIG_INTERVAL ,
BATADV_ATTR_ELP_INTERVAL ,
BATADV_ATTR_THROUGHPUT_OVERRIDE ,
BATADV_ATTR_MULTICAST_FANOUT ,
__BATADV_ATTR_AFTER_LAST ,
NUM_BATADV_ATTR ,
BATADV_ATTR_MAX
};
β¨ Constants β¨
like, the actual roster π each one of these is a netlink attribute, and here's what each one is for:
BATADV_ATTR_UNSPECβ the "unspecified" attribute, and its whole job is catching errors π«ΆBATADV_ATTR_VERSIONβ the batman-adv version stringBATADV_ATTR_ALGO_NAMEβ name of the routing algorithmBATADV_ATTR_MESH_IFINDEXβ index of the batman-adv interfaceBATADV_ATTR_MESH_IFNAMEβ name of the batman-adv interfaceBATADV_ATTR_MESH_ADDRESSβ mac address of the batman-adv interfaceBATADV_ATTR_HARD_IFINDEXβ index of the non-batman-adv interfaceBATADV_ATTR_HARD_IFNAMEβ name of the non-batman-adv interfaceBATADV_ATTR_HARD_ADDRESSβ mac address of the non-batman-adv interfaceBATADV_ATTR_ORIG_ADDRESSβ originator mac addressBATADV_ATTR_TPMETER_RESULTβ result of the run (seebatadv_tp_meter_status)BATADV_ATTR_TPMETER_TEST_TIMEβ time (msec) the run tookBATADV_ATTR_TPMETER_BYTESβ amount of acked bytes during the runBATADV_ATTR_TPMETER_COOKIEβ session cookie to match the tp_meter sessionBATADV_ATTR_PADβ attribute used for padding for 64-bit alignmentBATADV_ATTR_ACTIVEβ flag indicating if the hard interface is activeBATADV_ATTR_TT_ADDRESSβ client MAC addressBATADV_ATTR_TT_TTVNβ translation table versionBATADV_ATTR_TT_LAST_TTVNβ previous translation table versionBATADV_ATTR_TT_CRC32β CRC32 over the translation tableBATADV_ATTR_TT_VIDβ VLAN IDBATADV_ATTR_TT_FLAGSβ translation table client flagsBATADV_ATTR_FLAG_BESTβ flags indicating the entry is the bestBATADV_ATTR_LAST_SEEN_MSECSβ time in milliseconds since last seenBATADV_ATTR_NEIGH_ADDRESSβ neighbour MAC addressBATADV_ATTR_TQβ TQ to the neighbourBATADV_ATTR_THROUGHPUTβ estimated throughput to the neighbourBATADV_ATTR_BANDWIDTH_UPβ reported uplink bandwidthBATADV_ATTR_BANDWIDTH_DOWNβ reported downlink bandwidthBATADV_ATTR_ROUTERβ gateway router MAC addressBATADV_ATTR_BLA_OWNβ flag indicating own originatorBATADV_ATTR_BLA_ADDRESSβ bridge loop avoidance claim MAC addressBATADV_ATTR_BLA_VIDβ BLA VLAN IDBATADV_ATTR_BLA_BACKBONEβ BLA gateway originator MAC addressBATADV_ATTR_BLA_CRCβ BLA CRCBATADV_ATTR_DAT_CACHE_IP4ADDRESSβ client IPv4 addressBATADV_ATTR_DAT_CACHE_HWADDRESSβ client MAC addressBATADV_ATTR_DAT_CACHE_VIDβ VLAN IDBATADV_ATTR_MCAST_FLAGSβ per originator multicast flagsBATADV_ATTR_MCAST_FLAGS_PRIVβ private, own multicast flagsBATADV_ATTR_VLANIDβ VLAN id on top of the mesh interfaceBATADV_ATTR_AGGREGATED_OGMS_ENABLEDβ whether the batman protocol messages of the mesh interface shall be aggregated or not.BATADV_ATTR_AP_ISOLATION_ENABLEDβ whether the data traffic going from a wireless client to another wireless client will be silently dropped.BATADV_ATTR_ISOLATION_MARKβ the isolation mark which is used to classify clients as "isolated" by the Extended Isolation feature.BATADV_ATTR_ISOLATION_MASKβ the isolation (bit)mask which is used to classify clients as "isolated" by the Extended Isolation feature.BATADV_ATTR_BONDING_ENABLEDβ whether the data traffic going through the mesh will be sent using multiple interfaces at the same time.BATADV_ATTR_BRIDGE_LOOP_AVOIDANCE_ENABLEDβ whether the bridge loop avoidance feature is enabled. This feature detects and avoids loops between the mesh and devices bridged with the mesh interfaceBATADV_ATTR_DISTRIBUTED_ARP_TABLE_ENABLEDβ whether the distributed arp table feature is enabled. This feature uses a distributed hash table to answer ARP requests without flooding the request through the whole mesh.BATADV_ATTR_FRAGMENTATION_ENABLEDβ whether the data traffic going through the mesh will be fragmented or silently discarded if the packet size exceeds the outgoing interface MTU.BATADV_ATTR_GW_BANDWIDTH_DOWNβ defines the download bandwidth which is propagated by this node ifBATADV_ATTR_GW_BANDWIDTH_MODEwas set to'server'.BATADV_ATTR_GW_BANDWIDTH_UPβ defines the upload bandwidth which is propagated by this node ifBATADV_ATTR_GW_BANDWIDTH_MODEwas set to'server'.BATADV_ATTR_GW_MODEβ defines the state of the gateway features. Possible values are specified inenum batadv_gw_modesBATADV_ATTR_GW_SEL_CLASSβ defines the selection criteria this node will use to choose a gateway if gw_mode was set to'client'.BATADV_ATTR_HOP_PENALTYβ defines the penalty which will be applied to an originator message's tq-field on every hop and/or per hard interfaceBATADV_ATTR_LOG_LEVELβ bitmask with to define which debug messages should be send to the debug log/trace ring bufferBATADV_ATTR_MULTICAST_FORCEFLOOD_ENABLEDβ whether multicast optimizations should be replaced by simple broadcast-like flooding of multicast packets. If set to non-zero then all nodes in the mesh are going to use classic flooding for any multicast packet with no optimizations.BATADV_ATTR_NETWORK_CODING_ENABLEDβ whether Network Coding (using some magic to send fewer wifi packets but still the same content) is enabled or not.BATADV_ATTR_ORIG_INTERVALβ defines the interval in milliseconds in which batman sends its protocol messages.BATADV_ATTR_ELP_INTERVALβ defines the interval in milliseconds in which batman emits probing packets for neighbor sensing (ELP).BATADV_ATTR_THROUGHPUT_OVERRIDEβ defines the throughput value to be used by B.A.T.M.A.N. V when estimating the link throughput using this interface. If the value is set to0then batman-adv will try to estimate the throughput by itself.BATADV_ATTR_MULTICAST_FANOUTβ defines the maximum number of packet copies that may be generated for a multicast-to-unicast conversion. Once this limit is exceeded distribution will fall back to broadcast.__BATADV_ATTR_AFTER_LASTβ internal use πNUM_BATADV_ATTRβ total number ofbatadv_nl_attrsavailableBATADV_ATTR_MAXβ highest attribute number currently defined π
π SEE ALSO π
the kernel file ./include/uapi/linux/batman_adv.h enum, plus the whole friend group:
batadv_tt_client_flags(9)enum batadv_mcast_flags_priv(9)enum batadv_gw_modes(9)enum batadv_nl_commands(9)enum batadv_tp_meter_reason(9)enum batadv_ifla_attrs(9)
and that's the whole page, bestie, no cap π it lives in ./include/uapi/linux and this cutie's dated October 2026 β go read the whole attribute list again if you need to, it's lowkey iconic πβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms