netlbl_cfg_unlbl_static_del(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… netlbl_cfg_unlbl_static_del β€” the Kernel API Manual glow-up ✨

Okay so bestie, this is the man page for netlbl_cfg_unlbl_static_del, straight outta the Kernel API Manual. It's giving "niche kernel networking function that deletes a thing," and honestly? We're obsessed. Let's get into it 🫢


🌸 NAME 🌸

netlbl_cfg_unlbl_static_del β€” Removes an existing static label. Periodt, that's the whole gig πŸ’…


✨ SYNOPSIS ✨

Here's the whole vibe in code form, bestie:

int netlbl_cfg_unlbl_static_del (struct net *net , const char *dev_name
, const void *addr , const void *mask , u16 family , struct netlbl_audit
*audit_info );

Look at all those parameters. Main character energy fr fr πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

Every arg gets its moment, no cap:

  • net β€” the network namespace you're working inside. Your little networking bubble 🌐
  • dev_name β€” the interface name. Like, which network interface are we talking about here πŸ‘€
  • addr β€” the IP address, and it's in network byte order (that's a struct in[6]_addr, iykyk) πŸ“¬
  • mask β€” the address mask, also in network byte order (again, struct in[6]_addr β€” consistency is iconic) 🎭
  • family β€” the address family. The u16 that tells everyone what kind of address we're dealing with πŸ’«
  • audit_info β€” NetLabel audit information. For the receipts, literally πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the tea β˜• β€” this function removes an existing NetLabel static label that gets used when protocol-provided labels are not present on incoming traffic. It's the cleanup crew, the delete button, the "bye bestie" of static labels πŸ’€

Real talk though: if dev_name is NULL, then the default interface will be used. Easy. Lowkey convenient, ngl 🧚

And the return situation? Returns 0 (zero) on success β€” slay πŸŽ‰ β€” and negative values on failure. So if you get a negative number back, something went wrong and you should probably look into that πŸ™ˆ


πŸ’œ SEE ALSO πŸ’œ

Okay this list is LONG, so buckle up. We got the whole NetLabel extended family here, and they all showed up to the group chat:

That's the whole squad, and they all ate πŸ’…βœ¨


⚠️ Quick vibe check bestie: this is a kernel API function. Don't go calling it from userspace and expecting a cute little error β€” it's for kernel code only. K? Thanks 🫢

And that's the page! Cute little sign-off: this was pulled from ./net/netlabel, dated October 2026, and it's the netlbl_cfg_unlbl_static_del(9) manual page. You're welcome, bestie, go forth and delete those static labels πŸ’–πŸŒΈβœ¨

πŸ“¦ where this page comes from