---
name: "nvme_mi_open_mctp"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_mi_open_mctp"
---

# nvme\_mi\_open\_mctp(2)

Create an endpoint using a MCTP connection.

## NAME

nvme\_mi\_open\_mctp - Create an endpoint using a MCTP connection.

## SYNOPSIS

**nvme\_mi\_ep\_t nvme\_mi\_open\_mctp** **(nvme\_root\_t root** *,* **unsigned int netid** *,* **uint8\_t eid** *);*

## ARGUMENTS

- root

  root object to create under

- 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 *nvme\_mi\_close*

## RETURN

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