Searched refs:bpdu (Results 1 – 3 of 3) sorted by relevance
79 void br_send_config_bpdu(struct net_bridge_port *p, struct br_config_bpdu *bpdu) in br_send_config_bpdu() argument90 buf[4] = (bpdu->topology_change ? 0x01 : 0) | in br_send_config_bpdu()91 (bpdu->topology_change_ack ? 0x80 : 0); in br_send_config_bpdu()92 buf[5] = bpdu->root.prio[0]; in br_send_config_bpdu()93 buf[6] = bpdu->root.prio[1]; in br_send_config_bpdu()94 buf[7] = bpdu->root.addr[0]; in br_send_config_bpdu()95 buf[8] = bpdu->root.addr[1]; in br_send_config_bpdu()96 buf[9] = bpdu->root.addr[2]; in br_send_config_bpdu()97 buf[10] = bpdu->root.addr[3]; in br_send_config_bpdu()98 buf[11] = bpdu->root.addr[4]; in br_send_config_bpdu()[all …]
212 struct br_config_bpdu bpdu; in br_transmit_config() local222 bpdu.topology_change = br->topology_change; in br_transmit_config()223 bpdu.topology_change_ack = p->topology_change_ack; in br_transmit_config()224 bpdu.root = br->designated_root; in br_transmit_config()225 bpdu.root_path_cost = br->root_path_cost; in br_transmit_config()226 bpdu.bridge_id = br->bridge_id; in br_transmit_config()227 bpdu.port_id = p->port_id; in br_transmit_config()229 bpdu.message_age = 0; in br_transmit_config()233 bpdu.message_age = (jiffies - root->designated_age) in br_transmit_config()236 bpdu.max_age = br->max_age; in br_transmit_config()[all …]
55 const struct br_config_bpdu *bpdu);