netlbl_af4list_search(9)
π NAME π
okay so bestie, welcome to netlbl_af4list_search(9) β yes, that's the title, and yes, it's from the Kernel API Manual (section 9, iykyk). This one is all about searching for a matching IPv4 address entry β¨π
β¨ SYNOPSIS β¨
struct netlbl_af4list * netlbl_af4list_search (__be32 addr , struct
list_head *head );
π ARGUMENTS π
addrβ the IPv4 address, literally the address you're hunting for π΅οΈββοΈheadβ the list head, aka where the list starts, the main character of this linked-list moment π
π¦ DESCRIPTION π¦
So it searches the IPv4 address list given by head. If a matching address entry is found, it gets returned β slay π
. Otherwise, you get NULL, and that's just how it is π.
heads up, bestie: the caller is responsible for calling the rcu_read_[un]lock functions. no cap, that part is on you π«Ά
π SEE ALSO π
Kernel file ./net/netlabel/netlabel_addrlist.c
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_af4list_audit_addr(9)netlbl_af6list_audit_addr(9)
mwah π this page comes from ./net/netlabel, dated October 2026 β that's the source/version and date sign-off, bestie, not me inventing lore πΈπ
π¦ 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