netlbl_af6list_search_exact(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– netlbl_af6list_search_exact β€” like, the search for an EXACT IPv6 address entry πŸ’–

okay so bestie, this is a page straight out of the Kernel API Manual (yes, the kernel has a manual, and yes it's kind of iconic), and today's main character is netlbl_af6list_search_exact. no cap, it does exactly one thing and it does it slayfully. let's get into it 🫢


✨ NAME ✨

netlbl_af6list_search_exact β€” Search for an exact IPv6 address entry 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

struct netlbl_af6list * netlbl_af6list_search_exact (const struct
in6_addr *addr , const struct in6_addr *mask , struct list_head *head );

like, that's the whole signature, copy-pasted with love πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • addr β€” the IPv6 address, the literal address of the situation πŸ‘‘
  • mask β€” the IPv6 address mask, its ride-or-die πŸ’œ
  • head β€” the list head, aka where the whole list starts, the main character energy of the data structure 🌟

πŸ’€ DESCRIPTION πŸ’€

so basically it searches the IPv6 address list given by head. πŸ” if an exact match is found, it gets returned β€” like, "here's your entry, bestie" 🎁 β€” otherwise NULL is returned, which is the kernel's way of saying "sorry babe, nothing here" 😭.

⚠️ real talk though: the caller is responsible for calling the rcu_read_[un]lock functions. that's on YOU, not on this function. do not skip it, fr fr, the RCU lock is not a vibe you can just ignore πŸ™ˆ

🌈 SEE ALSO 🌈

like, the whole friend group, honestly 🫢✨


aaaand that's the page!! this one's brought to you by ./net/netlabel, version-dated October 2026 β€” so like, future vibes but make it kernel πŸ¦‹πŸ’– slay, go implement responsibly, mwah πŸ’…πŸŽ€

πŸ“¦ where this page comes from