Lines Matching refs:sprintf
71 return sprintf(buf, "%lu\n", jiffies_to_clock_t(br->forward_delay)); in forward_delay_show()
91 return sprintf(buf, "%lu\n", in hello_time_show()
112 return sprintf(buf, "%lu\n", in max_age_show()
133 return sprintf(buf, "%lu\n", jiffies_to_clock_t(br->ageing_time)); in ageing_time_show()
154 return sprintf(buf, "%d\n", br->stp_enabled); in stp_state_show()
177 return sprintf(buf, "%#x\n", br->group_fwd_mask); in group_fwd_mask_show()
204 return sprintf(buf, "%d\n", in priority_show()
239 return sprintf(buf, "%d\n", to_bridge(d)->root_port); in root_port_show()
246 return sprintf(buf, "%d\n", to_bridge(d)->root_path_cost); in root_path_cost_show()
253 return sprintf(buf, "%d\n", to_bridge(d)->topology_change); in topology_change_show()
262 return sprintf(buf, "%d\n", br->topology_change_detected); in topology_change_detected_show()
270 return sprintf(buf, "%ld\n", br_timer_value(&br->hello_timer)); in hello_timer_show()
278 return sprintf(buf, "%ld\n", br_timer_value(&br->tcn_timer)); in tcn_timer_show()
287 return sprintf(buf, "%ld\n", br_timer_value(&br->topology_change_timer)); in topology_change_timer_show()
295 return sprintf(buf, "%ld\n", br_timer_value(&br->gc_work.timer)); in gc_timer_show()
303 return sprintf(buf, "%pM\n", br->group_addr); in group_addr_show()
365 return sprintf(buf, "%d\n", br_boolopt_get(br, BR_BOOLOPT_NO_LL_LEARN)); in no_linklocal_learn_show()
387 return sprintf(buf, "%d\n", br->multicast_ctx.multicast_router); in multicast_router_show()
409 return sprintf(buf, "%d\n", br_opt_get(br, BROPT_MULTICAST_ENABLED)); in multicast_snooping_show()
425 return sprintf(buf, "%d\n", in multicast_query_use_ifaddr_show()
450 return sprintf(buf, "%d\n", br->multicast_ctx.multicast_querier); in multicast_querier_show()
470 return sprintf(buf, "%u\n", RHT_ELASTICITY); in hash_elasticity_show()
494 return sprintf(buf, "%u\n", br->hash_max); in hash_max_show()
517 return sprintf(buf, "%u\n", br->multicast_ctx.multicast_igmp_version); in multicast_igmp_version_show()
539 return sprintf(buf, "%u\n", br->multicast_ctx.multicast_last_member_count); in multicast_last_member_count_show()
561 return sprintf(buf, "%u\n", br->multicast_ctx.multicast_startup_query_count); in multicast_startup_query_count_show()
583 return sprintf(buf, "%lu\n", in multicast_last_member_interval_show()
606 return sprintf(buf, "%lu\n", in multicast_membership_interval_show()
630 return sprintf(buf, "%lu\n", in multicast_querier_interval_show()
654 return sprintf(buf, "%lu\n", in multicast_query_interval_show()
677 return sprintf( in multicast_query_response_interval_show()
701 return sprintf( in multicast_startup_query_interval_show()
727 return sprintf(buf, "%d\n", in multicast_stats_enabled_show()
754 return sprintf(buf, "%u\n", br->multicast_ctx.multicast_mld_version); in multicast_mld_version_show()
777 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_NF_CALL_IPTABLES)); in nf_call_iptables_show()
799 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_NF_CALL_IP6TABLES)); in nf_call_ip6tables_show()
821 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_NF_CALL_ARPTABLES)); in nf_call_arptables_show()
845 return sprintf(buf, "%d\n", br_opt_get(br, BROPT_VLAN_ENABLED)); in vlan_filtering_show()
861 return sprintf(buf, "%#06x\n", ntohs(br->vlan_proto)); in vlan_protocol_show()
877 return sprintf(buf, "%d\n", br->default_pvid); in default_pvid_show()
893 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_VLAN_STATS_ENABLED)); in vlan_stats_enabled_show()
915 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_VLAN_STATS_PER_PORT)); in vlan_stats_per_port_show()