batadv_dat_...ng_arp_reply(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to the batadv_dat_...ng_arp_reply(9) page from the Kernel API Manual, bestie πŸ’… this one is short and spicy, and the function is literally batadv_dat_snoop_incoming_arp_reply β€” it snoops the ARP reply and fills the local DAT storage only. that's the whole vibe. periodt. πŸŽ€

✨ SYNOPSIS ✨

the signature is giving:

bool batadv_dat_snoop_incoming_arp_reply (struct batadv_priv *bat_priv ,
struct sk_buff *skb , int hdr_size );

πŸŽ€ ARGUMENTS πŸŽ€

  • bat_priv β€” the bat priv with all the mesh interface information. it's the main character struct here 🫢
  • skb β€” packet to check. yes bestie, inspect it. πŸ‘€
  • hdr_size β€” size of the encapsulation header. lowkey important. ✨

🌸 DESCRIPTION 🌸

🚨 Warning: this function may reallocate the skb data buffer via batadv_dat_get_vid/.... Any pointer into the skb data (e.g. obtained from skb->data or eth_hdr) before this call must be considered invalid afterwards and has to be reacquired.

literally do not trust the old pointer after this call, bestie β€” it's giving expired πŸ’€ reacquire it, fr fr.

πŸ”₯ RETURN πŸ”₯

this function returns true if the packet was snooped and consumed by DAT. it returns false if the packet has to be delivered to the interface. simple, iconic, no notes 😌

πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ this page comes from source/version ./net/batman-adv, dated October 2026, and it's titled batadv_dat_...ng_arp_reply(9). periodt. πŸŽ€

πŸ“¦ where this page comes from