ibnd_iter_nodes(3)

ibnd_iter_nodes3

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

Usage

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

Overview

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

Releases

Unchanged in 22 releases since FreeBSD 11.3-RELEASE.

  1. 11.3–16.0

Authors

Ira Weiny <[email protected]>

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's man source.