netlbl_cfg_unlbl_static_del(9)
π 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 astruct 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. Theu16that 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:
- Kernel file
./net/netlabel/netlabel_kapi.cβ the source, the origin story π netlbl_cfg_map_del(9)netlbl_cfg_unlbl_map_add(9)netlbl_cfg_unlbl_static_add(9)β the add counterpart, the sibling, the other half πnetlbl_cfg_cipsov4_add(9)netlbl_cfg_cipsov4_del(9)netlbl_cfg_cipsov4_map_add(9)netlbl_cfg_calipso_add(9)netlbl_cfg_calipso_del(9)netlbl_cfg_calipso_map_add(9)_netlbl_catmap_getnode(9)netlbl_catmap_walk(9)netlbl_catmap_walkrng(9)netlbl_catmap_getlong(9)netlbl_catmap_setbit(9)netlbl_catmap_setrng(9)netlbl_catmap_setlong(9)netlbl_bitmap_walk(9)netlbl_bitmap_setbit(9)netlbl_enabled(9)netlbl_sock_setattr(9)netlbl_sock_delattr(9)netlbl_sock_getattr(9)netlbl_sk_lock_check(9)netlbl_conn_setattr(9)netlbl_req_setattr(9)netlbl_req_delattr(9)netlbl_skbuff_setattr(9)netlbl_skbuff_getattr(9)netlbl_skbuff_err(9)netlbl_cache_invalidate(9)netlbl_cache_add(9)netlbl_audit_start(9)netlbl_init(9)
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
- 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