Searched refs:bpdu (Results 1 – 3 of 3) sorted by relevance
76 void br_send_config_bpdu(struct net_bridge_port *p, struct br_config_bpdu *bpdu) in br_send_config_bpdu() argument87 buf[4] = (bpdu->topology_change ? 0x01 : 0) | in br_send_config_bpdu()88 (bpdu->topology_change_ack ? 0x80 : 0); in br_send_config_bpdu()89 buf[5] = bpdu->root.prio[0]; in br_send_config_bpdu()90 buf[6] = bpdu->root.prio[1]; in br_send_config_bpdu()91 buf[7] = bpdu->root.addr[0]; in br_send_config_bpdu()92 buf[8] = bpdu->root.addr[1]; in br_send_config_bpdu()93 buf[9] = bpdu->root.addr[2]; in br_send_config_bpdu()94 buf[10] = bpdu->root.addr[3]; in br_send_config_bpdu()95 buf[11] = bpdu->root.addr[4]; in br_send_config_bpdu()[all …]
144 struct br_config_bpdu bpdu; in br_transmit_config() local154 bpdu.topology_change = br->topology_change; in br_transmit_config()155 bpdu.topology_change_ack = p->topology_change_ack; in br_transmit_config()156 bpdu.root = br->designated_root; in br_transmit_config()157 bpdu.root_path_cost = br->root_path_cost; in br_transmit_config()158 bpdu.bridge_id = br->bridge_id; in br_transmit_config()159 bpdu.port_id = p->port_id; in br_transmit_config()161 bpdu.message_age = 0; in br_transmit_config()165 bpdu.message_age = (jiffies - root->designated_age) in br_transmit_config()168 bpdu.max_age = br->max_age; in br_transmit_config()[all …]
60 const struct br_config_bpdu *bpdu);