calipso_optptr(9)
β¨ NAME β¨
calipso_optptr β find the CALIPSO option in the packet πΈ
okay so this is a section 9 kernel API page (yes the manual name is Kernel API Manual, iykyk π§) and it's literally just one little lookup helper. let's get into it π
π¦ SYNOPSIS π¦
unsigned char * calipso_optptr (const struct sk_buff *skb );
π ARGUMENTS π
skbβ the packet π that's it, that's the whole argument list, bestie
π DESCRIPTION π
so here's the vibe: calipso_optptr parses the packet's IP header, looking for a CALIPSO option π
on success it returns a pointer to the start of the CALIPSO option. if one is not found, you get NULL β no option, no pointer, that's the deal π
periodt. that's the entire behaviour, and honestly? iconic for being so simple π
π SEE ALSO π
the kernel file lives right here, go read it bestie:
./net/netlabel/netlabel_calipso.c
and the whole calipso/netlabel family, all of them, in the order they came in β not me listing all 25 of these ππ«Ά
netlbl_calipso_ops_register(9)netlbl_calipso_add_pass(9)netlbl_calipso_add(9)netlbl_calipso_list(9)netlbl_calipso_listall_cb(9)netlbl_calipso_listall(9)netlbl_calipso_remove_cb(9)netlbl_calipso_remove(9)netlbl_calipso_genl_init(9)calipso_doi_add(9)calipso_doi_free(9)calipso_doi_remove(9)calipso_doi_getdef(9)calipso_doi_putdef(9)calipso_doi_walk(9)calipso_sock_getattr(9)calipso_sock_setattr(9)calipso_sock_delattr(9)calipso_req_setattr(9)calipso_req_delattr(9)calipso_getattr(9)calipso_skbuff_setattr(9)calipso_skbuff_delattr(9)calipso_cache_invalidate(9)calipso_cache_add(9)
and that's the page!! π¦ mwah, go find those CALIPSO options bestie π
source/version is ./net/netlabel, dated October 2026 β so this manual page is basically a time capsule from the future, slay β
π¦ 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