calipso_doi_add(9)
π 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 indoi_def->mapmeets all of the requirements of the mapping type β seecalipso.hfor 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 π
netlbl_calipso_ops_register(9)netlbl_calipso_add_pass(9)netlbl_calipso_add(9)netlbl_calipso_list(9)netlbl_calipso_listall_cb(9)netlbl_calipso_listall(9)netlbl_calipso_remove_cb(9)netlbl_calipso_remove(9)netlbl_calipso_genl_init(9)calipso_doi_free(9)calipso_doi_remove(9)calipso_doi_getdef(9)calipso_doi_putdef(9)calipso_doi_walk(9)calipso_sock_getattr(9)calipso_sock_setattr(9)calipso_sock_delattr(9)calipso_req_setattr(9)calipso_req_delattr(9)calipso_optptr(9)calipso_getattr(9)calipso_skbuff_setattr(9)calipso_skbuff_delattr(9)calipso_cache_invalidate(9)calipso_cache_add(9)
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
- 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