pub struct TransglobalEntry {
pub client: MacAddr6,
pub orig: MacAddr6,
pub vid: u16,
pub ttvn: u8,
pub last_ttvn: u8,
pub flags: ClientFlags,
pub crc32: u32,
pub is_best: bool,
}Expand description
A single entry in the batman-adv transglobal table (TT).
The transglobal table contains information about clients known across the entire mesh network, including the client’s MAC address, the originator node, and the route state.
Fields§
§client: MacAddr6MAC address of the client.
Corresponds to BATADV_ATTR_TT_ADDRESS.
orig: MacAddr6MAC address of the originator announcing this client.
Corresponds to BATADV_ATTR_ORIG_ADDRESS.
vid: u16VLAN ID associated with this client.
Corresponds to BATADV_ATTR_TT_VID.
ttvn: u8Transglobal table version used for this client.
Corresponds to BATADV_ATTR_TT_TTVN.
last_ttvn: u8Last known transglobal table version.
Corresponds to BATADV_ATTR_TT_LAST_TTVN.
flags: ClientFlagsFlags associated with the client, wrapped in ClientFlags.
Corresponds to BATADV_ATTR_TT_FLAGS.
crc32: u32CRC32 checksum for this entry.
Corresponds to BATADV_ATTR_TT_CRC32.
is_best: boolIndicates if this route is considered the best route to this client.
Corresponds to BATADV_ATTR_FLAG_BEST.
Trait Implementations§
Source§impl Clone for TransglobalEntry
impl Clone for TransglobalEntry
Source§fn clone(&self) -> TransglobalEntry
fn clone(&self) -> TransglobalEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more