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

/linux-master/net/bridge/
H A Dbr_private_stp.h32 int root_path_cost; member in struct:br_config_bpdu
H A Dbr_stp_bpdu.c100 buf[13] = (bpdu->root_path_cost >> 24) & 0xFF;
101 buf[14] = (bpdu->root_path_cost >> 16) & 0xFF;
102 buf[15] = (bpdu->root_path_cost >> 8) & 0xFF;
103 buf[16] = bpdu->root_path_cost & 0xFF;
208 bpdu.root_path_cost =
H A Dbr_stp.c186 br->root_path_cost = 0;
190 br->root_path_cost = p->designated_cost + p->path_cost;
225 bpdu.root_path_cost = br->root_path_cost;
255 p->designated_cost = bpdu->root_path_cost;
300 if (br->root_path_cost < p->designated_cost)
302 else if (br->root_path_cost > p->designated_cost)
342 if (bpdu->root_path_cost < p->designated_cost)
344 else if (bpdu->root_path_cost > p->designated_cost)
424 p->designated_cost = br->root_path_cost;
[all...]
H A Dbr_ioctl.c170 b.root_path_cost = br->root_path_cost;
H A Dbr_sysfs_br.c245 return sprintf(buf, "%d\n", to_bridge(d)->root_path_cost);
247 static DEVICE_ATTR_RO(root_path_cost);
H A Dbr_private.h526 u32 root_path_cost; member in struct:net_bridge
H A Dbr_netlink.c1679 nla_put_u32(skb, IFLA_BR_ROOT_PATH_COST, br->root_path_cost) ||
/linux-master/include/uapi/linux/
H A Dif_bridge.h58 __u32 root_path_cost; member in struct:__bridge_info

Completed in 234 milliseconds