cipso_v4_delopt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ cipso_v4_delopt ✨

okay so this is the cipso_v4_delopt(9) page from the Kernel API Manual, and bestie, it is short but it is doing something real πŸ’…


🌸 NAME 🌸

cipso_v4_delopt β€” Delete the CIPSO option from a set of IP options


πŸŽ€ SYNOPSIS πŸŽ€

int cipso_v4_delopt (struct ip_options_rcu __rcu **opt_ptr );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • opt_ptr β€” the IP option pointer, periodt. that's the whole argument, she's lowkey minimal and I respect it 🫢

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea: cipso_v4_delopt deletes the CIPSO IP option from a set of IP options, and then makes all the necessary adjustments to the IP option structure so nothing's left looking a mess. it's giving cleanup crew energy 🧹✨

it returns zero on success, and negative values on failure β€” so like, 0 is the slay, negative is the "oop πŸ™ˆ".


πŸ”₯ SEE ALSO πŸ”₯

the kernel file lives at ./net/ipv4/cipso_ipv4.c, and the whole friend group is here, no cap:

cipso_v4_cache_entry_free(9), cipso_v4_map_cache_hash(9), cipso_v4_cache_init(9), cipso_v4_cache_invalidate(9), cipso_v4_cache_check(9), cipso_v4_cache_add(9), cipso_v4_doi_search(9), cipso_v4_doi_add(9), cipso_v4_doi_free(9), cipso_v4_doi_free_rcu(9), cipso_v4_doi_remove(9), cipso_v4_doi_getdef(9), cipso_v4_doi_putdef(9), cipso_v4_doi_walk(9), cipso_v4_map_lvl_valid(9), cipso_v4_map_lvl_hton(9), cipso_v4_map_lvl_ntoh(9), cipso_v4_map_cat_rbm_valid(9), cipso_v4_map_cat_rbm_hton(9), cipso_v4_map_cat_rbm_ntoh(9), cipso_v4_map_cat_enum_valid(9), cipso_v4_map_cat_enum_hton(9), cipso_v4_map_cat_enum_ntoh(9), cipso_v4_map_cat_rng_valid(9), cipso_v4_map_cat_rng_hton(9), cipso_v4_map_cat_rng_ntoh(9), cipso_v4_gentag_hdr(9), cipso_v4_gentag_rbm(9), cipso_v4_parsetag_rbm(9), cipso_v4_gentag_enum(9), cipso_v4_parsetag_enum(9), cipso_v4_gentag_rng(9), cipso_v4_parsetag_rng(9), cipso_v4_gentag_loc(9), cipso_v4_parsetag_loc(9), cipso_v4_optptr(9), cipso_v4_validate(9), cipso_v4_error(9), cipso_v4_genopt(9), cipso_v4_sock_setattr(9), cipso_v4_req_setattr(9), cipso_v4_sock_delattr(9), cipso_v4_req_delattr(9), cipso_v4_getattr(9), cipso_v4_sock_getattr(9), cipso_v4_skbuff_setattr(9), cipso_v4_skbuff_delattr(9), cipso_v4_init(9)


and that's the whole page, bestie πŸ’œ this one's stamped from ./net/ipv4, version date October 2026 β€” iconic, no notes, mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from