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

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.

Detailed Description

Spanning tree state of a bridge port.

Field Documentation

◆ admin_edge

bool eth_bridge_stp_port_status::admin_edge

AdminEdge setting, see eth_bridge_stp_port_set_edge().

◆ auto_edge

bool eth_bridge_stp_port_status::auto_edge

AutoEdge setting, see eth_bridge_stp_port_set_edge().

◆ designated_bridge

uint64_t eth_bridge_stp_port_status::designated_bridge

Designated Bridge of the port's LAN.

◆ designated_cost

uint32_t eth_bridge_stp_port_status::designated_cost

Root path cost of the Designated Bridge.

◆ designated_port

uint16_t eth_bridge_stp_port_status::designated_port

Designated Port of the port's LAN.

◆ designated_root

uint64_t eth_bridge_stp_port_status::designated_root

Root bridge known on the port's LAN.

◆ forwarding

bool eth_bridge_stp_port_status::forwarding

The port forwards frames.

◆ learning

bool eth_bridge_stp_port_status::learning

The port learns source addresses.

◆ oper_edge

bool eth_bridge_stp_port_status::oper_edge

The port is an Edge Port.

◆ oper_p2p

bool eth_bridge_stp_port_status::oper_p2p

The port is attached to a point-to-point link.

◆ p2p

enum eth_bridge_stp_p2p eth_bridge_stp_port_status::p2p

Point-to-point setting, see eth_bridge_stp_port_set_p2p().

◆ path_cost

uint32_t eth_bridge_stp_port_status::path_cost

Port Path Cost in use.

◆ path_cost_auto

bool eth_bridge_stp_port_status::path_cost_auto

The Port Path Cost is derived from the link speed.

◆ port_id

uint16_t eth_bridge_stp_port_status::port_id

Port Identifier: priority in the 4 most significant bits, then the port number.

◆ role

enum eth_bridge_stp_role eth_bridge_stp_port_status::role

Port Role.

◆ send_rstp

bool eth_bridge_stp_port_status::send_rstp

The port sends RST BPDUs, false when it sends STP BPDUs.


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