STRUCT BATADV_ELP_PACKET(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct batadv_elp_packet(9) πŸ¦‹

okay bestie so you're reading the Kernel API Manual and this page is literally all about struct batadv_elp_packet β€” the elp (neighbor discovery) packet ✨ ngl it's a whole vibe, small but iconic.


🌸 NAME 🌸

struct batadv_elp_packet β€” elp (neighbor discovery) packet πŸ’…


✨ SYNOPSIS ✨

here's the whole glow-up, no changes, copy-pasted with love:

struct batadv_elp_packet {
    __u8 packet_type;
    __u8 version;
    __u8 orig[ETH_ALEN];
    __be32 seqno;
    __be32 elp_interval;
};

she's compact, she's cute, she's five fields of pure main character energy πŸŽ€


πŸ‘‘ Members πŸ‘‘

okay so let's meet the cast, fr fr:

  • packet_type β€” batman-adv packet type, part of the general header. it's giving "hello, i am a packet" 🫢
  • version β€” batman-adv protocol version, part of the general header. gotta know what era we're in πŸ’–
  • orig β€” originator mac address. the who-is-this of it all πŸ¦‹
  • seqno β€” sequence number. it's a counter, it counts, it slays πŸ”₯
  • elp_interval β€” currently used ELP sending interval in ms. timing is everything, periodt ⏱️

πŸ’œ SEE ALSO πŸ’œ

can't just mention one, she brought her whole friend group 😭 (kernel file ./include/uapi/linux/batadv_packet.h and all these besties):

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

like, that's a full group chat and everyone's invited πŸ’€βœ¨


and that's a wrap, bestie πŸŽ€ this lil gem lives in ./include/uapi/linux, dated October 2026, and it's literally iconic β€” go forth and vibe check those packets πŸŒˆπŸ’–

πŸ“¦ where this page comes from