libnvme(9)

πŸ“¦ version 3.2, in arch rolling

okay so bestie, you’re looking at libnvme(9), and today’s main character is enum nvmf_trtype ✨ no cap.

πŸ’– NAME πŸ’–

enum nvmf_trtype β€” these are the Transport Type codes for the TRTYPE field in a Discovery Log Page entry. That’s the whole assignment, and it ate. πŸ’…


✨ SYNOPSIS ✨

the enum is set up like this, literally:

       enum nvmf_trtype {
           NVMF_TRTYPE_UNSPECIFIED ,
           NVMF_TRTYPE_RDMA ,
           NVMF_TRTYPE_FC ,
           NVMF_TRTYPE_TCP ,
           NVMF_TRTYPE_LOOP ,
           NVMF_TRTYPE_MAX

       };

πŸŽ€ Constants πŸŽ€

okay now the constants one by one β€” every single one is here, bestie, no skips:

  • NVMF_TRTYPE_UNSPECIFIED β€” not indicated. That’s it, that’s the vibe. 🫢
  • NVMF_TRTYPE_RDMA β€” RDMA. Slay. πŸ”₯
  • NVMF_TRTYPE_FC β€” Fibre Channel. Iconic. 🌸
  • NVMF_TRTYPE_TCP β€” TCP. Periodt. πŸ’…
  • NVMF_TRTYPE_LOOP β€” Intra-host Transport (i.e., loopback), reserved for host usage β€” exactly that, no cap. πŸŒ€
  • NVMF_TRTYPE_MAX β€” Maximum value for enum nvmf_trtype, fr fr. It’s the ceiling. πŸ‘‘

xoxo, from the libnvme(9) manual, October 2026 edition πŸ’–βœ¨

πŸ“¦ where this page comes from