Searched refs:SCTP_BASE_VAR (Results 1 - 11 of 11) sorted by relevance
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
H A D | sctp_callout.h | 55 #define SCTP_TIMERQ_LOCK() EnterCriticalSection(&SCTP_BASE_VAR(timer_mtx)) 56 #define SCTP_TIMERQ_UNLOCK() LeaveCriticalSection(&SCTP_BASE_VAR(timer_mtx)) 57 #define SCTP_TIMERQ_LOCK_INIT() InitializeCriticalSection(&SCTP_BASE_VAR(timer_mtx)) 58 #define SCTP_TIMERQ_LOCK_DESTROY() DeleteCriticalSection(&SCTP_BASE_VAR(timer_mtx)) 60 #define SCTP_TIMERQ_LOCK() (void)pthread_mutex_lock(&SCTP_BASE_VAR(timer_mtx)) 61 #define SCTP_TIMERQ_UNLOCK() (void)pthread_mutex_unlock(&SCTP_BASE_VAR(timer_mtx)) 62 #define SCTP_TIMERQ_LOCK_INIT() (void)pthread_mutex_init(&SCTP_BASE_VAR(timer_mtx), NULL) 63 #define SCTP_TIMERQ_LOCK_DESTROY() (void)pthread_mutex_destroy(&SCTP_BASE_VAR(timer_mtx))
|
H A D | sctp_bsd_addr.c | 691 if (SCTP_BASE_VAR(first_time) == 0) { 693 SCTP_BASE_VAR(first_time) = 1; 990 atomic_add_int(&SCTP_BASE_VAR(packet_log_writers), 1); 992 if (SCTP_BASE_VAR(packet_log_writers) > SCTP_PKTLOG_WRITERS_NEED_LOCK) { 996 value = SCTP_BASE_VAR(packet_log_end); 997 newval = SCTP_BASE_VAR(packet_log_end) + total_len; 1003 thisbegin = SCTP_BASE_VAR(packet_log_end); 1006 if (!(atomic_cmpset_int(&SCTP_BASE_VAR(packet_log_end), value, thisend))) { 1010 value = SCTP_BASE_VAR(packet_log_end); 1011 newval = SCTP_BASE_VAR(packet_log_en [all...] |
H A D | sctp_callout.c | 136 ticks += SCTP_BASE_VAR(sctp_main_timer_ticks);
|
H A D | sctp_userspace.c | 149 if (SCTP_BASE_VAR(userspace_rawsctp6) != -1) {
|
H A D | sctp_usrreq.c | 150 SCTP_BASE_VAR(first_time) = 0; 151 SCTP_BASE_VAR(sctp_pcb_initialized) = 0; 155 SCTP_BASE_VAR(userspace_route) = -1; 159 SCTP_BASE_VAR(userspace_rawsctp) = -1; 160 SCTP_BASE_VAR(userspace_udpsctp) = -1; 163 SCTP_BASE_VAR(userspace_rawsctp6) = -1; 164 SCTP_BASE_VAR(userspace_udpsctp6) = -1; 166 SCTP_BASE_VAR(timer_thread_should_exit) = 0; 167 SCTP_BASE_VAR(conn_output) = conn_output; 168 SCTP_BASE_VAR(debug_print [all...] |
H A D | sctp_os_userspace.h | 553 if (SCTP_BASE_VAR(debug_printf)) { \ 554 SCTP_BASE_VAR(debug_printf)(__VA_ARGS__); \ 601 #define SCTP_BASE_VAR(__m) system_base_info.__m macro
|
H A D | sctp_pcb.c | 6652 if (SCTP_BASE_VAR(sctp_pcb_initialized) != 0) { 6656 SCTP_BASE_VAR(sctp_pcb_initialized) = 1;
|
H A D | sctp_output.c | 5031 ret = SCTP_BASE_VAR(conn_output)(sconn->sconn_addr, buffer, packet_length, tos_value, nofragment_flag); 11824 SCTP_BASE_VAR(conn_output)(sconn->sconn_addr, buffer, len, 0, 0);
|
/external/chromium_org/third_party/usrsctp/usrsctplib/ |
H A D | user_recv_thread.c | 159 ret = recv(SCTP_BASE_VAR(userspace_route), rt_buffer, sizeof(rt_buffer), 0); 223 len = recvmsg(SCTP_BASE_VAR(userspace_route), &msg, 0); 334 nResult = WSARecvFrom(SCTP_BASE_VAR(userspace_rawsctp), recv_iovec, MAXLEN_MBUF_CHAIN, (LPDWORD)&ncounter, (LPDWORD)&flags, (struct sockaddr*)&from, &fromlen, NULL, NULL); 353 ncounter = n = recvmsg(SCTP_BASE_VAR(userspace_rawsctp), &msg, 0); 513 nResult = WSAIoctl(SCTP_BASE_VAR(userspace_rawsctp6), SIO_GET_EXTENSION_FUNCTION_POINTER, 525 nResult = WSARecvMsg(SCTP_BASE_VAR(userspace_rawsctp6), &msg, &ncounter, NULL, NULL); 548 ncounter = n = recvmsg(SCTP_BASE_VAR(userspace_rawsctp6), &msg, 0); 713 ncounter = n = recvmsg(SCTP_BASE_VAR(userspace_udpsctp), &msg, 0); 722 nResult = WSAIoctl(SCTP_BASE_VAR(userspace_udpsctp), SIO_GET_EXTENSION_FUNCTION_POINTER, 734 nResult = WSARecvMsg(SCTP_BASE_VAR(userspace_udpsct [all...] |
H A D | user_sctp_timer_iterate.c | 73 if (SCTP_BASE_VAR(timer_thread_should_exit)) { 108 if ((SCTP_BASE_VAR(timer_thread) = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)user_sctp_timer_iterate, NULL, 0, NULL)) == NULL) { 114 rc = pthread_create(&SCTP_BASE_VAR(timer_thread), NULL, user_sctp_timer_iterate, NULL);
|
H A D | user_socket.c | 1339 if ((protocol = IPPROTO_SCTP) && (SCTP_BASE_VAR(sctp_pcb_initialized) == 0)) { 1348 if ((domain == AF_CONN) && (SCTP_BASE_VAR(conn_output) == NULL)) { 2143 if (SCTP_BASE_VAR(sctp_pcb_initialized) == 0) { 2876 if ((!use_udp_tunneling) && (SCTP_BASE_VAR(userspace_rawsctp) > -1)) { 2877 if ((res = sendmsg(SCTP_BASE_VAR(userspace_rawsctp), &msg_hdr, MSG_DONTWAIT)) != send_len) { 2881 if ((use_udp_tunneling) && (SCTP_BASE_VAR(userspace_udpsctp) > -1)) { 2882 if ((res = sendmsg(SCTP_BASE_VAR(userspace_udpsctp), &msg_hdr, MSG_DONTWAIT)) != send_len) { 2896 if ((!use_udp_tunneling) && (SCTP_BASE_VAR(userspace_rawsctp) > -1)) { 2897 if (WSASendTo(SCTP_BASE_VAR(userspace_rawsctp), (LPWSABUF) send_iovec, iovcnt, &win_sent_len, win_msg_hdr.dwFlags, win_msg_hdr.name, (int) win_msg_hdr.namelen, NULL, NULL) != 0) { 2903 if ((use_udp_tunneling) && (SCTP_BASE_VAR(userspace_udpsct [all...] |
Completed in 2109 milliseconds