cipso_v4_doi_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– cipso_v4_doi_add(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual πŸŽ€ β€” this one is a whole function from the CIPSO corner of the kernel, and honestly? she's iconic. let's get into it ✨


🌸 NAME 🌸

cipso_v4_doi_add β€” add a brand new DOI to the CIPSO protocol engine πŸ’… (yes, that's literally her whole job, and she ate)


πŸ¦‹ SYNOPSIS πŸ¦‹

int cipso_v4_doi_add (struct cipso_v4_doi *doi_def , struct netlbl_audit *audit_info );

✨ ARGUMENTS ✨

  • doi_def β€” the DOI structure, aka the thing you're bringing into the world 🍼
  • audit_info β€” the NetLabel audit information, the receipts basically 🧾

πŸ’œ DESCRIPTION πŸ’œ

so here's the vibe: the caller defines a new DOI for the CIPSO engine to use, and then calls this function to add it to the list of acceptable domains. that's it, that's the whole personality 🫢

but listen β€” the caller must make sure that the mapping table specified in doi_def->map meets all of the requirements of the mapping type (peep cipso_ipv4.h for the details, iykyk πŸ‘€). like, you are responsible for that, not her. she's just the adder.

returns zero on success and non-zero on failure. slay βœ… / not slay ❌, very simple.


πŸ”₯ SEE ALSO πŸ”₯

kernel file: ./net/ipv4/cipso_ipv4.c πŸ“

and here's the whole friend group, no cap, every single one of them:


ok that's the whole page bestie, go forth and add ur DOIs responsibly πŸŒˆπŸ’–

mwah πŸ’‹ this page came to you from the kernel docs at ./net/ipv4, dated October 2026, and she's still out here serving cipso_v4_doi_add(9) β€” periodt βœ¨πŸ‘‘

πŸ“¦ where this page comes from