Lines Matching refs:b
126 struct __bridge_info b; in old_dev_ioctl() local
128 memset(&b, 0, sizeof(struct __bridge_info)); in old_dev_ioctl()
130 memcpy(&b.designated_root, &br->designated_root, 8); in old_dev_ioctl()
131 memcpy(&b.bridge_id, &br->bridge_id, 8); in old_dev_ioctl()
132 b.root_path_cost = br->root_path_cost; in old_dev_ioctl()
133 b.max_age = jiffies_to_clock_t(br->max_age); in old_dev_ioctl()
134 b.hello_time = jiffies_to_clock_t(br->hello_time); in old_dev_ioctl()
135 b.forward_delay = br->forward_delay; in old_dev_ioctl()
136 b.bridge_max_age = br->bridge_max_age; in old_dev_ioctl()
137 b.bridge_hello_time = br->bridge_hello_time; in old_dev_ioctl()
138 b.bridge_forward_delay = jiffies_to_clock_t(br->bridge_forward_delay); in old_dev_ioctl()
139 b.topology_change = br->topology_change; in old_dev_ioctl()
140 b.topology_change_detected = br->topology_change_detected; in old_dev_ioctl()
141 b.root_port = br->root_port; in old_dev_ioctl()
143 b.stp_enabled = (br->stp_enabled != BR_NO_STP); in old_dev_ioctl()
144 b.ageing_time = jiffies_to_clock_t(br->ageing_time); in old_dev_ioctl()
145 b.hello_timer_value = br_timer_value(&br->hello_timer); in old_dev_ioctl()
146 b.tcn_timer_value = br_timer_value(&br->tcn_timer); in old_dev_ioctl()
147 b.topology_change_timer_value = br_timer_value(&br->topology_change_timer); in old_dev_ioctl()
148 b.gc_timer_value = br_timer_value(&br->gc_work.timer); in old_dev_ioctl()
151 if (copy_to_user((void __user *)args[1], &b, sizeof(b))) in old_dev_ioctl()