netlbl_af4list_search_exact(9)
π netlbl_af4list_search_exact π
okay so this is from the Kernel API Manual and it's literally the exact-match girlie of the IPv4 address list world π she's not here to fuzz around, she wants the exact entry, periodt.
β¨ NAME β¨
netlbl_af4list_search_exact β search for an exact IPv4 address entry π
πΈ SYNOPSIS πΈ
struct netlbl_af4list * netlbl_af4list_search_exact (__be32 addr ,
__be32 mask , struct list_head *head );
π¦ ARGUMENTS π¦
addrβ the IPv4 address, bestie. the actual address you're hunting for π―maskβ the IPv4 address mask that goes with it πheadβ the list head, aka where the whole list starts π
π DESCRIPTION π
so she searches the IPv4 address list that you passed in as head β¨ and if an exact match is found, that's what she returns β no cap. if not? you get NULL, and honestly? that's just how it is π
π«Ά real talk though: the caller is responsible for calling the rcu_read_[un]lock functions. that's on you, not her. don't leave her hanging unlocked, i'm begging π
π₯ SEE ALSO π₯
- kernel file
./net/netlabel/netlabel_addrlist.cβ go read the source, iykyk π netlbl_af4list_search(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_af4list_audit_addr(9)netlbl_af6list_audit_addr(9)
the whole friend group fr fr, she's not solo-ing this π
π that's the whole page babes! this one lives in ./net/netlabel, dated October 2026, and it's filed under netlbl_af4list_search_exact(9) β mwah, slay, go call your rcu locks π
β¨
π¦ 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