Home
last modified time | relevance | path

Searched refs:SOCKET (Results 1 – 25 of 88) sorted by relevance

1234

/external/libpcap/
Dsockutils.h75 #ifndef SOCKET
76 #define SOCKET int macro
203 int sock_recv(SOCKET sock, void *buffer, size_t size, int receiveall,
205 int sock_recv_dgram(SOCKET sock, void *buffer, size_t size,
207 SOCKET sock_open(struct addrinfo *addrinfo, int server, int nconn, char *errbuf, int errbuflen);
208 int sock_close(SOCKET sock, char *errbuf, int errbuflen);
210 int sock_send(SOCKET sock, const char *buffer, size_t size,
213 int sock_discard(SOCKET sock, int size, char *errbuf, int errbuflen);
217 int sock_getmyinfo(SOCKET sock, char *address, int addrlen, char *port, int portlen, int flags, cha…
Dpcap-rpcap.c85 SOCKET sockctrl;
99 static SOCKET sockmain;
112 SOCKET rmt_sockctrl; /* socket ID of the socket used for the control connection */
113 SOCKET rmt_sockdata; /* socket ID of the socket used for the data connection */
158 static int rpcap_sendauth(SOCKET sock, uint8 *ver, struct pcap_rmtauth *auth, char *errbuf);
159 static int rpcap_recv_msg_header(SOCKET sock, struct rpcap_header *header, char *errbuf);
160 static int rpcap_check_msg_ver(SOCKET sock, uint8 expected_ver, struct rpcap_header *header, char *…
161 static int rpcap_check_msg_type(SOCKET sock, uint8 request_type, struct rpcap_header *header, uint1…
162 static int rpcap_process_msg_header(SOCKET sock, uint8 ver, uint8 request_type, struct rpcap_header…
163 static int rpcap_recv(SOCKET sock, void *buffer, size_t toread, uint32 *plen, char *errbuf);
[all …]
Dsockutils.c320 SOCKET sock_open(struct addrinfo *addrinfo, int server, int nconn, char *errbuf, int errbuflen)
322 SOCKET sock;
502 int sock_close(SOCKET sock, char *errbuf, int errbuflen)
647 int sock_send(SOCKET sock, const char *buffer, size_t size,
842 int sock_recv(SOCKET sock, void *buffer, size_t size, int flags,
931 int sock_recv_dgram(SOCKET sock, void *buffer, size_t size,
1066 int sock_discard(SOCKET sock, int size, char *errbuf, int errbuflen)
1304 int sock_getmyinfo(SOCKET sock, char *address, int addrlen, char *port, int portlen, int flags, cha…
/external/webrtc/webrtc/base/
Dphysicalsocketserver.h23 typedef int SOCKET; typedef
50 virtual SOCKET GetSocket() = 0;
72 AsyncSocket* WrapSocket(SOCKET s);
121 PhysicalSocket(PhysicalSocketServer* ss, SOCKET s = INVALID_SOCKET);
162 virtual SOCKET DoAccept(SOCKET socket, sockaddr* addr, socklen_t* addrlen);
172 SOCKET s_;
188 SocketDispatcher(SOCKET s, PhysicalSocketServer *ss);
198 SOCKET GetSocket() override;
Dwin32socketserver.h37 int Attach(SOCKET s);
68 void OnSocketNotify(SOCKET socket, int event, int error);
71 SOCKET socket_;
/external/grpc-grpc/src/core/lib/iomgr/
Dendpoint_pair_windows.cc36 static void create_sockets(SOCKET sv[2]) { in create_sockets()
37 SOCKET svr_sock = INVALID_SOCKET; in create_sockets()
38 SOCKET lst_sock = INVALID_SOCKET; in create_sockets()
39 SOCKET cli_sock = INVALID_SOCKET; in create_sockets()
75 SOCKET sv[2]; in grpc_iomgr_create_endpoint_pair()
Dsocket_windows.h72 SOCKET socket;
93 grpc_winsocket* grpc_winsocket_create(SOCKET socket, const char* name);
95 SOCKET grpc_winsocket_wrapped_socket(grpc_winsocket* socket);
Dtcp_windows.h47 grpc_error* grpc_tcp_prepare_socket(SOCKET sock);
49 grpc_error* grpc_tcp_set_non_block(SOCKET sock);
Dsocket_windows.cc42 grpc_winsocket* grpc_winsocket_create(SOCKET socket, const char* name) { in grpc_winsocket_create()
55 SOCKET grpc_winsocket_wrapped_socket(grpc_winsocket* socket) { in grpc_winsocket_wrapped_socket()
160 SOCKET s = socket(AF_INET6, SOCK_STREAM, 0); in probe_ipv6_once()
/external/swiftshader/src/System/
DSocket.hpp22 typedef int SOCKET; typedef
30 Socket(SOCKET socket);
45 SOCKET socket;
/external/swiftshader/src/Common/
DSocket.hpp22 typedef int SOCKET; typedef
30 Socket(SOCKET socket);
45 SOCKET socket;
/external/webrtc/webrtc/test/channel_transport/
Dudp_socket_manager_posix.cc204 for (std::map<SOCKET, UdpSocketPosix*>::iterator it = in ~UdpSocketManagerPosixImpl()
249 SOCKET maxFd = 0; in Process()
250 for (std::map<SOCKET, UdpSocketPosix*>::iterator it = _socketMap.begin(); in Process()
277 for (std::map<SOCKET, UdpSocketPosix*>::iterator it = _socketMap.begin(); in Process()
347 SOCKET removeFD = *iter; in UpdateSocketMap()
354 SOCKET addFD = addSocket->GetFd(); in UpdateSocketMap()
364 std::map<SOCKET, UdpSocketPosix*>::iterator it = in UpdateSocketMap()
Dudp_socket_manager_posix.h77 typedef std::list<SOCKET> FdList;
83 std::map<SOCKET, UdpSocketPosix*> _socketMap;
/external/libpcap/rpcapd/
Drpcapd.c71 SOCKET sock;
102 static void accept_connection(SOCKET listen_sock);
549 SOCKET sock; in main_startup()
1041 accept_connection(SOCKET listen_sock) in accept_connection()
1044 SOCKET sockctrl; // keeps the socket ID for this control connection in accept_connection()
1051 SOCKET *sockctrl_temp; in accept_connection()
1133 sockctrl_temp = (SOCKET *)malloc(sizeof (SOCKET)); in accept_connection()
1224 SOCKET sockctrl; // keeps the socket ID for this control connection in main_active()
1293 SOCKET sockctrl; in main_passive_serviceloop_thread()
1295 sockctrl = *((SOCKET *)ptr); in main_passive_serviceloop_thread()
Ddaemon.h40 int daemon_serviceloop(SOCKET sockctrl_in, SOCKET sockctrl_out, int isactive,
Ddaemon.c73 SOCKET sockctrl_in; //!< SOCKET ID of the input side of the control connection
74 SOCKET sockctrl_out; //!< SOCKET ID of the output side of the control connection
84 SOCKET sockctrl_out;
85 SOCKET sockdata;
109 static int daemon_msg_err(SOCKET sockctrl_in, uint32 plen);
120 static int daemon_unpackapplyfilter(SOCKET sockctrl_in, struct session *session, uint32 *plenp, cha…
133 static int rpcapd_recv_msg_header(SOCKET sock, struct rpcap_header *headerp);
134 static int rpcapd_recv(SOCKET sock, char *buffer, size_t toread, uint32 *plen, char *errmsgbuf);
135 static int rpcapd_discard(SOCKET sock, uint32 len);
138 daemon_serviceloop(SOCKET sockctrl_in, SOCKET sockctrl_out, int isactive, int nullAuthAllowed) in daemon_serviceloop()
[all …]
/external/grpc-grpc/third_party/cares/config_windows/
Dares_config.h347 #define RECVFROM_TYPE_ARG1 SOCKET
377 #define RECV_TYPE_ARG1 SOCKET
398 #define SEND_TYPE_ARG1 SOCKET
/external/libxml2/include/libxml/
Dnanoftp.h27 #define SOCKET int macro
137 XMLPUBFUN SOCKET XMLCALL
146 XMLPUBFUN SOCKET XMLCALL
/external/curl/lib/
Dconfig-win32ce.h253 #define RECV_TYPE_ARG1 SOCKET
271 #define RECVFROM_TYPE_ARG1 SOCKET
295 #define SEND_TYPE_ARG1 SOCKET
Dconfig-win32.h300 #define RECV_TYPE_ARG1 SOCKET
318 #define RECVFROM_TYPE_ARG1 SOCKET
342 #define SEND_TYPE_ARG1 SOCKET
464 #define SOCKET int macro
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver_windows.cc282 SOCKET s = grpc_winsocket_wrapped_socket(winsocket_); in Connect()
382 SockToPolledFdEntry(SOCKET s, GrpcPolledFdWindows* fd) in SockToPolledFdEntry()
384 SOCKET socket;
405 void AddNewSocket(SOCKET s, GrpcPolledFdWindows* polled_fd) { in AddNewSocket()
411 GrpcPolledFdWindows* LookupPolledFd(SOCKET s) { in LookupPolledFd()
422 void RemoveEntry(SOCKET s) { in RemoveEntry()
445 SOCKET s = WSASocket(af, type, protocol, nullptr, 0, WSA_FLAG_OVERLAPPED); in Socket()
478 static int CloseSocket(SOCKET s, void* user_data) { in CloseSocket()
/external/libevent/
Diocp-internal.h58 typedef BOOL (WINAPI *AcceptExPtr)(SOCKET, SOCKET, PVOID, DWORD, DWORD, DWORD, LPDWORD, LPOVERLAPPE…
59 typedef BOOL (WINAPI *ConnectExPtr)(SOCKET, const struct sockaddr *, int, PVOID, DWORD, LPDWORD, LP…
Dwin32select.c61 SOCKET fd_array[1];
101 #define FD_SET_ALLOC_SIZE(n) ((sizeof(struct win_fd_set) + ((n)-1)*sizeof(SOCKET)))
164 SOCKET s2; in do_fd_clear()
265 memcpy(out->fd_array, in->fd_array, in->fd_count * (sizeof(SOCKET))); in fd_set_copy()
286 SOCKET s; in win32_dispatch()
353 SOCKET s; in win32_dispatch()
/external/python/cpython2/Modules/_multiprocessing/
Dsocket_connection.c16 # define WRITE(h, buffer, length) send((SOCKET)h, buffer, length, 0)
17 # define READ(h, buffer, length) recv((SOCKET)h, buffer, length, 0)
18 # define CLOSE(h) closesocket((SOCKET)h)
241 FD_SET((SOCKET)conn->handle, &rfds); in conn_poll()
/external/python/cpython3/Modules/_multiprocessing/
Dmultiprocessing.c63 ret = closesocket((SOCKET) handle); in multiprocessing_closesocket()
86 nread = recv((SOCKET) handle, PyBytes_AS_STRING(buf), size, 0); in multiprocessing_recv()
110 ret = send((SOCKET) handle, buf.buf, length, 0); in multiprocessing_send()

1234