Zephyr Project API 4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dsa_switch_context Struct Reference

DSA switch context data. More...

#include <dsa_core.h>

Data Fields

struct net_ififace_user [DSA_PORT_MAX_COUNT]
 Pointers to all DSA user network interfaces.
 
struct net_ififace_conduit
 Pointer to DSA conduit network interface.
 
struct dsa_apidapi
 DSA specific API callbacks.
 
void * prv_data
 Instance specific data.
 
uint8_t num_ports
 Number of ports in the DSA switch.
 
uint8_t init_ports
 Number of initialized ports in the DSA switch.
 

Detailed Description

DSA switch context data.

Field Documentation

◆ dapi

struct dsa_api* dsa_switch_context::dapi

DSA specific API callbacks.

◆ iface_conduit

struct net_if* dsa_switch_context::iface_conduit

Pointer to DSA conduit network interface.

◆ iface_user

struct net_if* dsa_switch_context::iface_user[DSA_PORT_MAX_COUNT]

Pointers to all DSA user network interfaces.

◆ init_ports

uint8_t dsa_switch_context::init_ports

Number of initialized ports in the DSA switch.

◆ num_ports

uint8_t dsa_switch_context::num_ports

Number of ports in the DSA switch.

◆ prv_data

void* dsa_switch_context::prv_data

Instance specific data.


The documentation for this struct was generated from the following file: