---
name: "libnvme_mi_open_mctp-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvme_mi_open_mctp-libnvme3"
---

# 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.
