STRUCT BATADV_TVLV_TT_DATA(9)
π¦ struct batadv_tvlv_tt_data(9) π¦
okay so bestie, welcome to the Kernel API Manual β yes we're literally in the kernel docs rn and it's giving very much main character energy π
this page is all about struct batadv_tvlv_tt_data(9), the whole translation-table-data-chilling-inside-a-tvlv situation. buckle up, it's a cute little struct, i promise π
β¨ NAME β¨
struct batadv_tvlv_tt_data β the tt data that gets propagated through the tt tvlv container π«Ά like that's literally what it is, no cap
π SYNOPSIS π
okay so here's the whole struct, and yes you're gonna look at it and go "oh that's it?" β correct, that's it, slay:
struct batadv_tvlv_tt_data {
__u8 flags;
__u8 ttvn;
__be16 num_vlan;
struct batadv_tvlv_tt_vlan_data vlan_data[];
};
π Members π
time for the member-by-member vibe check, one at a time, no skipping π₯
flagsβ the translation table flags β¨ (peepbatadv_tt_data_flagsfor the whole lore, iykyk)ttvnβ the translation table version number, aka the "which version are we on bestie" number π§num_vlanβ how many VLANs are being announced π« and here's the tea: in the TVLV, this struct is followed by onebatadv_tvlv_tt_vlan_dataobject per announced vlan. so like, one per, fr fr πΈvlan_dataβ the array ofbatadv_tvlv_tt_vlan_dataobjects π yes it's an array, yes it's flexible, yes we love her
π SEE ALSO π
so you wanna go deeper? iconic. this struct lives in the kernel file ./include/uapi/linux/batadv_packet.h and here's every single friend in the group chat, keep them exact bestie:
batadv_tp_is_error(9)enum batadv_packettype(9)enum batadv_subtype(9)enum batadv_iv_flags(9)enum batadv_icmp_packettype(9)enum batadv_mcast_flags(9)enum batadv_tt_data_flags(9)enum batadv_vlan_flags(9)enum batadv_bla_claimframe(9)enum batadv_tvlv_type(9)struct batadv_bla_claim_dst(9)struct batadv_ogm_packet(9)struct batadv_ogm2_packet(9)struct batadv_elp_packet(9)struct batadv_icmp_header(9)struct batadv_icmp_packet(9)struct batadv_icmp_tp_packet(9)enum batadv_icmp_tp_subtype(9)struct batadv_icmp_packet_rr(9)struct batadv_unicast_packet(9)struct batadv_unicast_4addr_packet(9)struct batadv_frag_packet(9)struct batadv_bcast_packet(9)struct batadv_mcast_packet(9)struct batadv_coded_packet(9)struct batadv_unicast_tvlv_packet(9)struct batadv_tvlv_hdr(9)struct batadv_tvlv_gateway_data(9)struct batadv_tvlv_tt_vlan_data(9)struct batadv_tvlv_tt_change(9)struct batadv_tvlv_roam_adv(9)struct batadv_tvlv_mcast_data(9)struct batadv_tvlv_mcast_tracker(9)
that's the whole page bestie, you ate that π stay hydrated, read your kernel headers, and remember:
this page came from the manpath./include/uapi/linux, dated October 2026, and it's thestruct batadv_tvlv_tt_data(9)page forever and always π«Άβ¨ bye!! π
π¦ 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