udp_tunnel_nic_reset_ntf(9)
πΈ udp_tunnel_nic_reset_ntf(9) β the Kernel API Manual moment πΈ
okay so bestie, welcome to the Kernel API Manual page for udp_tunnel_nic_reset_ntf β literally the "hey girl, the device reset and everything's gone" notification β¨
β¨ NAME β¨
udp_tunnel_nic_reset_ntf β device-originating reset notification π
π¦ SYNOPSIS π¦
void udp_tunnel_nic_reset_ntf (struct net_device *dev );
π ARGUMENTS π
devβ the network interface device structure, aka the whole entire vibe of the NIC you're talking about π«Ά
π DESCRIPTION π
So here's the tea: the driver calls this function to inform the core that the entire UDP tunnel port state has been lost π β usually because the device got reset, which, yeah, rip to all those ports honestly.
The core will then assume the device forgot all the ports and will issue the .set_port and .sync_table callbacks as necessary to get everything back in order. slay, core is on it π
β οΈ important caveat bestie, do NOT skip this: this function must be called with the rtnl lock held, and it will issue all the callbacks before returning. no cap, that part matters π
π SEE ALSO π
- Kernel file
./include/net/udp_tunnel.hπ struct udp_tunnel_nic_info(9)π¦
and that's the whole page, periodt π
this little cutie lives in ./include/net, version October 2026 β mwah, go forth and reset those tunnels responsibly π§π
π¦ 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