STRUCT BATADV_UNICAST_TVLV_PACKET(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’– 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