OS Manuals

libnvmf_traddr_is_numeric-libnvme3(2)

libnvmf_traddr_is_numeric - Would this address survive TID construction?

libnvmf_traddr_is_numeric(9) libnvme API manual libnvmf_traddr_is_numeric(9)

libnvmf_traddr_is_numeric - Would this address survive TID construction?

bool libnvmf_traddr_is_numeric (const char *traddr );

A candidate traddr/host_traddr, or NULL.

The TID constructors accept a numeric IP only and reject a hostname; this lets a caller check a candidate address -- and decide whether it must resolve it first -- before building the TID, using the same definition of "numeric" the constructors use internally (including an IPv6 scope suffix, which is numeric).

true if traddr is a numeric address, false otherwise (including a NULL traddr or an allocation failure while checking).

libnvmf_traddr_is_numeric October 2026

nvme-cli 3.2-r0 · os · ingested 2026-10-31