Lines Matching refs:sprintf

63 	return sprintf(buf, "%lu\n", jiffies_to_clock_t(br->forward_delay));  in forward_delay_show()
77 return sprintf(buf, "%lu\n", in hello_time_show()
92 return sprintf(buf, "%lu\n", in max_age_show()
107 return sprintf(buf, "%lu\n", jiffies_to_clock_t(br->ageing_time)); in ageing_time_show()
127 return sprintf(buf, "%d\n", br->stp_enabled); in stp_state_show()
151 return sprintf(buf, "%#x\n", br->group_fwd_mask); in group_fwd_mask_show()
177 return sprintf(buf, "%d\n", in priority_show()
211 return sprintf(buf, "%d\n", to_bridge(d)->root_port); in root_port_show()
218 return sprintf(buf, "%d\n", to_bridge(d)->root_path_cost); in root_path_cost_show()
225 return sprintf(buf, "%d\n", to_bridge(d)->topology_change); in topology_change_show()
234 return sprintf(buf, "%d\n", br->topology_change_detected); in topology_change_detected_show()
242 return sprintf(buf, "%ld\n", br_timer_value(&br->hello_timer)); in hello_timer_show()
250 return sprintf(buf, "%ld\n", br_timer_value(&br->tcn_timer)); in tcn_timer_show()
259 return sprintf(buf, "%ld\n", br_timer_value(&br->topology_change_timer)); in topology_change_timer_show()
267 return sprintf(buf, "%ld\n", br_timer_value(&br->gc_work.timer)); in gc_timer_show()
275 return sprintf(buf, "%pM\n", br->group_addr); in group_addr_show()
336 return sprintf(buf, "%d\n", br->multicast_router); in multicast_router_show()
352 return sprintf(buf, "%d\n", !br->multicast_disabled); in multicast_snooping_show()
368 return sprintf(buf, "%d\n", br->multicast_query_use_ifaddr); in multicast_query_use_ifaddr_show()
391 return sprintf(buf, "%d\n", br->multicast_querier); in multicast_querier_show()
406 return sprintf(buf, "%u\n", br->hash_elasticity); in hash_elasticity_show()
427 return sprintf(buf, "%u\n", br->hash_max); in hash_max_show()
443 return sprintf(buf, "%u\n", br->multicast_igmp_version); in multicast_igmp_version_show()
459 return sprintf(buf, "%u\n", br->multicast_last_member_count); in multicast_last_member_count_show()
480 return sprintf(buf, "%u\n", br->multicast_startup_query_count); in multicast_startup_query_count_show()
501 return sprintf(buf, "%lu\n", in multicast_last_member_interval_show()
523 return sprintf(buf, "%lu\n", in multicast_membership_interval_show()
546 return sprintf(buf, "%lu\n", in multicast_querier_interval_show()
569 return sprintf(buf, "%lu\n", in multicast_query_interval_show()
591 return sprintf( in multicast_query_response_interval_show()
614 return sprintf( in multicast_startup_query_interval_show()
639 return sprintf(buf, "%u\n", br->multicast_stats_enabled); in multicast_stats_enabled_show()
664 return sprintf(buf, "%u\n", br->multicast_mld_version); in multicast_mld_version_show()
681 return sprintf(buf, "%u\n", br->nf_call_iptables); in nf_call_iptables_show()
702 return sprintf(buf, "%u\n", br->nf_call_ip6tables); in nf_call_ip6tables_show()
723 return sprintf(buf, "%u\n", br->nf_call_arptables); in nf_call_arptables_show()
746 return sprintf(buf, "%d\n", br->vlan_enabled); in vlan_filtering_show()
762 return sprintf(buf, "%#06x\n", ntohs(br->vlan_proto)); in vlan_protocol_show()
778 return sprintf(buf, "%d\n", br->default_pvid); in default_pvid_show()
794 return sprintf(buf, "%u\n", br->vlan_stats_enabled); in vlan_stats_enabled_show()