calipso_req_setattr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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