netlbl_unlab...taticlistdef(9)
π NAME π
netlbl_unlabel_staticlistdef β okay so this is the handler for a STATICLISTDEF message, and yes bestie it's exactly as niche and iconic as it sounds β¨
So like, quick vibe check: this page is from the Kernel API Manual, and it's giving "deep in the netlabel guts, doing the quiet work" energy. Not me being obsessed with a kernel function but here we are π«Ά
β¨ SYNOPSIS β¨
int netlbl_unlabel_staticlistdef (struct sk_buff *skb , struct netlink_callback *cb );
Yeah that's the whole signature, no cap. Returns an int, takes two pointers, slays π
π ARGUMENTS π
skbβ literally theNETLINKbuffer. That's it. That's the arg. The data lives here πΈcbβ theNETLINKcallback. Also exactly what it says on the tin, no extra lore π
π¦ DESCRIPTION π¦
So what actually happens here: it processes a user generated STATICLISTDEF message, and then dumps the default unlabeled connection entry β but not in some random messy format, bestie, it formats it "in a form suitable for use in a kernel generated STATICLISTDEF message" π
And what does it return? The length of skb. Periodt. That's the return value, that's the whole story.
π SEE ALSO π
So first of all, the kernel file it lives in β go look, it's right there:
./net/netlabel/netlabel_unlabeled.c
And now the whole friend group, the full squad, every single one of them, no skips π§:
netlbl_unlhsh_free_iface(9)netlbl_unlhsh_hash(9)netlbl_unlhsh_search_iface(9)netlbl_unlhsh_add_addr4(9)netlbl_unlhsh_add_addr6(9)netlbl_unlhsh_add_iface(9)netlbl_unlhsh_add(9)netlbl_unlhsh_remove_addr4(9)netlbl_unlhsh_remove_addr6(9)netlbl_unlhsh_condremove_iface(9)netlbl_unlhsh_remove(9)netlbl_unlhsh_netdev_handler(9)netlbl_unlabel_acceptflg_set(9)netlbl_unlabel_addrinfo_get(9)netlbl_unlabel_accept(9)netlbl_unlabel_list(9)netlbl_unlabel_staticadd(9)netlbl_unlabel_staticadddef(9)netlbl_unlabel_staticremove(9)netlbl_unlabel_staticremovedef(9)netlbl_unlabel_staticlist_gen(9)netlbl_unlabel_staticlist(9)netlbl_unlabel_genl_init(9)netlbl_unlabel_init(9)netlbl_unlabel_getattr(9)netlbl_unlabel_defconf(9)
okay that's the whole page, you ate it, i'm so proud of you ππ
Sign-off time, and it's a cute one: this beauty comes from ./net/netlabel, dated October 2026, and the manual name is netlbl_unlab...taticlistdef(9) β yeah the header abbreviates it, that's just how the kernel rolls π go forth and staticlistdef responsibly, iykyk ππ
π¦ 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