cipso_v4_map_cat_enum_valid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

cipso_v4_map_cat_enum_valid β€” checks to see if the categories are valid. This is the cipso_v4_map_cat_enum_valid(9) page from the Kernel API Manual, and bestie, it’s giving β€œcategory vibe check” energy. πŸ’…

🌸 SYNOPSIS 🌸

int cipso_v4_map_cat_enum_valid (const struct cipso_v4_doi *doi_def ,
const unsigned char *enumcat , u32 enumcat_len );

πŸŽ€ ARGUMENTS πŸŽ€

  • doi_def β€” the DOI definition πŸ’–
  • enumcat β€” category list ✨
  • enumcat_len β€” length of the category list in bytes πŸŽ€

πŸ’… DESCRIPTION πŸ’…

Okay so this one checks the given categories against the given DOI definition. It returns a negative value if any of the categories do not have a valid mapping, and a zero value if all of the categories are valid. No cap, that’s the whole plot. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./net/ipv4/cipso_ipv4.c β€” and the whole function friend group:


Source/version and date, straight from the footer: ./net/ipv4 Β· October 2026 Β· cipso_v4_map_cat_enum_valid(9). Bye bestie, go validate those categories responsibly. πŸ’–βœ¨

πŸ“¦ where this page comes from