libnvme(2)

πŸ’– NAME πŸ’–

struct nbft_info_discovery β€” the Discovery Descriptor, bestie. It's giving "here's where we go find the NVMe discovery controllers" energy. ✨

This is a page from the libnvme API manual, section 2 (yes, that's the dev/API corner of the manual, iykyk).


✨ SYNOPSIS ✨

okay so here's the whole shape of it, no notes, exactly as it is:

struct nbft_info_discovery {
    int index;
    struct nbft_info_security *security;
    struct nbft_info_hfi *hfi;
    char *uri;
    char *nqn;
 };

πŸŽ€ Members πŸŽ€

one bullet per member, we do not skip, we do not abbreviate, we simply slay 🌸

  • index β€” the number of this Discovery Descriptor inside the Discovery Descriptor List. it's literally just its little spot in the lineup πŸ‘‘
  • security β€” a pointer to the Security Profile Descriptor. go see struct nbft_info_security for the deets. 🫢
  • hfi β€” the HFI Descriptor that's associated with this Discovery Descriptor. check out struct nbft_info_hfi for that one. πŸ’…
  • uri β€” a URI that indicates an NVMe Discovery controller associated with this Discovery Descriptor. like, the address of the controller we're trying to find, fr fr. πŸ”₯
  • nqn β€” an NVMe Discovery controller NQN. that's the NVMe Qualified Name, the controller's whole government name. πŸ’œ

lowkey a whole five-field struct and every single one of them matters. do not skip a member, do not guess at a member, that's the vibe check. πŸ¦‹

and that's the page, bestie!! this one came from the libnvme API Manual, dated July 2026 β€” that's the source/version and the date, both accounted for, periodt. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from