Home
last modified time | relevance | path

Searched refs:root_path_cost (Results 1 – 5 of 5) sorted by relevance

/linux/net/bridge/
H A Dbr_stp.c186 br->root_path_cost = 0; in br_root_selection()
190 br->root_path_cost = p->designated_cost + p->path_cost; in br_root_selection()
225 bpdu.root_path_cost = br->root_path_cost; in br_transmit_config()
255 p->designated_cost = bpdu->root_path_cost; in br_record_config_information()
300 if (br->root_path_cost < p->designated_cost) in br_should_become_designated_port()
302 else if (br->root_path_cost > p->designated_cost) in br_should_become_designated_port()
342 if (bpdu->root_path_cost < p->designated_cost) in br_supersedes_port_info()
344 else if (bpdu->root_path_cost > p->designated_cost) in br_supersedes_port_info()
424 p->designated_cost = br->root_path_cost; in br_become_designated_port()
H A Dbr_stp_bpdu.c100 buf[13] = (bpdu->root_path_cost >> 24) & 0xFF; in br_send_config_bpdu()
101 buf[14] = (bpdu->root_path_cost >> 16) & 0xFF; in br_send_config_bpdu()
102 buf[15] = (bpdu->root_path_cost >> 8) & 0xFF; in br_send_config_bpdu()
103 buf[16] = bpdu->root_path_cost & 0xFF; in br_send_config_bpdu()
208 bpdu.root_path_cost = in br_stp_rcv()
H A Dbr_private_stp.h32 int root_path_cost; member
H A Dbr_ioctl.c170 b.root_path_cost = br->root_path_cost; in br_dev_siocdevprivate()
H A Dbr_private.h536 u32 root_path_cost; member