cipso_v4_parsetag_rbm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ cipso_v4_parsetag_rbm β€” NAME ✨

okay so bestie, this is cipso_v4_parsetag_rbm β€” it parses a CIPSO restricted bitmap tag πŸ’… and this page lives in the Kernel API Manual, so you know it's serious kernel business πŸ‘‘


🌸 SYNOPSIS 🌸

int cipso_v4_parsetag_rbm (const struct cipso_v4_doi *doi_def , const
       unsigned char *tag , struct netlbl_lsm_secattr *secattr );

like, that's the whole signature, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • doi_def β€” the DOI definition πŸ’– literally the definition of the domain of interpretation, okay?
  • tag β€” the CIPSO tag 🏷️ the actual bytes we're looking at
  • secattr β€” the security attributes πŸ” this is where the parsed results go

πŸ’œ DESCRIPTION πŸ’œ

so the way this works is: you hand it a CIPSO restricted bitmap tag (that's tag type #1, iykyk ✨) and it parses that thing and returns the security attributes in secattr πŸŽ€

and the return vibes? it returns zero on success, and negative values on failure 😭 so like, check your return value bestie, fr fr.


🌈 SEE ALSO 🌈

the kernel file is ./net/ipv4/cipso_ipv4.c and honestly the whole friend group is here 🫢 go read these:


πŸ’€ reminder bestie: zero is a slay, negatives are a no πŸ’” check your return values.

and that's the whole page fr β€” brought to you from ./net/ipv4, dated October 2026, page cipso_v4_parsetag_rbm(9) πŸ’– byeee, go parse some tags πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from