cipso_v4_doi_search(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cipso_v4_doi_search β€” it's in the kernel API manual (section 9), bestie πŸŽ€

Okay so picture this: you're deep in cipso_v4_doi_search(9) and you just need to find one specific DOI definition. That's literally the whole vibe. Let's go ✨


✨ NAME ✨

cipso_v4_doi_search β€” searches for a DOI definition πŸ”πŸ’–


🌸 SYNOPSIS 🌸

struct cipso_v4_doi * cipso_v4_doi_search (u32 doi );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • doi β€” the DOI you're searching for, bestie. That's it, that's the argument 🫢

πŸ’œ DESCRIPTION πŸ’œ

So what this does: it searches the DOI definition list for a DOI definition whose DOI value matches doi. Simple, iconic, does exactly what it says on the tin πŸ‘‘

Now the part you cannot skip, no cap: the caller is responsible for calling rcu_read_[un]lock. That's on you, not on this function. Don't come for me, come for your own locking discipline πŸ˜­πŸ”’

It returns a pointer to the DOI definition on success, and NULL on failure. Slay πŸŽ€


🌈 SEE ALSO 🌈

Kernel file ./net/ipv4/cipso_ipv4.c β€” plus the whole friend group:


ngl that's a lot of cross-references, but every single one is here so you're covered, fr fr πŸ’€πŸ’–

Okay bestie, that's the whole page 🧚✨ Source lives in ./net/ipv4, and this little gem is dated October 2026 β€” go forth and search those DOIs responsibly, mwah πŸ’…πŸ‘‘πŸ“

πŸ“¦ where this page comes from