ENUM BATADV_SUBTYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum batadv_subtype(9) β€” the Kernel API Manual page, bestie ✨

okay so this is a page from the Kernel API Manual (called enum batadv_subtype(9), iykyk) and it's literally just a lil enum that holds the packet subtype for unicast4addr. that's it. that's the whole vibe. no plot twist, no cap πŸ’–


🌸 NAME 🌸

enum batadv_subtype β€” the packet subtype for unicast4addr, bestie πŸŽ€


✨ SYNOPSIS ✨

enum batadv_subtype {
    BATADV_P_DATA ,
    BATADV_P_DAT_DHT_GET ,
    BATADV_P_DAT_DHT_PUT ,
    BATADV_P_DAT_CACHE_REPLY

};

πŸ¦‹ Constants πŸ¦‹

these are the four constants and yes we're going through every single one because nobody gets left behind on my watch πŸ’…

  • BATADV_P_DATA β€” the user payload πŸ’Œ like the actual data, the whole reason we're here, main character energy fr
  • BATADV_P_DAT_DHT_GET β€” a DHT request message πŸ‘€ it's asking for something, polite little guy
  • BATADV_P_DAT_DHT_PUT β€” a DHT store message 🫢 the putting-it-away counterpart, slay
  • BATADV_P_DAT_CACHE_REPLY β€” an ARP reply generated by DAT 🌈 iconic behavior honestly

πŸ‘‘ SEE ALSO πŸ‘‘

okay this section is LONG long, so buckle up bestie β€” all of these live in the kernel file ./include/uapi/linux/batadv_packet.h πŸ“
  • batadv_tp_is_error(9)
  • enum batadv_packettype(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_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)

and that's the whole page, periodt πŸ’€βœ¨

cute lil sign-off before you go: this whole thing ships out of ./include/uapi/linux and it's dated October 2026 πŸ§šπŸ’œ go forth and read your packet headers, bestie πŸŽ€

πŸ“¦ where this page comes from