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()
147 return sprintf(buf, "%#x\n", br->group_fwd_mask); in group_fwd_mask_show()
173 return sprintf(buf, "%d\n", in priority_show()
207 return sprintf(buf, "%d\n", to_bridge(d)->root_port); in root_port_show()
214 return sprintf(buf, "%d\n", to_bridge(d)->root_path_cost); in root_path_cost_show()
221 return sprintf(buf, "%d\n", to_bridge(d)->topology_change); in topology_change_show()
230 return sprintf(buf, "%d\n", br->topology_change_detected); in topology_change_detected_show()
238 return sprintf(buf, "%ld\n", br_timer_value(&br->hello_timer)); in hello_timer_show()
246 return sprintf(buf, "%ld\n", br_timer_value(&br->tcn_timer)); in tcn_timer_show()
255 return sprintf(buf, "%ld\n", br_timer_value(&br->topology_change_timer)); in topology_change_timer_show()
263 return sprintf(buf, "%ld\n", br_timer_value(&br->gc_work.timer)); in gc_timer_show()
271 return sprintf(buf, "%pM\n", br->group_addr); in group_addr_show()
332 return sprintf(buf, "%d\n", br_boolopt_get(br, BR_BOOLOPT_NO_LL_LEARN)); in no_linklocal_learn_show()
353 return sprintf(buf, "%d\n", br->multicast_router); in multicast_router_show()
369 return sprintf(buf, "%d\n", br_opt_get(br, BROPT_MULTICAST_ENABLED)); in multicast_snooping_show()
385 return sprintf(buf, "%d\n", in multicast_query_use_ifaddr_show()
409 return sprintf(buf, "%d\n", br_opt_get(br, BROPT_MULTICAST_QUERIER)); in multicast_querier_show()
423 return sprintf(buf, "%u\n", RHT_ELASTICITY); in hash_elasticity_show()
445 return sprintf(buf, "%u\n", br->hash_max); in hash_max_show()
467 return sprintf(buf, "%u\n", br->multicast_igmp_version); in multicast_igmp_version_show()
483 return sprintf(buf, "%u\n", br->multicast_last_member_count); in multicast_last_member_count_show()
504 return sprintf(buf, "%u\n", br->multicast_startup_query_count); in multicast_startup_query_count_show()
525 return sprintf(buf, "%lu\n", in multicast_last_member_interval_show()
547 return sprintf(buf, "%lu\n", in multicast_membership_interval_show()
570 return sprintf(buf, "%lu\n", in multicast_querier_interval_show()
593 return sprintf(buf, "%lu\n", in multicast_query_interval_show()
615 return sprintf( in multicast_query_response_interval_show()
638 return sprintf( in multicast_startup_query_interval_show()
663 return sprintf(buf, "%d\n", in multicast_stats_enabled_show()
689 return sprintf(buf, "%u\n", br->multicast_mld_version); in multicast_mld_version_show()
706 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_NF_CALL_IPTABLES)); in nf_call_iptables_show()
727 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_NF_CALL_IP6TABLES)); in nf_call_ip6tables_show()
748 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_NF_CALL_ARPTABLES)); in nf_call_arptables_show()
771 return sprintf(buf, "%d\n", br_opt_get(br, BROPT_VLAN_ENABLED)); in vlan_filtering_show()
787 return sprintf(buf, "%#06x\n", ntohs(br->vlan_proto)); in vlan_protocol_show()
803 return sprintf(buf, "%d\n", br->default_pvid); in default_pvid_show()
819 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_VLAN_STATS_ENABLED)); in vlan_stats_enabled_show()
835 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_VLAN_STATS_PER_PORT)); in vlan_stats_per_port_show()