rtnl_unregister(9)
π rtnl_unregister(9) β a Kernel API Manual moment
okay so bestie, we're in the kernel API manual, and today's main character is rtnl_unregister(9) β yes it's giving short-and-sweet but it's important, so pay attention π
β¨ NAME β¨
rtnl_unregister β unregister a rtnetlink message type π¦
πΈ SYNOPSIS πΈ
int rtnl_unregister (int protocol , int msgtype );
like literally that's the whole signature, no cap π
π ARGUMENTS π
protocolβ the protocol family, orPF_UNSPEC(that's the "no specific family, i'm built different" option β¨)msgtypeβ the rtnetlink message type π«Ά
π₯ DESCRIPTION π₯
so here's the tea: this one returns 0 on success, or a negative error code if it didn't slay π that's it, that's the whole vibe check. short function, big energy π
ngl there's nothing else in the description β no hidden lore, no extra caveats, just success = 0, failure = negative. periodt π
π§ SEE ALSO π§
- Kernel file
./net/core/rtnetlink.c rtnl_nets_add(9)rtnl_unregister_all(9)__rtnl_register_many(9)rtnl_link_register(9)rtnl_link_unregister(9)rtnl_af_register(9)rtnl_af_unregister(9)rtnl_get_net_ns_capable(9)ndo_dflt_fdb_dump(9)
all of these are your little friend group, go say hi π
and that's a wrap bestie π this lil gem lives in ./net/core and the manual says October 2026 β so mark your calendar, the future is now πβ¨ go forth and unregister responsibly, ily π«Άπ
π¦ 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