|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
Spanning tree state of a bridge port. More...
#include <zephyr/net/ethernet_bridge_stp.h>
Data Fields | |
| enum eth_bridge_stp_role | role |
| Port Role. | |
| bool | learning |
| The port learns source addresses. | |
| bool | forwarding |
| The port forwards frames. | |
| bool | oper_edge |
| The port is an Edge Port. | |
| bool | admin_edge |
| AdminEdge setting, see eth_bridge_stp_port_set_edge(). | |
| bool | auto_edge |
| AutoEdge setting, see eth_bridge_stp_port_set_edge(). | |
| bool | oper_p2p |
| The port is attached to a point-to-point link. | |
| enum eth_bridge_stp_p2p | p2p |
| Point-to-point setting, see eth_bridge_stp_port_set_p2p(). | |
| bool | path_cost_auto |
| The Port Path Cost is derived from the link speed. | |
| bool | send_rstp |
| The port sends RST BPDUs, false when it sends STP BPDUs. | |
| uint16_t | port_id |
| Port Identifier: priority in the 4 most significant bits, then the port number. | |
| uint32_t | path_cost |
| Port Path Cost in use. | |
| uint64_t | designated_root |
| Root bridge known on the port's LAN. | |
| uint64_t | designated_bridge |
| Designated Bridge of the port's LAN. | |
| uint16_t | designated_port |
| Designated Port of the port's LAN. | |
| uint32_t | designated_cost |
| Root path cost of the Designated Bridge. | |
Spanning tree state of a bridge port.
| bool eth_bridge_stp_port_status::admin_edge |
AdminEdge setting, see eth_bridge_stp_port_set_edge().
| bool eth_bridge_stp_port_status::auto_edge |
AutoEdge setting, see eth_bridge_stp_port_set_edge().
| uint64_t eth_bridge_stp_port_status::designated_bridge |
Designated Bridge of the port's LAN.
| uint32_t eth_bridge_stp_port_status::designated_cost |
Root path cost of the Designated Bridge.
| uint16_t eth_bridge_stp_port_status::designated_port |
Designated Port of the port's LAN.
| uint64_t eth_bridge_stp_port_status::designated_root |
Root bridge known on the port's LAN.
| bool eth_bridge_stp_port_status::forwarding |
The port forwards frames.
| bool eth_bridge_stp_port_status::learning |
The port learns source addresses.
| bool eth_bridge_stp_port_status::oper_edge |
The port is an Edge Port.
| bool eth_bridge_stp_port_status::oper_p2p |
The port is attached to a point-to-point link.
| enum eth_bridge_stp_p2p eth_bridge_stp_port_status::p2p |
Point-to-point setting, see eth_bridge_stp_port_set_p2p().
| uint32_t eth_bridge_stp_port_status::path_cost |
Port Path Cost in use.
| bool eth_bridge_stp_port_status::path_cost_auto |
The Port Path Cost is derived from the link speed.
| uint16_t eth_bridge_stp_port_status::port_id |
Port Identifier: priority in the 4 most significant bits, then the port number.
| enum eth_bridge_stp_role eth_bridge_stp_port_status::role |
Port Role.
| bool eth_bridge_stp_port_status::send_rstp |
The port sends RST BPDUs, false when it sends STP BPDUs.