Home
last modified time | relevance | path

Searched refs:userspace_rawsctp (Results 1 – 4 of 4) sorted by relevance

/external/usrsctp/usrsctplib/
Duser_recv_thread.c323 …nResult = WSARecvFrom(SCTP_BASE_VAR(userspace_rawsctp), recv_iovec, MAXLEN_MBUF_CHAIN, &ncounter, … in recv_function_raw()
340 ncounter = n = recvmsg(SCTP_BASE_VAR(userspace_rawsctp), &msg, 0); in recv_function_raw()
1121 if (SCTP_BASE_VAR(userspace_rawsctp) == -1) {
1122 if ((SCTP_BASE_VAR(userspace_rawsctp) = socket(AF_INET, SOCK_RAW, IPPROTO_SCTP)) == -1) {
1130 …if (setsockopt(SCTP_BASE_VAR(userspace_rawsctp), IPPROTO_IP, IP_HDRINCL,(const void*)&hdrincl, siz…
1133 closesocket(SCTP_BASE_VAR(userspace_rawsctp));
1136 close(SCTP_BASE_VAR(userspace_rawsctp));
1138 SCTP_BASE_VAR(userspace_rawsctp) = -1;
1139 …} else if (setsockopt(SCTP_BASE_VAR(userspace_rawsctp), SOL_SOCKET, SO_RCVTIMEO, (const void *)&ti…
1142 closesocket(SCTP_BASE_VAR(userspace_rawsctp));
[all …]
Duser_socket.c3151 if ((!use_udp_tunneling) && (SCTP_BASE_VAR(userspace_rawsctp) != -1)) {
3152 if ((res = sendmsg(SCTP_BASE_VAR(userspace_rawsctp), &msg_hdr, MSG_DONTWAIT)) != send_len) {
3171 if ((!use_udp_tunneling) && (SCTP_BASE_VAR(userspace_rawsctp) != -1)) {
3172 …if (WSASendTo(SCTP_BASE_VAR(userspace_rawsctp), (LPWSABUF) send_iovec, iovcnt, &win_sent_len, win_…
/external/usrsctp/usrsctplib/netinet/
Dsctp_pcb.h329 SOCKET userspace_rawsctp; member
332 int userspace_rawsctp; member
Dsctp_usrreq.c153 SCTP_BASE_VAR(userspace_rawsctp) = -1; in sctp_init()