batadv_recv_unicast_tvlv(9)
πΈ batadv_recv_unicast_tvlv(9) πΈ
okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is a little function called batadv_recv_unicast_tvlv β yes that's a mouthful, yes it's iconic, no we're not shortening it. π
β¨ NAME β¨
batadv_recv_unicast_tvlv β receive and process unicast tvlv packets. that's it, that's the whole vibe. it catches them, it handles them, it serves. π
β¨ SYNOPSIS β¨
int batadv_recv_unicast_tvlv (struct sk_buff *skb , struct
batadv_hard_iface *recv_if );
like literally the whole signature, no notes. it takes two things and gives you back an int. periodt. π
β¨ ARGUMENTS β¨
skbβ the unicast tvlv packet we're about to process. this is the little guy we're here for, the whole reason the function exists, the guest of honor. π«Άrecv_ifβ a pointer to the interface this packet was received on. so like, where it came from. important context, ngl. π₯
β¨ RETURN β¨
gives you NET_RX_SUCCESS on success, or NET_RX_DROP in case of failure.
so like β success or drop, there is no in between, no "it went okay-ish", the function does not do situationships. π
β¨ SEE ALSO β¨
the connected universe, fr fr. also the kernel file ./net/batman-adv/routing.c is in the mix. every single one of these, no cap: π
_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_check_unicast_ttvn(9)batadv_recv_unhandled_unicast_packet(9)batadv_recv_unicast_packet(9)batadv_recv_frag_packet(9)batadv_recv_bcast_packet(9)batadv_recv_mcast_packet(9)
like a whole friend group of routing functions, and they all ate. π
and that's the page, bestie!! π this little love letter lives in ./net/batman-adv and it's dated October 2026 β mwah, go read some more kernel docs, you're doing amazing sweetie π¦β¨π
π¦ 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