batadv_dat_...ng_arp_reply(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME

batadv_dat_snoop_outgoing_arp_reply β€” okay so it snoops the ARP reply and then fills the DHT. That's the whole vibe. ✨

🫢 SYNOPSIS

void batadv_dat_snoop_outgoing_arp_reply (struct batadv_priv *bat_priv ,
struct sk_buff *skb );

🌸 ARGUMENTS

  • bat_priv β€” the bat priv, bestie. It's carrying all the mesh interface information, like the group chat admin of structs.
  • skb β€” the packet you want checked. Yes, that packet.

πŸŽ€ DESCRIPTION

⚠️ Warning, and I need you to actually read this one: this function may reallocate the skb data buffer via batadv_dat_get_vid/...

So like β€” any pointer into the skb data (for example, one you got from skb->data or eth_hdr) before this call? Consider it invalid afterwards. Literally invalid. You have to reacquire it. No keeping stale pointers, that's not the move. πŸ’€

πŸ’œ SEE ALSO

Kernel file ./net/batman-adv/distributed-arp-table.c β€” and the whole friend group:


Okay that's the whole page, go reacquire your pointers and slay πŸ’…βœ¨ Source/version: ./net/batman-adv β€” dated October 2026 β€” and this iconic entry is batadv_dat_...ng_arp_reply(9). Periodt. πŸ‘‘πŸ¦‹

πŸ“¦ where this page comes from