STRUCT BATADV_UNICAST_4ADDR_PACKET(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct batadv_unicast_4addr_packet(9) β€” extended unicast packet πŸ’–

okay so first things first, bestie: this is a page from the Kernel API Manual, and it's all about one little struct, struct batadv_unicast_4addr_packet. She's giving extended unicast packet energy and honestly? iconic. πŸ¦‹


✨ NAME ✨

struct batadv_unicast_4addr_packet β€” the extended unicast packet. that's her. that's the whole vibe. πŸ’…


🌸 SYNOPSIS 🌸

here's the glow-up in full, no cap, copy it exactly:

struct batadv_unicast_4addr_packet {
    struct batadv_unicast_packet u;
    __u8 src[ETH_ALEN];
    __u8 subtype;
    __u8 reserved;
 };

like look at her. four fields. main character energy from top to bottom. πŸ”₯


πŸŽ€ Members πŸŽ€

breaking it down field by field, because you deserve to know:

  • u β€” the common unicast packet header. she's the blueprint, the og, the foundation. everything else is just accessorizing. πŸ‘‘
  • src β€” address of the source. literally who sent this. the ETH_ALEN-length receipts. πŸ“¬
  • subtype β€” packet subtype. she's got layers, okay? there's a whole taxonomy happening here. iykyk. πŸ’«
  • reserved β€” reserved byte for alignment. not me defending a whole byte just so everything lines up pretty 😭 but fr fr, alignment is self-care. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

okay this is the part where the friend group shows up. literally the whole squad, all defined around ./include/uapi/linux/batadv_packet.h (that's the Kernel file btw):

  • 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_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_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)

like, thirty-plus siblings and cousins. a whole family reunion in batadv_packet.h. 🌈


ngl bestie, go read the neighbors too β€” the struct never travels alone. πŸ’œ

and that's the page!! mwah πŸ’‹ straight from ./include/uapi/linux, dated October 2026, filed forever under struct batad...4addr_packet(9). periodt. 🧚✨

πŸ“¦ where this page comes from