Home
last modified time | relevance | path

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

/openbmc/linux/net/bridge/
H A Dbr_stp_bpdu.c92 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()
99 buf[12] = bpdu->root.addr[5]; in br_send_config_bpdu()
208 bpdu.root_path_cost = in br_stp_rcv()
228 if (bpdu.message_age > bpdu.max_age) { in br_stp_rcv()
[all …]
H A Dbr_stp.c212 struct br_config_bpdu bpdu; in br_transmit_config() local
224 bpdu.root = br->designated_root; 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()
236 bpdu.max_age = br->max_age; in br_transmit_config()
237 bpdu.hello_time = br->hello_time; in br_transmit_config()
241 br_send_config_bpdu(p, &bpdu); in br_transmit_config()
254 p->designated_root = bpdu->root; in br_record_config_information()
261 + (bpdu->max_age - bpdu->message_age)); in br_record_config_information()
[all …]
H A Dbr_private_stp.h55 const struct br_config_bpdu *bpdu);
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_control.sh173 devlink_trap_stats_test "STP" "stp" $MZ $h1 -c 1 -t bpdu -q