Home | History | Annotate | Download | only in netperf

Lines Matching refs:arg2

300 break_args(char *s, char *arg1, char *arg2)
306 /* there was a comma arg2 should be the second arg*/
308 while ((*arg2++ = *ns++) != '\0');
312 /* and arg2 should be the same value as arg1 */
314 while ((*arg2++ = *ns++) != '\0');
323 this version will not ass-u-me that arg2 should be the same as
326 break_args_explicit(char *s, char *arg1, char *arg2)
332 /* there was a comma arg2 should be the second arg*/
334 while ((*arg2++ = *ns++) != '\0');
337 /* there was not a comma, so we should make sure that arg2 is \0
339 *arg2 = '\0';
476 arg2[BUFSIZ];
499 break_args(optarg,arg1,arg2);
503 if (arg2[0])
504 local_recv_align = convert(arg2);
508 break_args(optarg,arg1,arg2);
512 if (arg2[0])
513 remote_recv_align = convert(arg2);
543 break_args_explicit(argv[optind],arg1,arg2);
548 if (arg2[0]) {
549 demo_units = convert(arg2);
568 break_args(optarg,arg1,arg2);
572 if (arg2[0] ) {
573 iteration_min = convert(arg2);
587 break_args(optarg,arg1,arg2);
595 if (arg2[0] ) {
596 interval = (double) convert(arg2)/100;
609 break_args(optarg,arg1,arg2);
613 if (arg2[0] ) {
614 loc_clean_count = convert(arg2);
623 break_args(optarg,arg1,arg2);
627 if (arg2[0] ) {
628 rem_clean_count = convert(arg2);
642 break_args(optarg,arg1,arg2);
645 if (arg2[0])
646 local_recv_offset = convert(arg2);
650 break_args(optarg,arg1,arg2);
653 if (arg2[0])
654 remote_recv_offset = convert(arg2);
674 break_args(optarg,arg1,arg2);
679 if (arg2[0]) {
680 remote_proc_affinity = convert(arg2);
687 break_args(optarg,arg1,arg2);
690 if (arg2[0])
691 recv_width = convert(arg2);
713 break_args_explicit(optarg,arg1,arg2);
716 if (arg2[0])
717 strncpy(local_test_port,arg2,PORTBUFSIZE);
723 break_args_explicit(optarg,arg1,arg2);
726 if (arg2[0])
727 address_family = parse_address_family(arg2);
733 break_args_explicit(optarg,arg1,arg2);
736 if (arg2[0])
737 local_address_family = parse_address_family(arg2);