iPXE
|
Spanning Tree Protocol (STP) More...
Go to the source code of this file.
Data Structures | |
struct | stp_switch |
A switch identifier. More... | |
struct | stp_bpdu |
A Spanning Tree bridge protocol data unit. More... | |
Macros | |
#define | ETH_P_STP 0x4242 |
"Protocol" value for STP More... | |
#define | STP_PROTOCOL 0x0000 |
Spanning Tree protocol ID. More... | |
#define | STP_VERSION_RSTP 0x02 |
Rapid Spanning Tree protocol version. More... | |
#define | STP_TYPE_RSTP 0x02 |
Rapid Spanning Tree bridge PDU type. More... | |
#define | STP_FL_FORWARDING 0x20 |
Port is forwarding. More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
struct stp_switch | __attribute__ ((packed)) |
Variables | |
uint16_t | priority |
Priotity. More... | |
uint8_t | mac [ETH_ALEN] |
MAC address. More... | |
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... | |
Spanning Tree Protocol (STP)
Definition in file stp.h.
#define ETH_P_STP 0x4242 |
#define STP_VERSION_RSTP 0x02 |
#define STP_TYPE_RSTP 0x02 |
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
struct stp_switch __attribute__ | ( | (packed) | ) |
uint16_t priority |
Priotity.
Definition at line 12 of file stp.h.
Referenced by dhcp_discovery_rx(), efi_vlan_set(), fcoe_fip_rx_advertisement(), reprioritise_settings(), and vlan_create().
uint16_t protocol |
Protocol ID.
Definition at line 18 of file stp.h.
Referenced by dbg_efi_opener(), dbg_efi_openers(), dbg_efi_protocol(), efi_block_local(), efi_block_match(), efi_block_root(), efi_block_scan(), efi_close_protocol_wrapper(), efi_handle_protocol_wrapper(), efi_install_multiple_protocol_interfaces_wrapper(), efi_install_protocol_interface_wrapper(), efi_local_open_volume(), efi_locate_device(), efi_locate_device_path_wrapper(), efi_locate_handle_buffer_wrapper(), efi_locate_handle_wrapper(), efi_locate_protocol_wrapper(), efi_open_protocol_information_wrapper(), efi_open_protocol_wrapper(), efi_register_protocol_notify_wrapper(), efi_reinstall_protocol_interface_wrapper(), efi_uninstall_multiple_protocol_interfaces_wrapper(), efi_uninstall_protocol_interface_wrapper(), efi_veto_close_handle(), efi_veto_close_protocol(), register_usb(), snpnet_supported(), undinet_transmit(), usbhid_set_protocol(), and xhci_port_protocol().
struct stp_switch root |
Root switch.
Definition at line 26 of file stp.h.
Referenced by add_tls(), cms_verify(), cms_verify_fail_okx(), cms_verify_okx(), cms_verify_signer(), create_validator(), efi_block_filename(), efi_block_label(), efi_block_match(), efi_block_root(), efi_local_check_volume_name(), efi_local_open_root(), efi_local_open_volume(), efipci_discover_one(), efipci_ioremap(), efipci_read(), efipci_root_open(), efipci_write(), ipair_tx_pair(), x509_check_root(), x509_check_root_fail_okx(), x509_check_root_okx(), x509_is_valid(), x509_root_get(), x509_root_put(), x509_set_valid(), x509_validate(), x509_validate_chain(), x509_validate_chain_fail_okx(), and x509_validate_chain_okx().
uint32_t cost |
Root path cost.
Definition at line 28 of file stp.h.
Referenced by cipher_cost(), and digest_cost().
struct stp_switch sender |
Sender switch.
Definition at line 30 of file stp.h.
Referenced by loopback_test(), and lotest_exec().
uint16_t hello |
uint16_t delay |
Forward delay.
Definition at line 40 of file stp.h.
Referenced by ath5k_hw_reset(), hunt_mcdi_request_poll(), and reg_delay().