|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
Information of the NET_EVENT_ETHERNET_BRIDGE_PORT_STATE event. More...
#include <zephyr/net/ethernet_bridge_stp.h>
Data Fields | |
| struct net_if * | bridge |
| Bridge interface of the port. | |
| enum eth_bridge_stp_role | role |
| Port Role. | |
| bool | learning |
| The port learns source addresses. | |
| bool | forwarding |
| The port forwards frames. | |
Information of the NET_EVENT_ETHERNET_BRIDGE_PORT_STATE event.
The event is raised on the port interface when the role, learning or forwarding state of the port changes, also when the protocol starts or stops on the bridge.
| struct net_if* eth_bridge_stp_port_event::bridge |
Bridge interface of the port.
| bool eth_bridge_stp_port_event::forwarding |
The port forwards frames.
| bool eth_bridge_stp_port_event::learning |
The port learns source addresses.
| enum eth_bridge_stp_role eth_bridge_stp_port_event::role |
Port Role.