cipso_v4_map_cat_rbm_hton(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cipso_v4_map_cat_rbm_hton(9) πŸ’…

okay bestie, welcome to this Kernel API Manual page for cipso_v4_map_cat_rbm_hton(9). It’s giving β€œhost-to-network category mapping” and honestly the vibe is very specific, but we’re gonna get through it together. 🫢

🌸 NAME 🌸

cipso_v4_map_cat_rbm_hton β€” perform a category mapping from host to network. periodt. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

int cipso_v4_map_cat_rbm_hton (const struct cipso_v4_doi *doi_def , const struct netlbl_lsm_secattr *secattr , unsigned char *net_cat , u32 net_cat_len );

πŸŽ€ ARGUMENTS πŸŽ€

  • doi_def β€” the DOI definition. like, the definition definition, iykyk. πŸŽ€
  • secattr β€” the security attributes.
  • net_cat β€” the zero'd out category bitmap in network/CIPSO format. yes, already zero'd out β€” it’s cleared for takeoff ✨
  • net_cat_len β€” the length of the CIPSO bitmap in bytes.

✨ DESCRIPTION ✨

bestie, this one does a label mapping: it translates a local MLS category bitmap into the correct CIPSO bitmap using the DOI definition you gave it. On success it returns the minimum size in bytes of the network bitmap; otherwise it returns negative values. That’s the contract, fr fr. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./net/ipv4/cipso_ipv4.c plus this whole reference group chat:


🫢 and that’s the page, bestie! footer source/version: ./net/ipv4 Β· date: October 2026 Β· page: cipso_v4_map_cat_rbm_hton(9). bye, love u, don’t forget the zero'd-out bitmap πŸ’–
πŸ“¦ where this page comes from