netlbl_unla...aticlist_gen(9)
π netlbl_unlabel_staticlist_gen(9) π
okay so bestie, welcome to the Kernel API Manual β yes we're literally in kernel land today, and yes you're gonna slay it β¨ This one's netlbl_unlabel_staticlist_gen, which lowkey has the longest name ever but it's fine, we ball π
β¨ NAME β¨
netlbl_unlabel_staticlist_gen β the girlie that generates messages for STATICLIST[DEF] π¦ (yes, both of them, she's versatile like that)
πΈ SYNOPSIS πΈ
int netlbl_unlabel_staticlist_gen (u32 cmd , const struct
netlbl_unlhsh_iface *iface , const struct netlbl_unlhsh_addr4 *addr4 ,
const struct netlbl_unlhsh_addr6 *addr6 , void *arg );
π ARGUMENTS π
cmdβ the command/message, iykyk π«ifaceβ the interface entry, she's the main character of this parameter list ngl πaddr4β the IPv4 address entry πaddr6β the IPv6 address entry βargβ thenetlbl_unlhsh_walk_argstructure, just vibing in the background π«Ά
π DESCRIPTION π
so basically, this function is designed to be used to generate a response for a STATICLIST or STATICLISTDEF message. periodt π
here's the important part, bestie, don't miss it π β when you call her, either addr4 or addr6 can be specified, not both. The other, unspecified entry should be set to NULL by the caller. that's the vibe check and you gotta pass it fr fr β¨
Returns the size of the message on success, and negative values on failure π (we love a clear success/failure situation, no cap)
ok but literally remember the NULL thing, because specifying both is not the move π«Ά
π¦ SEE ALSO π¦
Kernel file ./net/netlabel/netlabel_unlabeled.c π
and the whole friend group, all of them, no one left out π:
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(9)netlbl_unlabel_staticlistdef(9)netlbl_unlabel_genl_init(9)netlbl_unlabel_init(9)netlbl_unlabel_getattr(9)netlbl_unlabel_defconf(9)
and that's the whole page, bestie, you ate that π this icon came straight out of ./net/netlabel, dated October 2026 β talk about a future vibe π₯ mwah, go read some more manpages πβ¨
π¦ 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