Searched refs:root_path_cost (Results 1 - 11 of 11) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bridge/
H A Dbr_private_stp.h26 int root_path_cost; member in struct:br_config_bpdu
H A Dbr_stp.c121 br->root_path_cost = 0;
125 br->root_path_cost = p->designated_cost + p->path_cost;
161 bpdu.root_path_cost = br->root_path_cost;
191 p->designated_cost = bpdu->root_path_cost;
228 if (br->root_path_cost < p->designated_cost)
230 else if (br->root_path_cost > p->designated_cost)
269 if (bpdu->root_path_cost < p->designated_cost)
271 else if (bpdu->root_path_cost > p->designated_cost)
349 p->designated_cost = br->root_path_cost;
[all...]
H A Dbr_stp_bpdu.c92 buf[13] = (bpdu->root_path_cost >> 24) & 0xFF;
93 buf[14] = (bpdu->root_path_cost >> 16) & 0xFF;
94 buf[15] = (bpdu->root_path_cost >> 8) & 0xFF;
95 buf[16] = bpdu->root_path_cost & 0xFF;
195 bpdu.root_path_cost =
H A Dbr_ioctl.c179 b.root_path_cost = br->root_path_cost;
H A Dbr_private.h102 u32 root_path_cost; member in struct:net_bridge
H A Dbr_sysfs_br.c212 return sprintf(buf, "%d\n", to_bridge(d)->root_path_cost);
214 static DEVICE_ATTR(root_path_cost, S_IRUGO, show_root_path_cost, NULL);
H A Dbr_if.c218 br->root_path_cost = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/bridge-1.x/libbridge/
H A Dlibbridge.h35 unsigned root_path_cost; member in struct:bridge_info
H A Dlibbridge_devif.c182 info->root_path_cost = i.root_path_cost;
221 info->root_path_cost = fetch_int(sdir, "root_path_cost");
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dif_bridge.h67 __u32 root_path_cost; member in struct:__bridge_info
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/bridge-1.x/brctl/
H A Dbrctl_disp.c111 printf("path cost\t\t%4i\n", bri->root_path_cost);

Completed in 63 milliseconds