calipso_opt_update(9)
π NAME π
okay so this is calipso_opt_update(9) from the Kernel API Manual, and the name is doing exactly what it says, bestie: calipso_opt_update β replaces socket's hop options with a new set β¨
π SYNOPSIS π
int calipso_opt_update (struct sock *sk , struct ipv6_opt_hdr *hop );
πΈ ARGUMENTS πΈ
skβ the socket. literally the socket in question πhopβ new hop options. the fresh hop-options set, no cap.
π¦ DESCRIPTION π¦
okay so the actual tea: calipso_opt_update replaces sk's hop options with hop. that's the whole function, fr fr.
and yes β hop may be NULL to leave the socket with no hop options. so if you want the socket sitting there with zero hop options, NULL is your girl π«Ά
π₯ SEE ALSO π₯
Kernel file ./net/ipv6/calipso.c β plus the whole calipso bestie list, iykyk:
calipso_cache_entry_free(9)calipso_map_cache_hash(9)calipso_cache_init(9)calipso_cache_invalidate(9)calipso_cache_check(9)calipso_cache_add(9)calipso_doi_search(9)calipso_doi_add(9)calipso_doi_free(9)calipso_doi_free_rcu(9)calipso_doi_remove(9)calipso_doi_getdef(9)calipso_doi_putdef(9)calipso_doi_walk(9)calipso_validate(9)calipso_map_cat_hton(9)calipso_map_cat_ntoh(9)calipso_pad_write(9)calipso_genopt(9)calipso_tlv_len(9)calipso_opt_find(9)calipso_opt_insert(9)calipso_opt_del(9)calipso_opt_getattr(9)calipso_sock_getattr(9)calipso_sock_setattr(9)calipso_sock_delattr(9)calipso_req_setattr(9)calipso_req_delattr(9)calipso_skbuff_optptr(9)calipso_skbuff_setattr(9)calipso_skbuff_delattr(9)calipso_init(9)
xoxo from the calipso_opt_update(9) page, sourced from ./net/ipv6, dated October 2026 π«Άπβ¨
π¦ 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