---
name: "rio_enum_peer"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/rio_enum_peer"
---

# rio\_enum\_peer(9)

Recursively enumerate a RIO network through a master port

## NAME

rio\_enum\_peer - Recursively enumerate a RIO network through a master port

## SYNOPSIS

**int rio\_enum\_peer(struct rio\_net \*** *net***, struct rio\_mport \*** *port***, u8** *hopcount***, struct rio\_dev \*** *prev***, int** *prev\_port***);**

## ARGUMENTS

*net*

RIO network being enumerated

*port*

Master port to send transactions

*hopcount*

Number of hops into the network

*prev*

Previous RIO device connected to the enumerated one

*prev\_port*

Port on previous RIO device

## DESCRIPTION

Recursively enumerates a RIO network. Transactions are sent via the master port passed in *port*.

## AUTHOR

**Matt Porter** \<mporter@kernel.crashing.org\>, \<mporter@mvista.com\>

Author.

## COPYRIGHT
