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

# libnvmf\_config\_conn\_for\_each-libnvme3(2)

iterate over the resolved connections.

## NAME

libnvmf\_config\_conn\_for\_each - iterate over the resolved connections.

## SYNOPSIS

**void libnvmf\_config\_conn\_for\_each** **(const struct libnvmf\_config \*config** *,* **void (\*callback)(const struct libnvmf\_config\_conn \*conn, void \*user\_data)** *,* **void \*user\_data** *);*

## ARGUMENTS

- config

  the resolved configuration

- callback

  called once per connection, in file order (main file first, then the drop-ins in sorted order)

- user\_data

  caller context passed to *callback*
