netlbl_mgmt_listall(9)
β¨ NAME β¨
netlbl_mgmt_listall β bestie, this is the one that handles a LISTALL message π
(yes, from netlbl_mgmt_listall(9), the kernel API manual, mwah)
πΈ SYNOPSIS πΈ
int netlbl_mgmt_listall (struct sk_buff *skb , struct netlink_callback *cb );
π ARGUMENTS π
skbβ the NETLINK buffer, aka the little carrier pigeon doing all the actual delivering ποΈcbβ the NETLINK callback, the lil function that gets to come along for the ride π
π DESCRIPTION π
Okay so here's the tea β: this function processes a user generated LISTALL message and dumps the domain hash table in a form suitable for use in a kernel generated LISTALL message. It's giving "you asked for the whole list, so here's the whole list" energy, no cap π«Ά
Return value vibes:
- Returns zero on success β slay
- Returns negative values on failure π not slay
and that's literally the whole contract, fr fr β no hidden plot twists, but also no extra behaviour promised, so don't go inventing any π
π¦ SEE ALSO π¦
The kernel file is over here, in case you wanna read the source like the main character you are: ./net/netlabel/netlabel_mgmt.c
And the whole friend group that comes with it π:
netlbl_mgmt_add_common(9)netlbl_mgmt_listentry(9)netlbl_mgmt_add(9)netlbl_mgmt_remove(9)netlbl_mgmt_listall_cb(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)
okay that's the page!! π huge shoutout to ./net/netlabel for being the source and to October 2026 for the timestamp, and if you ever need to find this again it lives under the name netlbl_mgmt_listall(9) β go off, bestie, ily, bye!! πβ¨π¦
π¦ 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