Changeset 1405 for pjproject/trunk/pjlib/src/pjlib-test/ioq_perf.c
- Timestamp:
- Jul 20, 2007 8:08:30 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pjlib-test/ioq_perf.c
r1266 r1405 276 276 /* Create socket pair. */ 277 277 TRACE_((THIS_FILE, " calling socketpair..")); 278 rc = app_socketpair( PJ_AF_INET, sock_type, 0,278 rc = app_socketpair(pj_AF_INET(), sock_type, 0, 279 279 &items[i].server_fd, &items[i].client_fd); 280 280 if (rc != PJ_SUCCESS) { … … 452 452 } test_param[] = 453 453 { 454 { PJ_SOCK_DGRAM, "udp", 1, 1},455 { PJ_SOCK_DGRAM, "udp", 1, 2},456 { PJ_SOCK_DGRAM, "udp", 1, 4},457 { PJ_SOCK_DGRAM, "udp", 1, 8},458 { PJ_SOCK_DGRAM, "udp", 2, 1},459 { PJ_SOCK_DGRAM, "udp", 2, 2},460 { PJ_SOCK_DGRAM, "udp", 2, 4},461 { PJ_SOCK_DGRAM, "udp", 2, 8},462 { PJ_SOCK_DGRAM, "udp", 4, 1},463 { PJ_SOCK_DGRAM, "udp", 4, 2},464 { PJ_SOCK_DGRAM, "udp", 4, 4},465 { PJ_SOCK_DGRAM, "udp", 4, 8},466 { PJ_SOCK_DGRAM, "udp", 4, 16},467 { PJ_SOCK_STREAM, "tcp", 1, 1},468 { PJ_SOCK_STREAM, "tcp", 1, 2},469 { PJ_SOCK_STREAM, "tcp", 1, 4},470 { PJ_SOCK_STREAM, "tcp", 1, 8},471 { PJ_SOCK_STREAM, "tcp", 2, 1},472 { PJ_SOCK_STREAM, "tcp", 2, 2},473 { PJ_SOCK_STREAM, "tcp", 2, 4},474 { PJ_SOCK_STREAM, "tcp", 2, 8},475 { PJ_SOCK_STREAM, "tcp", 4, 1},476 { PJ_SOCK_STREAM, "tcp", 4, 2},477 { PJ_SOCK_STREAM, "tcp", 4, 4},478 { PJ_SOCK_STREAM, "tcp", 4, 8},479 { PJ_SOCK_STREAM, "tcp", 4, 16},454 { pj_SOCK_DGRAM(), "udp", 1, 1}, 455 { pj_SOCK_DGRAM(), "udp", 1, 2}, 456 { pj_SOCK_DGRAM(), "udp", 1, 4}, 457 { pj_SOCK_DGRAM(), "udp", 1, 8}, 458 { pj_SOCK_DGRAM(), "udp", 2, 1}, 459 { pj_SOCK_DGRAM(), "udp", 2, 2}, 460 { pj_SOCK_DGRAM(), "udp", 2, 4}, 461 { pj_SOCK_DGRAM(), "udp", 2, 8}, 462 { pj_SOCK_DGRAM(), "udp", 4, 1}, 463 { pj_SOCK_DGRAM(), "udp", 4, 2}, 464 { pj_SOCK_DGRAM(), "udp", 4, 4}, 465 { pj_SOCK_DGRAM(), "udp", 4, 8}, 466 { pj_SOCK_DGRAM(), "udp", 4, 16}, 467 { pj_SOCK_STREAM(), "tcp", 1, 1}, 468 { pj_SOCK_STREAM(), "tcp", 1, 2}, 469 { pj_SOCK_STREAM(), "tcp", 1, 4}, 470 { pj_SOCK_STREAM(), "tcp", 1, 8}, 471 { pj_SOCK_STREAM(), "tcp", 2, 1}, 472 { pj_SOCK_STREAM(), "tcp", 2, 2}, 473 { pj_SOCK_STREAM(), "tcp", 2, 4}, 474 { pj_SOCK_STREAM(), "tcp", 2, 8}, 475 { pj_SOCK_STREAM(), "tcp", 4, 1}, 476 { pj_SOCK_STREAM(), "tcp", 4, 2}, 477 { pj_SOCK_STREAM(), "tcp", 4, 4}, 478 { pj_SOCK_STREAM(), "tcp", 4, 8}, 479 { pj_SOCK_STREAM(), "tcp", 4, 16}, 480 480 /* 481 { PJ_SOCK_DGRAM, "udp", 32, 1},482 { PJ_SOCK_DGRAM, "udp", 32, 1},483 { PJ_SOCK_DGRAM, "udp", 32, 1},484 { PJ_SOCK_DGRAM, "udp", 32, 1},485 { PJ_SOCK_DGRAM, "udp", 1, 32},486 { PJ_SOCK_DGRAM, "udp", 1, 32},487 { PJ_SOCK_DGRAM, "udp", 1, 32},488 { PJ_SOCK_DGRAM, "udp", 1, 32},489 { PJ_SOCK_STREAM, "tcp", 32, 1},490 { PJ_SOCK_STREAM, "tcp", 32, 1},491 { PJ_SOCK_STREAM, "tcp", 32, 1},492 { PJ_SOCK_STREAM, "tcp", 32, 1},493 { PJ_SOCK_STREAM, "tcp", 1, 32},494 { PJ_SOCK_STREAM, "tcp", 1, 32},495 { PJ_SOCK_STREAM, "tcp", 1, 32},496 { PJ_SOCK_STREAM, "tcp", 1, 32},481 { pj_SOCK_DGRAM(), "udp", 32, 1}, 482 { pj_SOCK_DGRAM(), "udp", 32, 1}, 483 { pj_SOCK_DGRAM(), "udp", 32, 1}, 484 { pj_SOCK_DGRAM(), "udp", 32, 1}, 485 { pj_SOCK_DGRAM(), "udp", 1, 32}, 486 { pj_SOCK_DGRAM(), "udp", 1, 32}, 487 { pj_SOCK_DGRAM(), "udp", 1, 32}, 488 { pj_SOCK_DGRAM(), "udp", 1, 32}, 489 { pj_SOCK_STREAM(), "tcp", 32, 1}, 490 { pj_SOCK_STREAM(), "tcp", 32, 1}, 491 { pj_SOCK_STREAM(), "tcp", 32, 1}, 492 { pj_SOCK_STREAM(), "tcp", 32, 1}, 493 { pj_SOCK_STREAM(), "tcp", 1, 32}, 494 { pj_SOCK_STREAM(), "tcp", 1, 32}, 495 { pj_SOCK_STREAM(), "tcp", 1, 32}, 496 { pj_SOCK_STREAM(), "tcp", 1, 32}, 497 497 */ 498 498 };
Note: See TracChangeset
for help on using the changeset viewer.