STRUCT RTNL_NEWLINK_PARAMS(9)
π NAME π
okay bestie, welcome to the Kernel API Manual β¨ β this is the struct rtnl_newlink_params(9) page, and it's all about struct rtnl_newlink_params, aka the parameters of rtnl_link_ops::newlink(). no cap, that's the whole name vibe. π«Ά
π¦ SYNOPSIS π¦
here's the struct, copied exactly because we do not mess with source code, periodt:
struct rtnl_newlink_params {
struct net *src_net;
struct net *link_net;
struct net *peer_net;
struct nlattr **tb;
struct nlattr **data;
};
π Members π
okay, member-by-member vibe check:
src_netβ the source netns of the rtnetlink socket. literally that. π«link_netβ the link netns byIFLA_LINK_NETNSID; it'sNULLif not specified. πpeer_netβ the peer netns. short and iconic. πtbβ theIFLA_*attributes. all theIFLA_*bestie. πdataβ theIFLA_INFO_DATAattributes. yep, that exact one. π
π SEE ALSO π
go peek at these, iykyk:
- Kernel file
./include/net/rtnetlink.h struct rtnl_msg_handler(9)struct rtnl_link_ops(9)struct rtnl_af_ops(9)
bestie reminder: every one of those references is in the original, so don't skip them. πβ¨
mwah π β source/version vibe: ./include/net, date: October 2026; that's the cute little footer moment, and now you're all caught up. slay. π
π¦ 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