---
name: "nvme_init_manage_export_nvms_receive_list_ports-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/nvme_init_manage_export_nvms_receive_list_ports-libnvme3"
---

# nvme\_init\_manage\_export\_nvms\_receive\_list\_ports-libnvme3(2)

Initialize passthru command for Manage Exported NVM Subsystem Receive - List Exported Ports (memory-based transports only)

## NAME

nvme\_init\_manage\_export\_nvms\_receive\_list\_ports - Initialize passthru command for Manage Exported NVM Subsystem Receive - List Exported Ports (memory-based transports only)

## SYNOPSIS

**void nvme\_init\_manage\_export\_nvms\_receive\_list\_ports** **(struct libnvme\_passthru\_cmd \*cmd** *,* **\_\_u16 epid** *,* **struct nvme\_exported\_port\_list \*list** *,* **\_\_u32 len** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- epid

  Return Exported Ports with an Exported Port Identifier greater than or equal to this value

- list

  User address to store the Exported Ports List data structure, see *struct nvme\_exported\_port\_list*

- len

  The allocated length of *list*

## DESCRIPTION

Initializes the passthru command buffer for the Manage Exported NVM Subsystem Receive command with SEL value NVME\_MANAGE\_EXPORT\_NVMS\_RECV\_SEL\_LIST\_PORTS.
