Home | History | Annotate | Download | only in netperf

Lines Matching full:send_socket

393   int send_socket;
473 send_socket = create_data_socket(local_res);
475 if (send_socket == INVALID_SOCKET){
481 fprintf(where,"send_sctp_stream: send_socket obtained...\n");
618 if (connect(send_socket,
625 sctp_enable_events(send_socket, SCTP_ASSOC_CHANGE_EV);
629 if (!set_nonblock(send_socket)) {
726 while ((len=sctp_sendmsg(send_socket,
794 get_sctp_info(send_socket, &sctp_mss);
797 shutdown(send_socket, SHUT_WR);
808 FD_SET(send_socket, &readfds);
809 select(send_socket+1, &readfds, NULL, NULL, NULL);
811 sctp_recvmsg(send_socket, send_ring->buffer_ptr, send_size, NULL,
825 close(send_socket);
1531 int *send_socket;
1587 send_socket = malloc(sizeof (int) * num_associations);
1588 if (send_socket == NULL) {
1749 send_socket[j] = create_data_socket(local_res);
1751 if (send_socket[j] < 0){
1757 fprintf(where,"send_sctp_stream_1toMany: send_socket obtained...\n");
1761 if (connect(send_socket[j],
1769 sctp_enable_events(send_socket[j], SCTP_ASSOC_CHANGE_EV);
1773 if (!set_nonblock(send_socket[j])) {
1873 if((len=sctp_sendmsg(send_socket[j],
1946 get_sctp_info(send_socket[0], &sctp_mss);
1953 sctp_sendmsg(send_socket[0], NULL, 0, remote_res->ai_addr,
1972 FD_SET(send_socket[num_associations-1], &readfds);
1973 select(send_socket[num_associations-1]+1, &readfds, NULL, NULL, NULL);
1975 sctp_recvmsg(send_socket[num_associations], send_ring->buffer_ptr,
1990 close(send_socket[j]);
2632 int send_socket;
2738 send_socket = create_data_socket(local_res);
2740 if (send_socket < 0){
2746 fprintf(where,"send_sctp_rr: send_socket obtained...\n");
2833 if (connect(send_socket,
2841 sctp_enable_events(send_socket, 0);
2845 if (!set_nonblock(send_socket)) {
2846 close(send_socket);
2908 if((len=sctp_sendmsg(send_socket,
2930 while ((len=sctp_sendmsg(send_socket,
2958 if ((rsp_bytes_recvd=sctp_recvmsg(send_socket,
3125 close(send_socket);
3687 int *send_socket;
3751 send_socket = malloc(sizeof(int) * num_associations);
3752 if (send_socket == NULL) {
3884 send_socket[j] = create_data_socket(local_res);
3886 if (send_socket < 0){
3892 if (connect(send_socket[j],
3903 sctp_enable_events(send_socket[j], 0);
3906 if (!set_nonblock(send_socket[j])) {
3907 close(send_socket[j]);
3971 if((len=sctp_sendmsg(send_socket[j],
4003 while ((len=sctp_sendmsg(send_socket[j],
4033 if((rsp_bytes_recvd = sctp_recvmsg(send_socket[j],
4180 close(send_socket[j]);