diff options
Diffstat (limited to '')
-rw-r--r-- | fabrics.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -2,6 +2,16 @@ #ifndef _FABRICS_H #define _FABRICS_H +struct tr_config { + const char *subsysnqn; + const char *transport; + const char *traddr; + const char *host_traddr; + const char *host_iface; + const char *trsvcid; +}; + +extern nvme_ctrl_t lookup_ctrl(nvme_root_t r, struct tr_config *trcfg); extern int nvmf_discover(const char *desc, int argc, char **argv, bool connect); extern int nvmf_connect(const char *desc, int argc, char **argv); extern int nvmf_disconnect(const char *desc, int argc, char **argv); |