---
name: "rio_destid_alloc"
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_destid_alloc"
---

# rio\_destid\_alloc(9)

Allocate next available destID for given network

## NAME

rio\_destid\_alloc - Allocate next available destID for given network

## SYNOPSIS

**u16 rio\_destid\_alloc(struct rio\_net \*** *net***);**

## ARGUMENTS

*net*

RIO network

## DESCRIPTION

Returns next available device destination ID for the specified RIO network. Marks allocated ID as one in use. Returns RIO\_INVALID\_DESTID if new destID is not available.

## AUTHOR

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

Author.

## COPYRIGHT
