Lines Matching refs:s_data
1054 int s_listen,s_data; in recv_sctp_stream() local
1262 if ((s_data = accept(s_listen, in recv_sctp_stream()
1270 sctp_enable_events(s_data, SCTP_ASSOC_CHANGE_EV | SCTP_SHUTDOWN_EV); in recv_sctp_stream()
1276 if (!set_nonblock(s_data)) { in recv_sctp_stream()
1277 close(s_data); in recv_sctp_stream()
1287 kludge_socket_options(s_data); in recv_sctp_stream()
1321 while ((len = sctp_recvmsg(s_data, in recv_sctp_stream()
1342 close(s_data); in recv_sctp_stream()
1353 if (sctp_process_event(s_data, recv_ring->buffer_ptr) == SCTP_CLOSE) in recv_sctp_stream()
1382 FD_SET(s_data,&readfds); in recv_sctp_stream()
1383 select(s_data+1,&readfds,NULL,NULL,&timeout); in recv_sctp_stream()
1391 if (close(s_data) == -1) { in recv_sctp_stream()
3248 int s_listen, s_data; in recv_sctp_rr() local
3422 if ((s_data = accept(s_listen, in recv_sctp_rr()
3437 if (!set_nonblock(s_data)) { in recv_sctp_rr()
3448 kludge_socket_options(s_data); in recv_sctp_rr()
3483 if((request_bytes_recvd=sctp_recvmsg(s_data, in recv_sctp_rr()
3519 while ((bytes_sent=sctp_sendmsg(s_data, in recv_sctp_rr()
3599 close(s_data); in recv_sctp_rr()