/external/netperf/ |
D | nettest_sctp.c | 388 int send_socket; local 468 send_socket = create_data_socket(local_res); 470 if (send_socket == INVALID_SOCKET){ 613 if (connect(send_socket, 620 sctp_enable_events(send_socket, SCTP_ASSOC_CHANGE_EV); 624 if (!set_nonblock(send_socket)) { 721 while ((len=sctp_sendmsg(send_socket, 789 get_sctp_info(send_socket, &sctp_mss); 792 shutdown(send_socket, SHUT_WR); 803 FD_SET(send_socket, &readfds); [all …]
|
D | nettest_bsd.c | 1300 SOCKET send_socket; in send_tcp_stream() local 1376 send_socket = create_data_socket(local_res); in send_tcp_stream() 1378 if (send_socket == INVALID_SOCKET){ in send_tcp_stream() 1524 if (connect(send_socket, in send_tcp_stream() 1606 if((len=send(send_socket, in send_tcp_stream() 1657 get_tcp_info(send_socket,&tcp_mss); in send_tcp_stream() 1660 if (shutdown(send_socket,SHUT_WR) == SOCKET_ERROR) { in send_tcp_stream() 1670 recv(send_socket, send_ring->buffer_ptr, send_size, 0); in send_tcp_stream() 1683 close(send_socket); in send_tcp_stream() 2704 SOCKET send_socket; in send_exs_tcp_stream() local [all …]
|
D | nettest_xti.c | 517 SOCKET send_socket; in send_xti_tcp_stream() local 648 send_socket = create_xti_endpoint(loc_xti_device); in send_xti_tcp_stream() 650 if (send_socket == INVALID_SOCKET) { in send_xti_tcp_stream() 664 if (t_bind(send_socket, NULL, NULL) == SOCKET_ERROR) { in send_xti_tcp_stream() 827 if (t_connect(send_socket, in send_xti_tcp_stream() 915 if((len=t_snd(send_socket, in send_xti_tcp_stream() 927 t_look(send_socket)); in send_xti_tcp_stream() 981 get_xti_info(send_socket,info_struct); in send_xti_tcp_stream() 984 if (t_sndrel(send_socket) == -1) { in send_xti_tcp_stream() 999 t_rcvrel(send_socket); in send_xti_tcp_stream() [all …]
|
D | nettest_unix.c | 255 SOCKET send_socket; in send_stream_stream() local 309 send_socket = create_unix_socket(AF_UNIX, in send_stream_stream() 312 if (send_socket == INVALID_SOCKET){ in send_stream_stream() 428 if (connect(send_socket, in send_stream_stream() 495 if((len=send(send_socket, in send_stream_stream() 529 if (close(send_socket) == -1) { in send_stream_stream() 1074 SOCKET send_socket; in send_stream_rr() local 1146 send_socket = create_unix_socket(AF_UNIX, in send_stream_rr() 1149 if (send_socket == INVALID_SOCKET){ in send_stream_rr() 1231 if (connect(send_socket, in send_stream_rr() [all …]
|
D | nettest_sdp.c | 220 SOCKET send_socket; in send_sdp_stream() local 299 send_socket = create_data_socket(local_res); in send_sdp_stream() 301 if (send_socket == INVALID_SOCKET){ in send_sdp_stream() 447 if (connect(send_socket, in send_sdp_stream() 529 if((len=send(send_socket, in send_sdp_stream() 580 get_sdp_info(send_socket,&sdp_mss); in send_sdp_stream() 583 if (shutdown(send_socket,SHUT_WR) == SOCKET_ERROR) { in send_sdp_stream() 593 recv(send_socket, send_ring->buffer_ptr, send_size, 0); in send_sdp_stream() 606 close(send_socket); in send_sdp_stream() 2303 SOCKET send_socket; in send_sdp_rr() local [all …]
|
/external/chromium_org/third_party/webrtc/base/ |
D | virtualsocket_unittest.cc | 609 AsyncSocket* send_socket = in BandwidthTest() local 613 ASSERT_EQ(0, send_socket->Bind(initial_addr)); in BandwidthTest() 615 EXPECT_EQ(send_socket->GetLocalAddress().family(), initial_addr.family()); in BandwidthTest() 617 ASSERT_EQ(0, send_socket->Connect(recv_socket->GetLocalAddress())); in BandwidthTest() 623 Sender sender(pthMain, send_socket, 80 * 1024); in BandwidthTest() 648 AsyncSocket* send_socket = in DelayTest() local 652 ASSERT_EQ(0, send_socket->Bind(initial_addr)); in DelayTest() 654 EXPECT_EQ(send_socket->GetLocalAddress().family(), initial_addr.family()); in DelayTest() 656 ASSERT_EQ(0, send_socket->Connect(recv_socket->GetLocalAddress())); in DelayTest() 661 Sender sender(pthMain, send_socket, 100 * 2 * 1024); in DelayTest()
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | virtualsocket_unittest.cc | 626 AsyncSocket* send_socket = in BandwidthTest() local 630 ASSERT_EQ(0, send_socket->Bind(initial_addr)); in BandwidthTest() 632 EXPECT_EQ(send_socket->GetLocalAddress().family(), initial_addr.family()); in BandwidthTest() 634 ASSERT_EQ(0, send_socket->Connect(recv_socket->GetLocalAddress())); in BandwidthTest() 640 Sender sender(pthMain, send_socket, 80 * 1024); in BandwidthTest() 665 AsyncSocket* send_socket = in DelayTest() local 669 ASSERT_EQ(0, send_socket->Bind(initial_addr)); in DelayTest() 671 EXPECT_EQ(send_socket->GetLocalAddress().family(), initial_addr.family()); in DelayTest() 673 ASSERT_EQ(0, send_socket->Connect(recv_socket->GetLocalAddress())); in DelayTest() 678 Sender sender(pthMain, send_socket, 100 * 2 * 1024); in DelayTest()
|