libnvme_ctrl_get_src_addr-libnvme3(2)

libnvme_ctrl_get_src_addr-libnvme32

Extract src_addr from the c->address string

Usage

char * libnvme_ctrl_get_src_addr (struct libnvme_ctrl *c , char *src_addr , size_t src_addr_len );

Arguments

c

Controller instance

src_addr

Where to copy the src_addr. Size must be at least INET6_ADDRSTRLEN.

src_addr_len

Length of the buffer src_addr.

Return

Pointer to src_addr on success. NULL on failure to extract the src_addr.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.