Lines Matching full:static

31 static ssize_t store_bridge_parm(struct device *d,  in store_bridge_parm()
66 static ssize_t forward_delay_show(struct device *d, in forward_delay_show()
73 static int set_forward_delay(struct net_bridge *br, unsigned long val, in set_forward_delay()
79 static ssize_t forward_delay_store(struct device *d, in forward_delay_store()
85 static DEVICE_ATTR_RW(forward_delay);
87 static ssize_t hello_time_show(struct device *d, struct device_attribute *attr, in hello_time_show()
94 static int set_hello_time(struct net_bridge *br, unsigned long val, in set_hello_time()
100 static ssize_t hello_time_store(struct device *d, in hello_time_store()
106 static DEVICE_ATTR_RW(hello_time);
108 static ssize_t max_age_show(struct device *d, struct device_attribute *attr, in max_age_show()
115 static int set_max_age(struct net_bridge *br, unsigned long val, in set_max_age()
121 static ssize_t max_age_store(struct device *d, struct device_attribute *attr, in max_age_store()
126 static DEVICE_ATTR_RW(max_age);
128 static ssize_t ageing_time_show(struct device *d, in ageing_time_show()
135 static int set_ageing_time(struct net_bridge *br, unsigned long val, in set_ageing_time()
141 static ssize_t ageing_time_store(struct device *d, in ageing_time_store()
147 static DEVICE_ATTR_RW(ageing_time);
149 static ssize_t stp_state_show(struct device *d, in stp_state_show()
157 static int set_stp_state(struct net_bridge *br, unsigned long val, in set_stp_state()
163 static ssize_t stp_state_store(struct device *d, in stp_state_store()
169 static DEVICE_ATTR_RW(stp_state);
171 static ssize_t group_fwd_mask_show(struct device *d, in group_fwd_mask_show()
179 static int set_group_fwd_mask(struct net_bridge *br, unsigned long val, in set_group_fwd_mask()
190 static ssize_t group_fwd_mask_store(struct device *d, in group_fwd_mask_store()
197 static DEVICE_ATTR_RW(group_fwd_mask);
199 static ssize_t priority_show(struct device *d, struct device_attribute *attr, in priority_show()
207 static int set_priority(struct net_bridge *br, unsigned long val, in set_priority()
214 static ssize_t priority_store(struct device *d, struct device_attribute *attr, in priority_store()
219 static DEVICE_ATTR_RW(priority);
221 static ssize_t root_id_show(struct device *d, struct device_attribute *attr, in root_id_show()
226 static DEVICE_ATTR_RO(root_id);
228 static ssize_t bridge_id_show(struct device *d, struct device_attribute *attr, in bridge_id_show()
233 static DEVICE_ATTR_RO(bridge_id);
235 static ssize_t root_port_show(struct device *d, struct device_attribute *attr, in root_port_show()
240 static DEVICE_ATTR_RO(root_port);
242 static ssize_t root_path_cost_show(struct device *d, in root_path_cost_show()
247 static DEVICE_ATTR_RO(root_path_cost);
249 static ssize_t topology_change_show(struct device *d, in topology_change_show()
254 static DEVICE_ATTR_RO(topology_change);
256 static ssize_t topology_change_detected_show(struct device *d, in topology_change_detected_show()
263 static DEVICE_ATTR_RO(topology_change_detected);
265 static ssize_t hello_timer_show(struct device *d, in hello_timer_show()
271 static DEVICE_ATTR_RO(hello_timer);
273 static ssize_t tcn_timer_show(struct device *d, struct device_attribute *attr, in tcn_timer_show()
279 static DEVICE_ATTR_RO(tcn_timer);
281 static ssize_t topology_change_timer_show(struct device *d, in topology_change_timer_show()
288 static DEVICE_ATTR_RO(topology_change_timer);
290 static ssize_t gc_timer_show(struct device *d, struct device_attribute *attr, in gc_timer_show()
296 static DEVICE_ATTR_RO(gc_timer);
298 static ssize_t group_addr_show(struct device *d, in group_addr_show()
305 static ssize_t group_addr_store(struct device *d, in group_addr_store()
342 static DEVICE_ATTR_RW(group_addr);
344 static int set_flush(struct net_bridge *br, unsigned long val, in set_flush()
355 static ssize_t flush_store(struct device *d, in flush_store()
361 static DEVICE_ATTR_WO(flush);
363 static ssize_t no_linklocal_learn_show(struct device *d, in no_linklocal_learn_show()
371 static int set_no_linklocal_learn(struct net_bridge *br, unsigned long val, in set_no_linklocal_learn()
377 static ssize_t no_linklocal_learn_store(struct device *d, in no_linklocal_learn_store()
383 static DEVICE_ATTR_RW(no_linklocal_learn);
386 static ssize_t multicast_router_show(struct device *d, in multicast_router_show()
393 static int set_multicast_router(struct net_bridge *br, unsigned long val, in set_multicast_router()
399 static ssize_t multicast_router_store(struct device *d, in multicast_router_store()
405 static DEVICE_ATTR_RW(multicast_router);
407 static ssize_t multicast_snooping_show(struct device *d, in multicast_snooping_show()
415 static ssize_t multicast_snooping_store(struct device *d, in multicast_snooping_store()
421 static DEVICE_ATTR_RW(multicast_snooping);
423 static ssize_t multicast_query_use_ifaddr_show(struct device *d, in multicast_query_use_ifaddr_show()
432 static int set_query_use_ifaddr(struct net_bridge *br, unsigned long val, in set_query_use_ifaddr()
439 static ssize_t
446 static DEVICE_ATTR_RW(multicast_query_use_ifaddr);
448 static ssize_t multicast_querier_show(struct device *d, in multicast_querier_show()
456 static int set_multicast_querier(struct net_bridge *br, unsigned long val, in set_multicast_querier()
462 static ssize_t multicast_querier_store(struct device *d, in multicast_querier_store()
468 static DEVICE_ATTR_RW(multicast_querier);
470 static ssize_t hash_elasticity_show(struct device *d, in hash_elasticity_show()
476 static int set_elasticity(struct net_bridge *br, unsigned long val, in set_elasticity()
485 static ssize_t hash_elasticity_store(struct device *d, in hash_elasticity_store()
491 static DEVICE_ATTR_RW(hash_elasticity);
493 static ssize_t hash_max_show(struct device *d, struct device_attribute *attr, in hash_max_show()
500 static int set_hash_max(struct net_bridge *br, unsigned long val, in set_hash_max()
507 static ssize_t hash_max_store(struct device *d, struct device_attribute *attr, in hash_max_store()
512 static DEVICE_ATTR_RW(hash_max);
514 static ssize_t multicast_igmp_version_show(struct device *d, in multicast_igmp_version_show()
523 static int set_multicast_igmp_version(struct net_bridge *br, unsigned long val, in set_multicast_igmp_version()
529 static ssize_t multicast_igmp_version_store(struct device *d, in multicast_igmp_version_store()
535 static DEVICE_ATTR_RW(multicast_igmp_version);
537 static ssize_t multicast_last_member_count_show(struct device *d, in multicast_last_member_count_show()
545 static int set_last_member_count(struct net_bridge *br, unsigned long val, in set_last_member_count()
552 static ssize_t multicast_last_member_count_store(struct device *d, in multicast_last_member_count_store()
558 static DEVICE_ATTR_RW(multicast_last_member_count);
560 static ssize_t multicast_startup_query_count_show( in multicast_startup_query_count_show()
567 static int set_startup_query_count(struct net_bridge *br, unsigned long val, in set_startup_query_count()
574 static ssize_t multicast_startup_query_count_store( in multicast_startup_query_count_store()
580 static DEVICE_ATTR_RW(multicast_startup_query_count);
582 static ssize_t multicast_last_member_interval_show( in multicast_last_member_interval_show()
590 static int set_last_member_interval(struct net_bridge *br, unsigned long val, in set_last_member_interval()
597 static ssize_t multicast_last_member_interval_store( in multicast_last_member_interval_store()
603 static DEVICE_ATTR_RW(multicast_last_member_interval);
605 static ssize_t multicast_membership_interval_show( in multicast_membership_interval_show()
613 static int set_membership_interval(struct net_bridge *br, unsigned long val, in set_membership_interval()
620 static ssize_t multicast_membership_interval_store( in multicast_membership_interval_store()
626 static DEVICE_ATTR_RW(multicast_membership_interval);
628 static ssize_t multicast_querier_interval_show(struct device *d, in multicast_querier_interval_show()
637 static int set_querier_interval(struct net_bridge *br, unsigned long val, in set_querier_interval()
644 static ssize_t multicast_querier_interval_store(struct device *d, in multicast_querier_interval_store()
650 static DEVICE_ATTR_RW(multicast_querier_interval);
652 static ssize_t multicast_query_interval_show(struct device *d, in multicast_query_interval_show()
661 static int set_query_interval(struct net_bridge *br, unsigned long val, in set_query_interval()
668 static ssize_t multicast_query_interval_store(struct device *d, in multicast_query_interval_store()
674 static DEVICE_ATTR_RW(multicast_query_interval);
676 static ssize_t multicast_query_response_interval_show( in multicast_query_response_interval_show()
685 static int set_query_response_interval(struct net_bridge *br, unsigned long val, in set_query_response_interval()
692 static ssize_t multicast_query_response_interval_store( in multicast_query_response_interval_store()
698 static DEVICE_ATTR_RW(multicast_query_response_interval);
700 static ssize_t multicast_startup_query_interval_show( in multicast_startup_query_interval_show()
709 static int set_startup_query_interval(struct net_bridge *br, unsigned long val, in set_startup_query_interval()
716 static ssize_t multicast_startup_query_interval_store( in multicast_startup_query_interval_store()
722 static DEVICE_ATTR_RW(multicast_startup_query_interval);
724 static ssize_t multicast_stats_enabled_show(struct device *d, in multicast_stats_enabled_show()
734 static int set_stats_enabled(struct net_bridge *br, unsigned long val, in set_stats_enabled()
741 static ssize_t multicast_stats_enabled_store(struct device *d, in multicast_stats_enabled_store()
748 static DEVICE_ATTR_RW(multicast_stats_enabled);
751 static ssize_t multicast_mld_version_show(struct device *d, in multicast_mld_version_show()
760 static int set_multicast_mld_version(struct net_bridge *br, unsigned long val, in set_multicast_mld_version()
766 static ssize_t multicast_mld_version_store(struct device *d, in multicast_mld_version_store()
772 static DEVICE_ATTR_RW(multicast_mld_version);
776 static ssize_t nf_call_iptables_show( in nf_call_iptables_show()
783 static int set_nf_call_iptables(struct net_bridge *br, unsigned long val, in set_nf_call_iptables()
790 static ssize_t nf_call_iptables_store( in nf_call_iptables_store()
796 static DEVICE_ATTR_RW(nf_call_iptables);
798 static ssize_t nf_call_ip6tables_show( in nf_call_ip6tables_show()
805 static int set_nf_call_ip6tables(struct net_bridge *br, unsigned long val, in set_nf_call_ip6tables()
812 static ssize_t nf_call_ip6tables_store( in nf_call_ip6tables_store()
818 static DEVICE_ATTR_RW(nf_call_ip6tables);
820 static ssize_t nf_call_arptables_show( in nf_call_arptables_show()
827 static int set_nf_call_arptables(struct net_bridge *br, unsigned long val, in set_nf_call_arptables()
834 static ssize_t nf_call_arptables_store( in nf_call_arptables_store()
840 static DEVICE_ATTR_RW(nf_call_arptables);
843 static ssize_t vlan_filtering_show(struct device *d, in vlan_filtering_show()
851 static ssize_t vlan_filtering_store(struct device *d, in vlan_filtering_store()
857 static DEVICE_ATTR_RW(vlan_filtering);
859 static ssize_t vlan_protocol_show(struct device *d, in vlan_protocol_show()
867 static ssize_t vlan_protocol_store(struct device *d, in vlan_protocol_store()
873 static DEVICE_ATTR_RW(vlan_protocol);
875 static ssize_t default_pvid_show(struct device *d, in default_pvid_show()
883 static ssize_t default_pvid_store(struct device *d, in default_pvid_store()
889 static DEVICE_ATTR_RW(default_pvid);
891 static ssize_t vlan_stats_enabled_show(struct device *d, in vlan_stats_enabled_show()
899 static int set_vlan_stats_enabled(struct net_bridge *br, unsigned long val, in set_vlan_stats_enabled()
905 static ssize_t vlan_stats_enabled_store(struct device *d, in vlan_stats_enabled_store()
911 static DEVICE_ATTR_RW(vlan_stats_enabled);
913 static ssize_t vlan_stats_per_port_show(struct device *d, in vlan_stats_per_port_show()
921 static int set_vlan_stats_per_port(struct net_bridge *br, unsigned long val, in set_vlan_stats_per_port()
927 static ssize_t vlan_stats_per_port_store(struct device *d, in vlan_stats_per_port_store()
933 static DEVICE_ATTR_RW(vlan_stats_per_port);
936 static struct attribute *bridge_attrs[] = {
993 static const struct attribute_group bridge_group = {
1004 static ssize_t brforward_read(struct file *filp, struct kobject *kobj, in brforward_read()
1026 static struct bin_attribute bridge_forward = {