Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
br_private_stp.h File Reference

Go to the source code of this file.

Data Structures

struct  br_config_bpdu


#define BPDU_TYPE_CONFIG   0
#define BPDU_TYPE_TCN   0x80
#define BR_MIN_HELLO_TIME   (1*HZ)
#define BR_MAX_HELLO_TIME   (10*HZ)
#define BR_MAX_FORWARD_DELAY   (30*HZ)
#define BR_MIN_MAX_AGE   (6*HZ)
#define BR_MAX_MAX_AGE   (40*HZ)
#define BR_MIN_PATH_COST   1
#define BR_MAX_PATH_COST   65535


void br_become_root_bridge (struct net_bridge *br)
void br_config_bpdu_generation (struct net_bridge *)
void br_configuration_update (struct net_bridge *)
void br_port_state_selection (struct net_bridge *)
void br_received_config_bpdu (struct net_bridge_port *p, const struct br_config_bpdu *bpdu)
void br_received_tcn_bpdu (struct net_bridge_port *p)
void br_transmit_config (struct net_bridge_port *p)
void br_transmit_tcn (struct net_bridge *br)
void br_topology_change_detection (struct net_bridge *br)
void br_send_config_bpdu (struct net_bridge_port *, struct br_config_bpdu *)
void br_send_tcn_bpdu (struct net_bridge_port *)

Macro Definition Documentation

#define BPDU_TYPE_CONFIG   0

Definition at line 16 of file br_private_stp.h.

#define BPDU_TYPE_TCN   0x80

Definition at line 17 of file br_private_stp.h.

#define BR_MAX_FORWARD_DELAY   (30*HZ)

Definition at line 24 of file br_private_stp.h.

#define BR_MAX_HELLO_TIME   (10*HZ)

Definition at line 21 of file br_private_stp.h.

#define BR_MAX_MAX_AGE   (40*HZ)

Definition at line 27 of file br_private_stp.h.

#define BR_MAX_PATH_COST   65535

Definition at line 30 of file br_private_stp.h.


Definition at line 23 of file br_private_stp.h.

#define BR_MIN_HELLO_TIME   (1*HZ)

Definition at line 20 of file br_private_stp.h.

#define BR_MIN_MAX_AGE   (6*HZ)

Definition at line 26 of file br_private_stp.h.

#define BR_MIN_PATH_COST   1

Definition at line 29 of file br_private_stp.h.

Function Documentation

void br_become_root_bridge ( struct net_bridge br)

Definition at line 127 of file br_stp.c.

void br_config_bpdu_generation ( struct net_bridge )

Definition at line 317 of file br_stp.c.

void br_configuration_update ( struct net_bridge )

Definition at line 335 of file br_stp.c.

void br_port_state_selection ( struct net_bridge )

Definition at line 397 of file br_stp.c.

void br_received_config_bpdu ( struct net_bridge_port p,
const struct br_config_bpdu bpdu 

Definition at line 440 of file br_stp.c.

void br_received_tcn_bpdu ( struct net_bridge_port p)

Definition at line 477 of file br_stp.c.

void br_send_config_bpdu ( struct net_bridge_port ,
struct br_config_bpdu  

Definition at line 74 of file br_stp_bpdu.c.

void br_send_tcn_bpdu ( struct net_bridge_port )

Definition at line 119 of file br_stp_bpdu.c.

void br_topology_change_detection ( struct net_bridge br)

Definition at line 294 of file br_stp.c.

void br_transmit_config ( struct net_bridge_port p)

Definition at line 142 of file br_stp.c.

void br_transmit_tcn ( struct net_bridge br)

Definition at line 206 of file br_stp.c.