Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

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.

Detailed Description

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.

Field Documentation

◆ bridge

struct net_if* eth_bridge_stp_port_event::bridge

Bridge interface of the port.

◆ forwarding

bool eth_bridge_stp_port_event::forwarding

The port forwards frames.

◆ learning

bool eth_bridge_stp_port_event::learning

The port learns source addresses.

◆ role

enum eth_bridge_stp_role eth_bridge_stp_port_event::role

Port Role.


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