batadv_check_unicast_ttvn(9)
β¨ 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 theskbdata buffer viapskb_may_pull/batadv_get_vid/... Any pointer into theskbdata (e.g. obtained fromskb->dataoreth_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:
_batadv_update_route(9)batadv_update_route(9)batadv_window_protected(9)batadv_check_management_packet(9)batadv_skb_decrement_ttl(9)batadv_recv_my_icmp_packet(9)batadv_recv_icmp_ttl_exceeded(9)batadv_recv_icmp_packet(9)batadv_check_unicast_packet(9)batadv_last_bonding_get(9)batadv_last_bonding_replace(9)batadv_find_router(9)batadv_route_unicast_packet(9)batadv_reroute_unicast_packet(9)batadv_recv_unhandled_unicast_packet(9)batadv_recv_unicast_packet(9)batadv_recv_unicast_tvlv(9)batadv_recv_frag_packet(9)batadv_recv_bcast_packet(9)batadv_recv_mcast_packet(9)
xoxo, your fav Unix bestie π β source/version: ./net/batman-adv Β· date: October 2026
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms