Scroll to navigation

nvme_ctrl_config_match(9) libnvme API manual nvme_ctrl_config_match(9)

NAME

nvme_ctrl_config_match - Check if ctrl @c matches config params

SYNOPSIS

bool nvme_ctrl_config_match (struct nvme_ctrl *c , const char *transport , const char *traddr , const char *trsvcid , const char *subsysnqn , const char *host_traddr , const char *host_iface );

ARGUMENTS

An existing controller instance
Transport name
Transport address
Transport service identifier
Subsystem NQN
Host transport address
Host interface name

DESCRIPTION

Check that controller c matches parameters: transport, traddr, trsvcid, subsysnqn, host_traddr, and host_iface. Parameters set to NULL will be ignored.

RETURN

true if there's a match, false otherwise.

nvme_ctrl_config_match February 2024