---
name: "rio_alloc_net"
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_alloc_net"
---

# rio\_alloc\_net(9)

Allocate and initialize a new RIO network data structure

## NAME

rio\_alloc\_net - Allocate and initialize a new RIO network data structure

## SYNOPSIS

**struct rio\_net \* rio\_alloc\_net(struct rio\_mport \*** *mport***);**

## ARGUMENTS

*mport*

Master port associated with the RIO network

## DESCRIPTION

Allocates a RIO network structure, initializes per-network list heads, and adds the associated master port to the network list of associated master ports. Returns a RIO network pointer on success or **NULL** on failure.

## AUTHOR

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

Author.

## COPYRIGHT
