#ifndef _BR_PRIVATE_STP_H
#define _BR_PRIVATE_STP_H
#define BPDU_TYPE_CONFIG …
#define BPDU_TYPE_TCN …
#define BR_MIN_HELLO_TIME …
#define BR_MAX_HELLO_TIME …
#define BR_MIN_FORWARD_DELAY …
#define BR_MAX_FORWARD_DELAY …
#define BR_MIN_MAX_AGE …
#define BR_MAX_MAX_AGE …
#define BR_MIN_PATH_COST …
#define BR_MAX_PATH_COST …
struct br_config_bpdu { … };
static inline int br_is_designated_port(const struct net_bridge_port *p)
{ … }
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_set_topology_change(struct net_bridge *br, unsigned char val);
void br_send_config_bpdu(struct net_bridge_port *, struct br_config_bpdu *);
void br_send_tcn_bpdu(struct net_bridge_port *);
#endif