udp_tunnel_nic_reset_ntf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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