#[repr(u8)]pub enum Command {
Show 19 variants
BatadvCmdUnspec = 0,
BatadvCmdGetMeshInfo = 1,
BatadvCmdTpMeter = 2,
BatadvCmdTpMeterCancel = 3,
BatadvCmdGetRoutingAlgos = 4,
BatadvCmdGetHardif = 5,
BatadvCmdGetTranstableLocal = 6,
BatadvCmdGetTranstableGlobal = 7,
BatadvCmdGetOriginators = 8,
BatadvCmdGetNeighbors = 9,
BatadvCmdGetGateways = 10,
BatadvCmdGetBlaClaim = 11,
BatadvCmdGetBlaBackbone = 12,
BatadvCmdGetDatCache = 13,
BatadvCmdGetMcastFlags = 14,
BatadvCmdSetMesh = 15,
BatadvCmdSetHardif = 16,
BatadvCmdGetVlan = 17,
BatadvCmdSetVlan = 18,
}Expand description
BATMAN-adv supported generic netlink commands.
These commands correspond to the BATMAN-adv netlink operations
defined in linux/uapi/batman_adv.h.
Variants§
BatadvCmdUnspec = 0
Unspecified / no operation.
BatadvCmdGetMeshInfo = 1
Get information about the mesh interface.
BatadvCmdTpMeter = 2
Start a throughput measurement (TP meter).
BatadvCmdTpMeterCancel = 3
Cancel an ongoing throughput measurement.
BatadvCmdGetRoutingAlgos = 4
Get available routing algorithms.
BatadvCmdGetHardif = 5
Get hard interface (physical interface) information.
BatadvCmdGetTranstableLocal = 6
Get the local translation table (local clients).
BatadvCmdGetTranstableGlobal = 7
Get the global translation table (originators from other nodes).
BatadvCmdGetOriginators = 8
Get originator nodes.
BatadvCmdGetNeighbors = 9
Get neighboring nodes.
BatadvCmdGetGateways = 10
Get gateway information.
BatadvCmdGetBlaClaim = 11
Get B.A.T.M.A.N. Loop Avoidance claims.
BatadvCmdGetBlaBackbone = 12
Get B.A.T.M.A.N. Loop Avoidance backbone status.
BatadvCmdGetDatCache = 13
Get datagram cache information.
BatadvCmdGetMcastFlags = 14
Get multicast flags.
BatadvCmdSetMesh = 15
Set mesh interface parameters.
BatadvCmdSetHardif = 16
Set hard interface parameters.
BatadvCmdGetVlan = 17
Get VLAN settings.
BatadvCmdSetVlan = 18
Set VLAN settings.