STRUCT BATADV_BCAST_PACKET(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct batadv_bcast_packet(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for struct batadv_bcast_packet(9) β€” yes it's a real manpage, yes it's a whole struct, yes we're gonna get through it together 🫢


✨ NAME ✨

struct batadv_bcast_packet β€” the broadcast packet for network payload, aka the little guy that carries your broadcast across the mesh 🌸


πŸŽ€ SYNOPSIS πŸŽ€

struct batadv_bcast_packet {
    __u8 packet_type;
    __u8 version;
    __u8 ttl;
    __u8 reserved;
    __be32 seqno;
    __u8 orig[ETH_ALEN];
};

slay, that's the whole shape of it. look at those fields, they're literally so organized πŸ’…


πŸ¦‹ Members πŸ¦‹

  • packet_type β€” the batman-adv packet type, and ngl it's part of the general header, so it's kind of a big deal ✨
  • version β€” the batman-adv protocol version, also part of the general header (we love a consistent header family) πŸ’œ
  • ttl β€” time to live for this packet, and yup, part of the general header too πŸŽ€
  • reserved β€” a reserved byte, there purely for alignment. it's giving background character energy but we respect it πŸ™ˆ
  • seqno β€” sequence identification, so you can tell your packets apart, no cap πŸ”₯
  • orig β€” the originator of the broadcast packet, the main character of this whole thing πŸ‘‘

🌈 SEE ALSO 🌈

so many friends in the same header file, it's a whole squad 🧚

  • Kernel file ./include/uapi/linux/batadv_packet.h
  • 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_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)

okay that's the whole page, you ate that πŸ’– this little corner of the docs lives in ./include/uapi/linux, dated October 2026, and it's filed under struct batadv_bcast_packet(9) β€” go forth and broadcast, bestie πŸ¦‹βœ¨

πŸ“¦ where this page comes from