Lines Matching refs:num_sends
560 static void print_audit_report(unsigned long num_msgs, unsigned long num_sends) in print_audit_report() argument
574 num_sends, num_sends * 1000 / tdelta, in print_audit_report()
582 if (stat_tx_ts != num_sends) in print_audit_report()
585 num_sends, stat_tx_ts); in print_audit_report()
592 if (stat_zcopies != num_sends) in print_audit_report()
594 num_sends, stat_zcopies); in print_audit_report()
601 static void print_report(unsigned long num_msgs, unsigned long num_sends) in print_report() argument
607 num_sends, num_msgs); in print_report()
611 total_num_sends += num_sends; in print_report()
617 unsigned long num_msgs, num_sends; in main() local
661 num_msgs = num_sends = 0; in main()
671 num_sends += send_tcp(fd, buf[i]); in main()
673 num_sends += send_udp_segment(fd, buf[i]); in main()
675 num_sends += send_udp_sendmmsg(fd, buf[i]); in main()
677 num_sends += send_udp(fd, buf[i]); in main()
687 print_report(num_msgs, num_sends); in main()
688 num_msgs = num_sends = 0; in main()
707 total_num_sends += num_sends; in main()