---
name: "rte_dev_iterator"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_dev_iterator"
---

# rte\_dev\_iterator(3)

## NAME

rte\_dev\_iterator

## SYNOPSIS

`#include <rte_dev.h>`

### Data Fields

const char \* **dev\_str**\
 const char \* **bus\_str**\
 const char \* **cls\_str**\
 struct rte\_bus \* **bus**\
 struct **rte\_class** \* **cls**\
 struct rte\_device \* **device**\
 void \* **class\_device**\

## Detailed Description

Iteration context.

This context carries over the current iteration state.

Definition at line **281** of file **rte\_dev.h**.

## Field Documentation

### const char\* dev\_str

device string.

Definition at line **282** of file **rte\_dev.h**.

### const char\* bus\_str

bus-related part of device string.

Definition at line **283** of file **rte\_dev.h**.

### const char\* cls\_str

class-related part of device string.

Definition at line **284** of file **rte\_dev.h**.

### struct rte\_bus\* bus

bus handle.

Definition at line **285** of file **rte\_dev.h**.

### struct rte\_class\* cls

class handle.

Definition at line **286** of file **rte\_dev.h**.

### struct rte\_device\* device

current position.

Definition at line **287** of file **rte\_dev.h**.

### void\* class\_device

additional specialized context.

Definition at line **288** of file **rte\_dev.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
