netlbl_domhsh_remove_af6(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

netlbl_domhsh_remove_af6 β€” bestie, this one Removes an address selector entry. That's it, that's the whole vibe. And yeah, it lives in the Kernel API Manual, section 9, iykyk 🧚


✨ SYNOPSIS ✨

int netlbl_domhsh_remove_af6 (const char *domain , const struct in6_addr
       *addr , const struct in6_addr *mask , struct netlbl_audit *audit_info );

okay so it returns an int, takes four args, and the line breaks in the middle of the struct in6_addr declaration are a choice β€” not me, that's just how it's written 🫢 copy it exactly, no cap.


πŸŽ€ ARGUMENTS πŸŽ€

  • domain β€” the domain. just... the domain. that's the whole description. iconic minimalism lowkey πŸ’…
  • addr β€” IPv6 address. yes it's an address. yes it's IPv6. we move 🌈
  • mask β€” IPv6 address mask, the matching bestie to addr πŸ¦‹
  • audit_info β€” NetLabel audit information β€” the receipts, basically, for the audit trail πŸ‘‘

🌸 DESCRIPTION 🌸

So what does it actually do? It removes an individual address selector from a domain mapping, and β€” this is the juicy part β€” it potentially removes the entire mapping if it is empty. like, if the selector was the last one holding the whole thing together? the mapping leaves too. not me getting emotionally attached to a domain mapping 😭

Return value check, because we always do a vibe check on returns: it returns zero on success, and negative values on failure. no cap, that's the contract πŸ’€


πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file this lives in, in all its glory:

  • ./net/netlabel/netlabel_domainhash.c

and the whole friend group, fr fr β€” go read these too:


πŸ’œ okay that's the whole page, you ate that. this one's filed under ./net/netlabel, dated October 2026, and you can find it again under the name netlbl_domhsh_remove_af6(9). slay, bye bestie! πŸŽ€βœ¨
πŸ“¦ where this page comes from