Reference

libnvme_mi_open_mctp-libnvme3(2)

Create an endpoint using a MCTP connection.

NAME

libnvme_mi_open_mctp - Create an endpoint using a MCTP connection.

SYNOPSIS

struct libnvme_mi_ep * libnvme_mi_open_mctp (struct libnvme_global_ctx *ctx , unsigned int netid , uint8_t eid );

ARGUMENTS

ctx

struct libnvme_global_ctx object

netid

MCTP network ID on this system

eid

MCTP endpoint ID

DESCRIPTION

Transport-specific endpoint initialization for MI-connected endpoints. Once an endpoint is created, the rest of the API is transport-independent.

See libnvme_mi_close

RETURN

New endpoint object for netid & eid, or NULL on failure.