---
name: "ibnd_iter_nodes"
section: "3"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/ibnd_iter_nodes"
---

# ibnd\_iter\_nodes(3)

given a fabric object and a function itterate over the nodes in the fabric.

## NAME

ibnd\_iter\_nodes, ibnd\_iter\_nodes\_type - given a fabric object and a function itterate over the nodes in the fabric.

## SYNOPSIS

```
#include <infiniband/ibnetdisc.h>

void ibnd_iter_nodes(ibnd_fabric_t *fabric, ibnd_iter_func_t func, void *user_data)
void ibnd_iter_nodes_type(ibnd_fabric_t *fabric, ibnd_iter_func_t func, ibnd_node_type_t type, void *user_data)
```

## DESCRIPTION

**ibnd\_iter\_nodes()** Itterate through all the nodes in the fabric and call "func" on them. **ibnd\_iter\_nodes\_type()** The same as ibnd\_iter\_nodes except to limit the iteration to the nodes with the specified type.

## RETURN VALUE

**ibnd\_iter\_nodes(), ibnd\_iter\_nodes\_type()** NONE

## AUTHORS

- Ira Weiny \<weiny2@llnl.gov\>
