libnvme(9)
π NAME π
okay so bestie, welcome to libnvme(9) β the API Manual page for struct nvme_ave_access_request, aka the KX-HMAC-CHAP_Access-Request PDU. This is the PDU an NVMe entity (host or controller) sends to an AVE over the AVE's TLS connection. It's giving very specific PDU energy, and this struct has main character energy fr fr. π«Ά
β¨ SYNOPSIS β¨
Here's the exact shape of it, bestie β do not freestyle the fields:
struct nvme_ave_access_request {
__u8 pdu_type;
__u8 flags;
__u8 hlen;
__u8 pdo;
__le32 plen;
__le64 id;
__u8 hl;
__u8 hashid;
__le16 t_id;
__u8 sc_c;
__u8 respr;
__u8 nqnrlen;
__u8 rsvd23;
__le32 seqnum;
__u8 acv_respv_nqnr[];
};
πΈ Members πΈ
Time for the member-by-member vibe check. Nothing gets skipped, periodt:
pdu_typeβ PDU Type, seeenum nvme_ave_pdu_type. iconic little type field.flagsβ Reserved. hands off, bestie.hlenβ Header Length: fixed length of8bytes (08h). lowkey crucial.pdoβ PDU Data Offset, reserved. reserved means leave it alone.plenβ PDU Length: total length of the PDU in bytes.idβ Identifier used to match this PDU with the correspondingstruct nvme_ave_access_resultPDU. matching energy.hlβ Hash Length: length in bytes of the selected hash function.hashidβ Hash Identifier, seeenum libnvmf_hmac_alg.t_idβ Transaction Identifier.sc_cβ Secure Channel Concatenation, seeenum nvmf_auth_sc_c.resprβ Responder's Role:'H'(48h) if host,'C'(43h) if controller. the role field is literally spelling it out.nqnrlenβ NQN Responder Length: length in bytes ofacv_respv_nqnr's NQNR component.rsvd23β Reserved. another reserved one, don't touch.seqnumβ Sequence Number (S).acv_respv_nqnrβ Augmented Challenge Value (Ca,hlbytes), followed by the Response Value (R,hlbytes), followed by the NQN of the Responder (NQNR,nqnrlenbytes). the way this one field is carrying three whole components β obsessed.
okay that's the whole struct, every member accounted for, no skips and no invented extras. mwah π
Signed off with struct nvme_ave_access_request energy, from libnvme(9), dated October 2026 β slay. π
π¦ 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