Lines Matching refs:sprintf
59 return sprintf(buf, "%lu\n", jiffies_to_clock_t(br->forward_delay)); in forward_delay_show()
73 return sprintf(buf, "%lu\n", in hello_time_show()
88 return sprintf(buf, "%lu\n", in max_age_show()
103 return sprintf(buf, "%lu\n", jiffies_to_clock_t(br->ageing_time)); in ageing_time_show()
123 return sprintf(buf, "%d\n", br->stp_enabled); in stp_state_show()
145 return sprintf(buf, "%#x\n", br->group_fwd_mask); in group_fwd_mask_show()
171 return sprintf(buf, "%d\n", in priority_show()
205 return sprintf(buf, "%d\n", to_bridge(d)->root_port); in root_port_show()
212 return sprintf(buf, "%d\n", to_bridge(d)->root_path_cost); in root_path_cost_show()
219 return sprintf(buf, "%d\n", to_bridge(d)->topology_change); in topology_change_show()
228 return sprintf(buf, "%d\n", br->topology_change_detected); in topology_change_detected_show()
236 return sprintf(buf, "%ld\n", br_timer_value(&br->hello_timer)); in hello_timer_show()
244 return sprintf(buf, "%ld\n", br_timer_value(&br->tcn_timer)); in tcn_timer_show()
253 return sprintf(buf, "%ld\n", br_timer_value(&br->topology_change_timer)); in topology_change_timer_show()
261 return sprintf(buf, "%ld\n", br_timer_value(&br->gc_work.timer)); in gc_timer_show()
269 return sprintf(buf, "%pM\n", br->group_addr); in group_addr_show()
330 return sprintf(buf, "%d\n", br_boolopt_get(br, BR_BOOLOPT_NO_LL_LEARN)); in no_linklocal_learn_show()
351 return sprintf(buf, "%d\n", br->multicast_router); in multicast_router_show()
367 return sprintf(buf, "%d\n", br_opt_get(br, BROPT_MULTICAST_ENABLED)); in multicast_snooping_show()
383 return sprintf(buf, "%d\n", in multicast_query_use_ifaddr_show()
407 return sprintf(buf, "%d\n", br_opt_get(br, BROPT_MULTICAST_QUERIER)); in multicast_querier_show()
421 return sprintf(buf, "%u\n", RHT_ELASTICITY); in hash_elasticity_show()
443 return sprintf(buf, "%u\n", br->hash_max); in hash_max_show()
465 return sprintf(buf, "%u\n", br->multicast_igmp_version); in multicast_igmp_version_show()
481 return sprintf(buf, "%u\n", br->multicast_last_member_count); in multicast_last_member_count_show()
502 return sprintf(buf, "%u\n", br->multicast_startup_query_count); in multicast_startup_query_count_show()
523 return sprintf(buf, "%lu\n", in multicast_last_member_interval_show()
545 return sprintf(buf, "%lu\n", in multicast_membership_interval_show()
568 return sprintf(buf, "%lu\n", in multicast_querier_interval_show()
591 return sprintf(buf, "%lu\n", in multicast_query_interval_show()
613 return sprintf( in multicast_query_response_interval_show()
636 return sprintf( in multicast_startup_query_interval_show()
661 return sprintf(buf, "%d\n", in multicast_stats_enabled_show()
687 return sprintf(buf, "%u\n", br->multicast_mld_version); in multicast_mld_version_show()
704 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_NF_CALL_IPTABLES)); in nf_call_iptables_show()
725 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_NF_CALL_IP6TABLES)); in nf_call_ip6tables_show()
746 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_NF_CALL_ARPTABLES)); in nf_call_arptables_show()
769 return sprintf(buf, "%d\n", br_opt_get(br, BROPT_VLAN_ENABLED)); in vlan_filtering_show()
785 return sprintf(buf, "%#06x\n", ntohs(br->vlan_proto)); in vlan_protocol_show()
801 return sprintf(buf, "%d\n", br->default_pvid); in default_pvid_show()
817 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_VLAN_STATS_ENABLED)); in vlan_stats_enabled_show()
833 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_VLAN_STATS_PER_PORT)); in vlan_stats_per_port_show()