Lines Matching refs:to_bridge

26 #define to_bridge(cd)	((struct net_bridge *)netdev_priv(to_net_dev(cd)))  macro
35 struct net_bridge *br = to_bridge(d); in store_bridge_parm()
55 struct net_bridge *br = to_bridge(d); in forward_delay_show()
71 jiffies_to_clock_t(to_bridge(d)->hello_time)); in hello_time_show()
86 jiffies_to_clock_t(to_bridge(d)->max_age)); in max_age_show()
99 struct net_bridge *br = to_bridge(d); in ageing_time_show()
120 struct net_bridge *br = to_bridge(d); in stp_state_show()
129 struct net_bridge *br = to_bridge(d); in stp_state_store()
153 struct net_bridge *br = to_bridge(d); in group_fwd_mask_show()
163 struct net_bridge *br = to_bridge(d); in group_fwd_mask_store()
186 struct net_bridge *br = to_bridge(d); in priority_show()
207 return br_show_bridge_id(buf, &to_bridge(d)->designated_root); in root_id_show()
214 return br_show_bridge_id(buf, &to_bridge(d)->bridge_id); in bridge_id_show()
221 return sprintf(buf, "%d\n", to_bridge(d)->root_port); in root_port_show()
228 return sprintf(buf, "%d\n", to_bridge(d)->root_path_cost); in root_path_cost_show()
235 return sprintf(buf, "%d\n", to_bridge(d)->topology_change); in topology_change_show()
243 struct net_bridge *br = to_bridge(d); in topology_change_detected_show()
251 struct net_bridge *br = to_bridge(d); in hello_timer_show()
259 struct net_bridge *br = to_bridge(d); in tcn_timer_show()
268 struct net_bridge *br = to_bridge(d); in topology_change_timer_show()
276 struct net_bridge *br = to_bridge(d); in gc_timer_show()
284 struct net_bridge *br = to_bridge(d); in group_addr_show()
295 struct net_bridge *br = to_bridge(d); in group_addr_store()
337 struct net_bridge *br = to_bridge(d); in flush_store()
351 struct net_bridge *br = to_bridge(d); in multicast_router_show()
367 struct net_bridge *br = to_bridge(d); in multicast_snooping_show()
383 struct net_bridge *br = to_bridge(d); in multicast_query_use_ifaddr_show()
406 struct net_bridge *br = to_bridge(d); in multicast_querier_show()
421 struct net_bridge *br = to_bridge(d); in hash_elasticity_show()
442 struct net_bridge *br = to_bridge(d); in hash_max_show()
457 struct net_bridge *br = to_bridge(d); in multicast_last_member_count_show()
478 struct net_bridge *br = to_bridge(d); in multicast_startup_query_count_show()
499 struct net_bridge *br = to_bridge(d); in multicast_last_member_interval_show()
521 struct net_bridge *br = to_bridge(d); in multicast_membership_interval_show()
544 struct net_bridge *br = to_bridge(d); in multicast_querier_interval_show()
567 struct net_bridge *br = to_bridge(d); in multicast_query_interval_show()
589 struct net_bridge *br = to_bridge(d); in multicast_query_response_interval_show()
612 struct net_bridge *br = to_bridge(d); in multicast_startup_query_interval_show()
636 struct net_bridge *br = to_bridge(d); in nf_call_iptables_show()
657 struct net_bridge *br = to_bridge(d); in nf_call_ip6tables_show()
678 struct net_bridge *br = to_bridge(d); in nf_call_arptables_show()
701 struct net_bridge *br = to_bridge(d); in vlan_filtering_show()
717 struct net_bridge *br = to_bridge(d); in vlan_protocol_show()
733 struct net_bridge *br = to_bridge(d); in default_pvid_show()
811 struct net_bridge *br = to_bridge(dev); in brforward_read()