calipso_doi_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– calipso_doi_add(9) πŸ’–

okay so welcome to the Kernel API Manual bestie, we're doing CALIPSO kernel stuff today and honestly? it's giving main character energy ✨


🌸 NAME 🌸

calipso_doi_add β€” literally the function that adds a brand new DOI to the CALIPSO protocol engine πŸŽ€


✨ SYNOPSIS ✨

int calipso_doi_add (struct calipso_doi *doi_def , struct netlbl_audit
*audit_info );

yeah it's a two-arg situation, we love a compact signature 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • doi_def β€” the DOI structure itself, the actual star of the show πŸ‘‘
  • audit_info β€” the NetLabel audit information, because receipts matter πŸ’…

🌈 DESCRIPTION 🌈

so here's the vibe: the caller defines a new DOI for the CALIPSO engine to use, then calls this function to add it to the list of acceptable domains. that's the whole job πŸ”₯

⚠️ okay important, no cap: the caller must ensure that the mapping table specified in doi_def->map meets all of the requirements of the mapping type β€” see calipso.h for the details. that's on you, not on this function, fr fr πŸ’€

returns zero on success and non-zero on failure. that's it, that's the whole return contract πŸ“


πŸ’œ SEE ALSO πŸ’œ

kernel file ./net/netlabel/netlabel_calipso.c β€” go read it, iykyk πŸ“–


that's the whole page bestie, you ate that πŸ’… oh and for the record β€” this one lives in ./net/netlabel, dated October 2026, and it's calipso_doi_add(9), mwah πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from