nvme_init_auth_send(9)
π nvme_init_auth_send(9) β the libnvme API manual, but make it cute
okay bestie, welcome to the nvme_init_auth_send(9) page β yes that's the section 9, we're in kernel/API land now, put your hair up π this one's from the libnvme API manual and it's literally about prepping a passthru command so you can send auth stuff. iconic behaviour honestly.
β¨ NAME β¨
nvme_init_auth_send β initialize the passthru command for the Authentication Send command π«Ά
πΈ SYNOPSIS πΈ
void nvme_init_auth_send (struct libnvme_passthru_cmd *cmd , __u16 spsp
, __u8 secp , __u32 tl , void *data , __u32 len );
π¦ ARGUMENTS π¦
cmdβ the passthru command you're gonna use, like, this is the thing getting filled in πspspβ the Security Protocol Specific field, that's your__u16bestiesecpβ the Security Protocol, a lil__u8guytlβ the protocol specific transfer length (__u32, no cap)dataβ the authentication message payload buffer you're sending out π¨lenβ the data length of that payload, in bytes, fr fr
π DESCRIPTION π
so what this does is it initializes the passthru command buffer for the Fabrics Authentication Send command β¨ which is the one you use to send a KX-HMAC-CHAP authentication message (like, for example, struct nvmf_auth_kxchap_reply) to a controller. yes, to a controller. main character energy π
and the vibe check on this one: it's an NVMe-over-Fabrics specific command β like, it's not out here doing its own thing, it reuses the SECP/SPSP0/SPSP1/TL field encoding of the Security Send command π so if you know Security Send, you already kinda know this. iykyk π
lowkey important: it'svoid, so don't go looking for a return value, she gives you nothing back except a nicely initializedcmd. periodt.
and that's the whole page, bestie β no skipped bits, no crumbs left behind π
sign-off szn π this was nvme_init_auth_send(9) from the libnvme API manual, dated October 2026 β mwah, go slay your auth messages πβ¨
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms