libnvmf_context_set_config(9) libnvme API manual NAME libnvmf_context_set_config - Set the configuration for discovery SYNOPSIS void libnvmf_context_set_config (struct libnvmf_context *fctx , const struct libnvmf_config *config , const struct libnvmf_config_conn *conn ); ARGUMENTS fctx Fabrics context of a discovery controller config Resolved configuration, or NULL conn Connection of the discovery controller in config DESCRIPTION libnvmf_discover connects to the controllers in the discovery log page. With a configuration, a controller gets the KX-HMAC-CHAP secrets of the [Subsystem] or [Discovery Controller] section with its NQN. The section must be in the same file as conn. If no section sets the host secret, the controller uses the host secret of the discovery controller. This is also what happens without a configuration. The controller secret comes only from a section. The caller keeps ownership of config and conn. They must stay valid until libnvmf_discover returns. October 2026 libnvmf_context_set_config libnvmf_context_set_config(9)