Zephyr Project API 4.1.99
A Scalable Open Source RTOS
|
DSA switch context data. More...
#include <dsa_core.h>
Data Fields | |
struct net_if * | iface_user [DSA_PORT_MAX_COUNT] |
Pointers to all DSA user network interfaces. | |
struct net_if * | iface_conduit |
Pointer to DSA conduit network interface. | |
struct dsa_api * | dapi |
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. | |
DSA switch context data.
struct dsa_api* dsa_switch_context::dapi |
DSA specific API callbacks.
struct net_if* dsa_switch_context::iface_conduit |
Pointer to DSA conduit network interface.
struct net_if* dsa_switch_context::iface_user[DSA_PORT_MAX_COUNT] |
Pointers to all DSA user network interfaces.
uint8_t dsa_switch_context::init_ports |
Number of initialized ports in the DSA switch.
uint8_t dsa_switch_context::num_ports |
Number of ports in the DSA switch.
void* dsa_switch_context::prv_data |
Instance specific data.