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'sAF_INET, i.e. the IPv4 address family. the classic. the OG. the one your router still believes in π«ΆNVMF_ADDR_FAMILY_IP6β and this isAF_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
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms