batadv_recv...ttl_exceeded(9)
π batadv_recv...ttl_exceeded(9) β like, the Kernel API Manual page, bestie β¨
okay so you found the Kernel API Manual page for batadv_recv...ttl_exceeded(9) and honestly? iconic of you. sit down, grab a strawberry π, and let's get into it.
π NAME π
batadv_recv_icmp_ttl_exceeded β handles an ICMP packet that literally hit TTL 0 π (yes, it expired, rip)
π¦ SYNOPSIS π¦
int batadv_recv_icmp_ttl_exceeded (struct batadv_priv *bat_priv , struct
sk_buff *skb );
that's the whole signature, no cap. it takes two things and gives you back an int.
πΈ ARGUMENTS πΈ
bat_privβ the bat priv that's holding all the mesh interface information, she's the main character here πskbβ the ICMP packet whose TTL has expired π (gone, but not forgotten)
β¨ DESCRIPTION β¨
so here's the vibe: for traceroute-style ICMP echo requests, this function sends a TTL exceeded reply right back to the source. it's giving "you tried, here's your receipt" π«Ά
other ICMP types? simply dropped. not today. π
π₯ RETURN π₯
NET_RX_SUCCESSβ if the reply was queued, slay πNET_RX_DROPβ otherwise, it's a no from me
π SEE ALSO π
highkey the whole friend group, fr fr:
Kernel file ./net/batman-adv/routing.c
_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_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_check_unicast_ttvn(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)
ok that's the whole page bestie, go read the source now, iykyk π§ββοΈ
mwah π β this cutie came from ./net/batman-adv, dated October 2026, and she's filed under batadv_recv...ttl_exceeded(9). periodt. π
π¦ 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