iPXE
Data Fields
stp_bpdu Struct Reference

A Spanning Tree bridge protocol data unit. More...

#include <stp.h>

Data Fields

uint8_t dsap
 LLC DSAP. More...
 
uint8_t ssap
 LLC SSAP. More...
 
uint8_t control
 LLC control field. More...
 
uint16_t protocol
 Protocol ID. More...
 
uint8_t version
 Protocol version. More...
 
uint8_t type
 Message type. More...
 
uint8_t flags
 Flags. More...
 
struct stp_switch root
 Root switch. More...
 
uint32_t cost
 Root path cost. More...
 
struct stp_switch sender
 Sender switch. More...
 
uint16_t port
 Port. More...
 
uint16_t age
 Message age. More...
 
uint16_t max
 Maximum age. More...
 
uint16_t hello
 Hello time. More...
 
uint16_t delay
 Forward delay. More...
 

Detailed Description

A Spanning Tree bridge protocol data unit.

Definition at line 31 of file stp.h.

Field Documentation

◆ dsap

uint8_t stp_bpdu::dsap

LLC DSAP.

Definition at line 33 of file stp.h.

◆ ssap

uint8_t stp_bpdu::ssap

LLC SSAP.

Definition at line 35 of file stp.h.

◆ control

uint8_t stp_bpdu::control

LLC control field.

Definition at line 37 of file stp.h.

◆ protocol

uint16_t stp_bpdu::protocol

Protocol ID.

Definition at line 39 of file stp.h.

Referenced by stp_rx().

◆ version

uint8_t stp_bpdu::version

Protocol version.

Definition at line 41 of file stp.h.

Referenced by stp_rx().

◆ type

uint8_t stp_bpdu::type

Message type.

Definition at line 43 of file stp.h.

Referenced by stp_rx().

◆ flags

uint8_t stp_bpdu::flags

Flags.

Definition at line 45 of file stp.h.

Referenced by stp_rx().

◆ root

struct stp_switch stp_bpdu::root

Root switch.

Definition at line 47 of file stp.h.

◆ cost

uint32_t stp_bpdu::cost

Root path cost.

Definition at line 49 of file stp.h.

◆ sender

struct stp_switch stp_bpdu::sender

Sender switch.

Definition at line 51 of file stp.h.

Referenced by stp_rx().

◆ port

uint16_t stp_bpdu::port

Port.

Definition at line 53 of file stp.h.

Referenced by stp_rx().

◆ age

uint16_t stp_bpdu::age

Message age.

Definition at line 55 of file stp.h.

◆ max

uint16_t stp_bpdu::max

Maximum age.

Definition at line 57 of file stp.h.

◆ hello

uint16_t stp_bpdu::hello

Hello time.

Definition at line 59 of file stp.h.

Referenced by stp_rx().

◆ delay

uint16_t stp_bpdu::delay

Forward delay.

Definition at line 61 of file stp.h.

Referenced by stp_rx().


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