STRUCT BATADV_UNICAST_4ADDR_PACKET(9)
π 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. theETH_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
- 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