Lines Matching refs:sprintf
70 return sprintf(buf, "%lu\n", jiffies_to_clock_t(br->forward_delay)); in forward_delay_show()
90 return sprintf(buf, "%lu\n", in hello_time_show()
111 return sprintf(buf, "%lu\n", in max_age_show()
132 return sprintf(buf, "%lu\n", jiffies_to_clock_t(br->ageing_time)); in ageing_time_show()
153 return sprintf(buf, "%d\n", br->stp_enabled); in stp_state_show()
176 return sprintf(buf, "%#x\n", br->group_fwd_mask); in group_fwd_mask_show()
203 return sprintf(buf, "%d\n", in priority_show()
238 return sprintf(buf, "%d\n", to_bridge(d)->root_port); in root_port_show()
245 return sprintf(buf, "%d\n", to_bridge(d)->root_path_cost); in root_path_cost_show()
252 return sprintf(buf, "%d\n", to_bridge(d)->topology_change); in topology_change_show()
261 return sprintf(buf, "%d\n", br->topology_change_detected); in topology_change_detected_show()
269 return sprintf(buf, "%ld\n", br_timer_value(&br->hello_timer)); in hello_timer_show()
277 return sprintf(buf, "%ld\n", br_timer_value(&br->tcn_timer)); in tcn_timer_show()
286 return sprintf(buf, "%ld\n", br_timer_value(&br->topology_change_timer)); in topology_change_timer_show()
294 return sprintf(buf, "%ld\n", br_timer_value(&br->gc_work.timer)); in gc_timer_show()
302 return sprintf(buf, "%pM\n", br->group_addr); in group_addr_show()
368 return sprintf(buf, "%d\n", br_boolopt_get(br, BR_BOOLOPT_NO_LL_LEARN)); in no_linklocal_learn_show()
390 return sprintf(buf, "%d\n", br->multicast_ctx.multicast_router); in multicast_router_show()
412 return sprintf(buf, "%d\n", br_opt_get(br, BROPT_MULTICAST_ENABLED)); in multicast_snooping_show()
428 return sprintf(buf, "%d\n", in multicast_query_use_ifaddr_show()
453 return sprintf(buf, "%d\n", br->multicast_ctx.multicast_querier); in multicast_querier_show()
473 return sprintf(buf, "%u\n", RHT_ELASTICITY); in hash_elasticity_show()
497 return sprintf(buf, "%u\n", br->hash_max); in hash_max_show()
520 return sprintf(buf, "%u\n", br->multicast_ctx.multicast_igmp_version); in multicast_igmp_version_show()
542 return sprintf(buf, "%u\n", br->multicast_ctx.multicast_last_member_count); in multicast_last_member_count_show()
564 return sprintf(buf, "%u\n", br->multicast_ctx.multicast_startup_query_count); in multicast_startup_query_count_show()
586 return sprintf(buf, "%lu\n", in multicast_last_member_interval_show()
609 return sprintf(buf, "%lu\n", in multicast_membership_interval_show()
633 return sprintf(buf, "%lu\n", in multicast_querier_interval_show()
657 return sprintf(buf, "%lu\n", in multicast_query_interval_show()
680 return sprintf( in multicast_query_response_interval_show()
704 return sprintf( in multicast_startup_query_interval_show()
730 return sprintf(buf, "%d\n", in multicast_stats_enabled_show()
757 return sprintf(buf, "%u\n", br->multicast_ctx.multicast_mld_version); in multicast_mld_version_show()
780 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_NF_CALL_IPTABLES)); in nf_call_iptables_show()
802 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_NF_CALL_IP6TABLES)); in nf_call_ip6tables_show()
824 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_NF_CALL_ARPTABLES)); in nf_call_arptables_show()
848 return sprintf(buf, "%d\n", br_opt_get(br, BROPT_VLAN_ENABLED)); in vlan_filtering_show()
864 return sprintf(buf, "%#06x\n", ntohs(br->vlan_proto)); in vlan_protocol_show()
880 return sprintf(buf, "%d\n", br->default_pvid); in default_pvid_show()
896 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_VLAN_STATS_ENABLED)); in vlan_stats_enabled_show()
918 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_VLAN_STATS_PER_PORT)); in vlan_stats_per_port_show()