batadv_check_unicast_ttvn(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ batadv_check_unicast_ttvn(9) ✨

okay bestie, this is the Kernel API Manual entry for batadv_check_unicast_ttvn(9) β€” yes the manual name is right there, we are thriving πŸ’…

🌸 NAME 🌸

batadv_check_unicast_ttvn β€” check and adjust the TTVN of a unicast packet.

πŸ¦‹ SYNOPSIS πŸ¦‹

bool batadv_check_unicast_ttvn (struct batadv_priv *bat_priv , struct
       sk_buff *skb , int hdr_len );

πŸŽ€ ARGUMENTS πŸŽ€

  • bat_priv β€” the bat priv with all the mesh interface information.
  • skb β€” the unicast packet to check.
  • hdr_len β€” length of the unicast header preceding the payload.

πŸ’– DESCRIPTION πŸ’–

⚠️ Warning: This function may reallocate the skb data buffer via pskb_may_pull/batadv_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.

so fr fr, do not clutch onto an old pointer after this call β€” it is giving expired, bestie 😭 reacquire it or perish.

πŸ”₯ RETURN πŸ”₯

Returns true if the packet may be processed further, and false if it has to be dropped by the caller. periodt. πŸ’…

🌈 SEE ALSO 🌈

The original points you at Kernel file ./net/batman-adv/routing.c and this whole (9) crew:


xoxo, your fav Unix bestie πŸ’– β€” source/version: ./net/batman-adv Β· date: October 2026

πŸ“¦ where this page comes from