netlbl_af4list_search_exact(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ”₯

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