libnvme(9)
π
libnvme(9) β okay bestie, let's talk struct nvmf_auth_kxchap_success1
So this is an API Manual page from libnvme(9), and today's main character is a struct with the longest name ever: struct nvmf_auth_kxchap_success1. It's the KX-HMAC-CHAP_Success1 message, controller to host β like, the controller is sliding into the host's DMs to say "auth went great β¨". No cap, that's the whole vibe.
πΈ NAME πΈ
struct nvmf_auth_kxchap_success1 β the KX-HMAC-CHAP_Success1 message, controller to host. That's it, that's the name, she's iconic and she's long π
β¨ SYNOPSIS β¨
Here's the whole struct, copied exactly, because we do not edit the source in this house:
struct nvmf_auth_kxchap_success1 {
__u8 auth_type;
__u8 auth_id;
__u16 rsvd2;
__le16 t_id;
__u8 hl;
__u8 rsvd7;
__u8 rvalid;
__u8 rsvd9[7];
__u8 rval[];
};
Lowkey a lil' field trip through every member, so let's go π
π¦ Members π¦
Okay so, field by field, no skipping, I promise π«Ά
auth_typeβ the Authentication Type, and for the full deets you gotta seeenum nvmf_auth_protocol_id. She's the "which protocol are we even doing" girlie.auth_idβ the Authentication Identifier, explained over inenum nvmf_auth_kxchap_id. Basically her ID badge π³rsvd2β Reserved. Don't touch, don't look at her too long, she's just vibing in the background πt_idβ the Transaction Identifier. Gotta know which transaction we're in, iykyk.hlβ Hash Length: literally the length, in bytes, of the selected hash function. Numbers matter bestie, this is not vibes-only πrsvd7β Reserved. Another reserved queen, leave her be πrvalidβ Response Valid: it's01hifrvalcarries a valid Response Value (that means bidirectional authentication was requested), and00hotherwise. So like, a little boolean with big feelings βrsvd9β Reserved. Yep. Again. Reserved squad stays winning πrvalβ the Response Value (R2,hlbytes), and it gets cleared to0hifrvalidis00h. Important!! No stale response values allowed, we clear that out π§Ή
Real talk:rsvd2,rsvd7, andrsvd9are Reserved β treat them as such. That's a technical caveat, not a suggestion, and I'm saying it clearly so nobody comes for me π
π the sign-off π
That's the whole page, bestie β struct fully covered, every field accounted for, nothing skipped, periodt. This beauty comes from the API Manual and is dated October 2026 (yes, we're ahead of schedule, time is a construct π°οΈ). Go forth and authenticate bidirectionally π¦β¨π
π¦ 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