Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/bridge/
Dbr_stp.c127 br->root_path_cost = 0; in br_root_selection()
131 br->root_path_cost = p->designated_cost + p->path_cost; in br_root_selection()
163 bpdu.root_path_cost = br->root_path_cost; in br_transmit_config()
192 p->designated_cost = bpdu->root_path_cost; in br_record_config_information()
228 if (br->root_path_cost < p->designated_cost) in br_should_become_designated_port()
230 else if (br->root_path_cost > p->designated_cost) in br_should_become_designated_port()
271 if (bpdu->root_path_cost < p->designated_cost) in br_supersedes_port_info()
273 else if (bpdu->root_path_cost > p->designated_cost) in br_supersedes_port_info()
352 p->designated_cost = br->root_path_cost; in br_become_designated_port()
Dbr_stp_bpdu.c97 buf[16] = (bpdu->root_path_cost >> 24) & 0xFF; in br_send_config_bpdu()
98 buf[17] = (bpdu->root_path_cost >> 16) & 0xFF; in br_send_config_bpdu()
99 buf[18] = (bpdu->root_path_cost >> 8) & 0xFF; in br_send_config_bpdu()
100 buf[19] = bpdu->root_path_cost & 0xFF; in br_send_config_bpdu()
169 bpdu.root_path_cost = in br_stp_handle_bpdu()
Dbr_private_stp.h26 int root_path_cost; member
Dbr_ioctl.c60 b.root_path_cost = br->root_path_cost; in br_ioctl_device()
Dbr_private.h92 int root_path_cost; member
Dbr_if.c106 br->root_path_cost = 0; in new_nb()
/linux-2.4.37.9/include/linux/
Dif_bridge.h52 __u32 root_path_cost; member