libnvme(2)

✨ NAME ✨

ok so this is libnvme(2), the API manual bestie πŸ’– β€” and today's main character is enum nvmf_addr_family, aka the Address Family codes that go in the ADRFAM field of a Discovery Log Page entry. yes that's the whole vibe. she's a small enum but she's important.


🌸 SYNOPSIS 🌸

enum nvmf_addr_family {
    NVMF_ADDR_FAMILY_PCI ,
    NVMF_ADDR_FAMILY_IP4 ,
    NVMF_ADDR_FAMILY_IP6 ,
    NVMF_ADDR_FAMILY_IB ,
    NVMF_ADDR_FAMILY_FC ,
    NVMF_ADDR_FAMILY_LOOP

};

like, look at her. six little constants just vibing in a curly brace jail πŸŽ€


πŸ¦‹ Constants πŸ¦‹

ok so here's the lineup, one by one, no skips, we do not leave the group chat on read:

  • NVMF_ADDR_FAMILY_PCI β€” it's PCIe, babe. that's the whole thing. very demure, very PCIe πŸ’…
  • NVMF_ADDR_FAMILY_IP4 β€” this one's AF_INET, i.e. the IPv4 address family. the classic. the OG. the one your router still believes in 🫢
  • NVMF_ADDR_FAMILY_IP6 β€” and this is AF_INET6, the IPv6 address family. longer addresses, bigger slay, still going strong ✨
  • NVMF_ADDR_FAMILY_IB β€” AF_IB, the InfiniBand address family. yes the fancy fabric one. she's giving data-center main character energy fr fr πŸ”₯
  • NVMF_ADDR_FAMILY_FC β€” the Fibre Channel address family. yes it's spelled Fibre. no we will not be fixing it. iconic behavior πŸ‘‘
  • NVMF_ADDR_FAMILY_LOOP β€” Intra-host Transport (aka loopback), and heads up bestie, this one is reserved for host usage β€” so it's not for just anyone to go grabbing, iykyk πŸ™ˆ

no cap: that's literally all six, nothing hidden, nothing cut, we kept every single one πŸ’€

ok and that's the page!! this was enum nvmf_addr_family out of the libnvme(2) API Manual, dated July 2026 β€” mwah, go forth and address your families correctly, ily, bye πŸ§šπŸ’œ

πŸ“¦ where this page comes from