netlbl_mgmt_add(9)
π netlbl_mgmt_add β Handle an ADD message β¨
okay so this is a <cyan>Kernel API Manual</cyan> page, section 9 of the manual, and bestie we are talking about netlbl_mgmt_add π«Ά. She lives over in ./net/netlabel and honestly? icon behavior.
β¨ SYNOPSIS β¨
int netlbl_mgmt_add (struct sk_buff *skb , struct genl_info *info );
like, that's the whole signature, no cap π
π ARGUMENTS π
skbβ the NETLINK buffer πΈ like that's the actual data package arriving, main character energy frinfoβ the Generic NETLINK info block π¦ the little metadata bestie that comes along for the ride
π DESCRIPTION π
so what she does: she processes a user generated ADD message, and then she adds the domains from that message into the hash table π₯ that's the whole vibe.
for the tea on what the message format actually looks like, check netlabel.h β it's all documented there, iykyk π
and the return situation? zero on success, negative values on failure. periodt. no in-between, no surprises π
π SEE ALSO π
Kernel file ./net/netlabel/netlabel_mgmt.c plus the whole friend group π:
netlbl_mgmt_add_common(9)netlbl_mgmt_listentry(9)netlbl_mgmt_remove(9)netlbl_mgmt_listall_cb(9)netlbl_mgmt_listall(9)netlbl_mgmt_adddef(9)netlbl_mgmt_removedef(9)netlbl_mgmt_listdef(9)netlbl_mgmt_protocols_cb(9)netlbl_mgmt_protocols(9)netlbl_mgmt_version(9)netlbl_mgmt_genl_init(9)
and that's the page bestie π sign-off time: this one's from ./net/netlabel, dated October 2026, and you can cite her as netlbl_mgmt_add(9) whenever you need to be iconic in a footnote π
β¨π«Ά
π¦ 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