Home
last modified time | relevance | path

Searched refs:bpdu (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/net/bridge/
Dbr_stp_bpdu.c76 void br_send_config_bpdu(struct net_bridge_port *p, struct br_config_bpdu *bpdu) in br_send_config_bpdu() argument
87 buf[7] = (bpdu->topology_change ? 0x01 : 0) | in br_send_config_bpdu()
88 (bpdu->topology_change_ack ? 0x80 : 0); in br_send_config_bpdu()
89 buf[8] = bpdu->root.prio[0]; in br_send_config_bpdu()
90 buf[9] = bpdu->root.prio[1]; in br_send_config_bpdu()
91 buf[10] = bpdu->root.addr[0]; in br_send_config_bpdu()
92 buf[11] = bpdu->root.addr[1]; in br_send_config_bpdu()
93 buf[12] = bpdu->root.addr[2]; in br_send_config_bpdu()
94 buf[13] = bpdu->root.addr[3]; in br_send_config_bpdu()
95 buf[14] = bpdu->root.addr[4]; in br_send_config_bpdu()
[all …]
Dbr_stp.c150 struct br_config_bpdu bpdu; in br_transmit_config() local
160 bpdu.topology_change = br->topology_change; in br_transmit_config()
161 bpdu.topology_change_ack = p->topology_change_ack; in br_transmit_config()
162 bpdu.root = br->designated_root; in br_transmit_config()
163 bpdu.root_path_cost = br->root_path_cost; in br_transmit_config()
164 bpdu.bridge_id = br->bridge_id; in br_transmit_config()
165 bpdu.port_id = p->port_id; in br_transmit_config()
167 bpdu.message_age = 0; in br_transmit_config()
172 bpdu.message_age = br_timer_get_residue(&root->message_age_timer) in br_transmit_config()
175 bpdu.max_age = br->max_age; in br_transmit_config()
[all …]
Dbr_private_stp.h42 extern void br_received_config_bpdu(struct net_bridge_port *p, struct br_config_bpdu *bpdu);