calipso_req_setattr(9)
π calipso_req_setattr(9) π
okay bestie, this is the calipso_req_setattr(9) page from the Kernel API Manual, and it's lowkey iconic because it's all about adding a CALIPSO option to a connection request socket. let's get into it π«Ά
πΈ NAME πΈ
calipso_req_setattr β add a CALIPSO option to a connection request socket. periodt.
β¨ SYNOPSIS β¨
int calipso_req_setattr (struct request_sock *req , const struct
calipso_doi *doi_def , const struct netlbl_lsm_secattr *secattr );
π ARGUMENTS π
reqβ the connection request socket, no cap.doi_defβ the CALIPSO DOI to use, bestie.secattrβ the specific security attributes of the socket. incredibly specific, we love that.
π DESCRIPTION π
okay so the whole vibe here is: this function sets the CALIPSO option on the given socket, using the DOI definition and the security attributes that got passed to the function. that's the main character energy. β¨
it returns zero on success β slay β and negative values on failure. so like, zero is the good one, negative is the "oop" one. π
π SEE ALSO π
kernel file first, because we respect the source: ./net/netlabel/netlabel_calipso.c
then these besties, all listed exactly as they are:
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_delattr(9)calipso_optptr(9)calipso_getattr(9)calipso_skbuff_setattr(9)calipso_skbuff_delattr(9)calipso_cache_invalidate(9)calipso_cache_add(9)
okay bye bestie π the source/version stamp is ./net/netlabel, the date is October 2026, and yes this is the calipso_req_setattr(9) manual β periodt. π«Ά
π¦ 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