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

Information of the NET_EVENT_ETHERNET_BRIDGE_NEW_ROOT event. More...

#include <zephyr/net/ethernet_bridge_stp.h>

Data Fields

uint64_t root_id
 Bridge Identifier of the root bridge.
uint32_t root_path_cost
 Cost of the path to the root bridge.
struct net_if * root_port
 Root Port, NULL if this bridge is the root.

Detailed Description

Information of the NET_EVENT_ETHERNET_BRIDGE_NEW_ROOT event.

The event is raised on the bridge interface when the root bridge changes, also when the protocol starts and the bridge is its own root.

Field Documentation

◆ root_id

uint64_t eth_bridge_stp_root_event::root_id

Bridge Identifier of the root bridge.

◆ root_path_cost

uint32_t eth_bridge_stp_root_event::root_path_cost

Cost of the path to the root bridge.

◆ root_port

struct net_if* eth_bridge_stp_root_event::root_port

Root Port, NULL if this bridge is the root.


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