netlbl_unla...aticlist_gen(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the netlbl_unlhsh_walk_arg structure, 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 πŸ’–:


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