netlbl_af4list_audit_addr(9)
π 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βtrueif this is a source address,falseif 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:
netlbl_af4list_search(9)netlbl_af4list_search_exact(9)netlbl_af6list_search(9)netlbl_af6list_search_exact(9)netlbl_af4list_add(9)netlbl_af6list_add(9)netlbl_af4list_remove_entry(9)netlbl_af4list_remove(9)netlbl_af6list_remove_entry(9)netlbl_af6list_remove(9)netlbl_af6list_audit_addr(9)
the af6 girlies said "we're here too" and honestly? slay π
π lowkey reminder:srcis anintin 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
- 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