batadv_arp_hw_src(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

batadv_arp_hw_src β€” okay so this one literally just extracts the hw_src field out of an ARP packet. That's it. That's the whole job. Slay. ✨


πŸŽ€ SYNOPSIS πŸŽ€

u8 * batadv_arp_hw_src (struct sk_buff *skb , int hdr_size );

🌸 ARGUMENTS 🌸

  • skb β€” bestie, this is the ARP packet itself. The whole little guy. 🫢
  • hdr_size β€” the size of whatever possible header sits before the ARP packet. Like, the preamble. The opening act. Not the packet, the stuff in front of it. πŸ’…

⭐ RETURN ⭐

It hands you back the value of the hw_src field inside the ARP packet. That's the prize. That's what you came for. πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./net/batman-adv/distributed-arp-table.c β€” that's the home base for all this, and it's serving a whole friend group:

Like, that's the entire group chat and every single one of them is invited. No cap. πŸ’€


Okayyy that's the whole page, bestie β€” this gem lives in the Kernel API Manual, comes from source ./net/batman-adv, and it's dated October 2026, filed under batadv_arp_hw_src(9). Go extract that hw_src field, you absolute icon. πŸŒˆπŸ’–

πŸ“¦ where this page comes from