skb_tunnel_rx(9)
π skb_tunnel_rx(9) β Kernel API Manual π
okay so bestie, this is the skb_tunnel_rx(9) page from the Kernel API Manual, and we are keeping every single detail, no cap β¨
π NAME π
skb_tunnel_rx β prepare skb for rx reinsert. that's the whole vibe, periodt π
β¨ SYNOPSIS β¨
the signature, character for character:
void skb_tunnel_rx (struct sk_buff *skb , struct net_device *dev ,
struct net *net );
πΈ ARGUMENTS πΈ
skbβ buffer. literally the buffer, bestie π«Άdevβ tunnel device. the tunnel device in question πnetβnetnsfor packet i/o. yes, the netns for packet i/o π
π¦ DESCRIPTION π¦
so after decapsulation, the packet is gonna re-enter our stack through netif_rx β that's the reinsert moment. so this function makes some cleanups and performs accounting. iconic cleanup-and-accounting behavior, ngl π§β¨
π NOTE π
π¨ bestie, important: this accounting is not SMP safe. like, do not treat it as SMP-safe, fr fr π
π SEE ALSO π
go peek at the kernel file ./include/net/dst.h and these absolute icons: skb_dst_drop(9), dst_hold_safe(9), skb_dst_force(9), __skb_tunnel_rx(9). iykyk ππ¦
mwah π β source/version: ./include/net, date: October 2026, that's the sign-off bestie π«Ά
π¦ 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