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()
62 struct net_bridge *br = to_bridge(d); in forward_delay_show()
78 jiffies_to_clock_t(to_bridge(d)->hello_time)); in hello_time_show()
93 jiffies_to_clock_t(to_bridge(d)->max_age)); in max_age_show()
106 struct net_bridge *br = to_bridge(d); in ageing_time_show()
126 struct net_bridge *br = to_bridge(d); in stp_state_show()
150 struct net_bridge *br = to_bridge(d); in group_fwd_mask_show()
176 struct net_bridge *br = to_bridge(d); in priority_show()
197 return br_show_bridge_id(buf, &to_bridge(d)->designated_root); in root_id_show()
204 return br_show_bridge_id(buf, &to_bridge(d)->bridge_id); in bridge_id_show()
211 return sprintf(buf, "%d\n", to_bridge(d)->root_port); in root_port_show()
218 return sprintf(buf, "%d\n", to_bridge(d)->root_path_cost); in root_path_cost_show()
225 return sprintf(buf, "%d\n", to_bridge(d)->topology_change); in topology_change_show()
233 struct net_bridge *br = to_bridge(d); in topology_change_detected_show()
241 struct net_bridge *br = to_bridge(d); in hello_timer_show()
249 struct net_bridge *br = to_bridge(d); in tcn_timer_show()
258 struct net_bridge *br = to_bridge(d); in topology_change_timer_show()
266 struct net_bridge *br = to_bridge(d); in gc_timer_show()
274 struct net_bridge *br = to_bridge(d); in group_addr_show()
282 struct net_bridge *br = to_bridge(d); in group_addr_store()
335 struct net_bridge *br = to_bridge(d); in multicast_router_show()
351 struct net_bridge *br = to_bridge(d); in multicast_snooping_show()
367 struct net_bridge *br = to_bridge(d); in multicast_query_use_ifaddr_show()
390 struct net_bridge *br = to_bridge(d); in multicast_querier_show()
405 struct net_bridge *br = to_bridge(d); in hash_elasticity_show()
426 struct net_bridge *br = to_bridge(d); in hash_max_show()
441 struct net_bridge *br = to_bridge(d); in multicast_igmp_version_show()
458 struct net_bridge *br = to_bridge(d); in multicast_last_member_count_show()
479 struct net_bridge *br = to_bridge(d); in multicast_startup_query_count_show()
500 struct net_bridge *br = to_bridge(d); in multicast_last_member_interval_show()
522 struct net_bridge *br = to_bridge(d); in multicast_membership_interval_show()
545 struct net_bridge *br = to_bridge(d); in multicast_querier_interval_show()
568 struct net_bridge *br = to_bridge(d); in multicast_query_interval_show()
590 struct net_bridge *br = to_bridge(d); in multicast_query_response_interval_show()
613 struct net_bridge *br = to_bridge(d); in multicast_startup_query_interval_show()
637 struct net_bridge *br = to_bridge(d); in multicast_stats_enabled_show()
662 struct net_bridge *br = to_bridge(d); in multicast_mld_version_show()
680 struct net_bridge *br = to_bridge(d); in nf_call_iptables_show()
701 struct net_bridge *br = to_bridge(d); in nf_call_ip6tables_show()
722 struct net_bridge *br = to_bridge(d); in nf_call_arptables_show()
745 struct net_bridge *br = to_bridge(d); in vlan_filtering_show()
761 struct net_bridge *br = to_bridge(d); in vlan_protocol_show()
777 struct net_bridge *br = to_bridge(d); in default_pvid_show()
793 struct net_bridge *br = to_bridge(d); in vlan_stats_enabled_show()
877 struct net_bridge *br = to_bridge(dev); in brforward_read()