cipso_v4_skbuff_delattr(9)
π cipso_v4_skbuff_delattr β the kernel API manual, bestie edition β¨
okay so this is the man page for cipso_v4_skbuff_delattr(9) from the Kernel API Manual. it's a tiny little function with one job and honestly? it does it. let's get into it π«Ά
πΈ NAME πΈ
cipso_v4_skbuff_delattr β Delete any CIPSO options from a packet
that's it. that's the whole personality. it deletes CIPSO options off a packet. icon behavior, no notes π
β¨ SYNOPSIS β¨
int cipso_v4_skbuff_delattr (struct sk_buff *skb );
yes bestie, that's the whole signature. an int coming back at you and one struct sk_buff * going in. clean. minimal. slay.
π ARGUMENTS π
skbβ the packet. the actual packet. the one and only thing you hand over. it's giving "just one parameter, main character energy" π
π DESCRIPTION π
so what does it do? it removes any and all CIPSO options from the given packet. any. and all. both. at the same time. not me being obsessed with how thorough that is π
and then it tells you how it went:
- returns zero on success π
- returns negative values on failure π
that's the whole contract, no cap. if you get 0, you're golden. if you get something negative, something went sideways and that's your cue to go look at it.
ngl this one is a "fire and forget" situation β the man page doesn't elaborate on which negative values mean what, so don't go inventing meaning. 0 = good, negative = not good. periodt.
π¦ SEE ALSO π¦
everything below lives in the kernel file ./net/ipv4/cipso_ipv4.c, and honestly it's a whole friend group. here's the full roll call, nobody gets left out π
- cache squad:
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) - doi crew:
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) - level mapping:
cipso_v4_map_lvl_valid(9),cipso_v4_map_lvl_hton(9),cipso_v4_map_lvl_ntoh(9) - rbm category mapping:
cipso_v4_map_cat_rbm_valid(9),cipso_v4_map_cat_rbm_hton(9),cipso_v4_map_cat_rbm_ntoh(9) - enum category mapping:
cipso_v4_map_cat_enum_valid(9),cipso_v4_map_cat_enum_hton(9),cipso_v4_map_cat_enum_ntoh(9) - rng category mapping:
cipso_v4_map_cat_rng_valid(9),cipso_v4_map_cat_rng_hton(9),cipso_v4_map_cat_rng_ntoh(9) - tag generators & parsers:
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) - utility besties:
cipso_v4_optptr(9),cipso_v4_validate(9),cipso_v4_error(9),cipso_v4_genopt(9) - socket & request setattr/delattr/getattr:
cipso_v4_sock_setattr(9),cipso_v4_req_setattr(9),cipso_v4_delopt(9),cipso_v4_sock_delattr(9),cipso_v4_req_delattr(9),cipso_v4_getattr(9),cipso_v4_sock_getattr(9) - skbuff setattr (the sibling!!):
cipso_v4_skbuff_setattr(9) - and the finale:
cipso_v4_init(9)
iykyk π₯
π the cute sign-off π
this lil page comes from the source path ./net/ipv4 and it's dated October 2026 β so yeah, future vibes, we stay ahead of the curve π§ββοΈ and that header up top? cipso_v4_skbuff_delattr(9) in the Kernel API Manual, obviously. okay love u bye, go delete some CIPSO options πππ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms