netlbl_af4list_audit_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– netlbl_af4list_audit_addr(9) πŸ’–

okay so bestie, we're in the Kernel API Manual today and this page is literally all about netlbl_af4list_audit_addr β€” yes that's a mouthful, yes it's iconic, no we're not shortening it πŸ’…


✨ NAME ✨

netlbl_af4list_audit_addr β€” Audit an IPv4 address πŸ¦‹

like, it takes an IPv4 address and puts it in the audit log. that's the whole vibe. periodt.


🌸 SYNOPSIS 🌸

void netlbl_af4list_audit_addr (struct audit_buffer *audit_buf , int src
, const char *dev , __be32 addr , __be32 mask );

copy that exactly, bestie, don't be out here retyping it from memory 😭


πŸŽ€ ARGUMENTS πŸŽ€

  • audit_buf β€” the audit buffer. it's giving "the place where the tea gets written down" β˜•
  • src β€” true if this is a source address, false if it's a destination. iykyk πŸ‘‘
  • dev β€” the network interface. like, which one of your lil network girlies this is about 🌈
  • addr β€” the IP address itself. main character energy fr fr ⭐
  • mask β€” the IP address mask 🎭

πŸ¦‹ DESCRIPTION πŸ¦‹

Write the IPv4 address and address mask, if necessary, to audit_buf.

that "if necessary" is doing a lot of heavy lifting ngl β€” it's in the original, I'm not making it up, don't come for me πŸ™ˆ


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./net/netlabel/netlabel_addrlist.c β€” and also, the whole friend group:

the af6 girlies said "we're here too" and honestly? slay πŸ’œ


πŸ’€ lowkey reminder: src is an int in the signature but the docs say true/false β€” that's exactly how it's written up there, so keep it that way, bestie. no cap.

✨ cute lil sign-off ✨

this page is from ./net/netlabel, dated October 2026 β€” so like, she's from the future, obviously πŸ’– keep her safe, cite her right, and go audit those IPv4 addresses, bestie 🫢🌸

πŸ“¦ where this page comes from