STRUCT BATADV_UNICAST_TVLV_PACKET(9)
๐ NAME ๐
Okay bestie, welcome to the Kernel API Manual page for struct batadv_unicast_tvlv_packet(9) โ sheโs literally the blueprint for a generic unicast packet with tvlv payload. No cap. ๐
โจ SYNOPSIS โจ
struct batadv_unicast_tvlv_packet {
__u8 packet_type;
__u8 version;
__u8 ttl;
__u8 reserved;
__u8 dst[ETH_ALEN];
__u8 src[ETH_ALEN];
__be16 tvlv_len;
__u16 align;
};
๐ฆ Members ๐ฆ
packet_typeโ batman-adv packet type, part of the general header. ๐ฐ๏ธversionโ batman-adv protocol version, part of the general header. ๐ขttlโ time to live for this packet, part of the general header. โณreservedโ reserved field (for packet alignment). ๐งทdstโ address of the destination. ๐ฌsrcโ address of the source. ๐ฎtvlv_lenโ length of tvlv data following the unicast tvlv header. ๐alignโ 2 bytes to align the header to a 4 byte boundary. ๐ง
๐ SEE ALSO ๐
Kernel file ./include/uapi/linux/batadv_packet.h is the main-character file to peek at, and then thereโs this whole iconic friend group:
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_tvlv_hdr(9)struct batadv_tvlv_gateway_data(9)struct batadv_tvlv_tt_vlan_data(9)struct batadv_tvlv_tt_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)
And thatโs the tea ๐: this page is stamped with source/version ./include/uapi/linux and date October 2026, so go be iconic with your tvlv payload, bestie. ๐โจ
๐ฆ 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