Home
last modified time | relevance | path

Searched refs:sockctrl (Results 1 – 5 of 5) sorted by relevance

/external/libpcap/rpcapd/
Ddaemon.c98 SOCKET sockctrl; //!< SOCKET ID of the control connection member
113 SOCKET sockctrl; member
128 static int daemon_msg_err(SOCKET sockctrl, SSL *, uint32 plen);
145 static int daemon_unpackapplyfilter(SOCKET sockctrl, SSL *, struct session *session, uint32 *plenp,…
214 daemon_serviceloop(SOCKET sockctrl, int isactive, char *passiveClients, in daemon_serviceloop() argument
263 nrecv = sock_recv(sockctrl, NULL, (char *)&first_octet, 1, in daemon_serviceloop()
303 nrecv = rpcapd_recv_msg_header(sockctrl, NULL, &header); in daemon_serviceloop()
317 if (rpcapd_discard(sockctrl, NULL, plen) == -1) in daemon_serviceloop()
327 if (rpcap_senderror(sockctrl, NULL, header.ver, in daemon_serviceloop()
339 ssl = ssl_promotion(1, sockctrl, errbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop()
[all …]
Drpcapd.c420 int sockctrl; in main() local
426 sockctrl = dup(0); in main()
427 if (sockctrl == -1) in main()
462 (void)daemon_serviceloop(sockctrl, 0, hostlist_copy, in main()
1123 SOCKET sockctrl; member
1136 SOCKET sockctrl; // keeps the socket ID for this control connection in accept_connection() local
1156 sockctrl = accept(listen_sock, (struct sockaddr *) &from, &fromlen); in accept_connection()
1158 if (sockctrl != INVALID_SOCKET) in accept_connection()
1198 if (WSAEventSelect(sockctrl, NULL, 0) == SOCKET_ERROR) in accept_connection()
1202 sock_close(sockctrl, NULL, 0); in accept_connection()
[all …]
Ddaemon.h47 int daemon_serviceloop(SOCKET sockctrl, int isactive, char *passiveClients,
/external/libpcap/
Dpcap-rpcap.c93 SOCKET sockctrl; member
175 static void rpcap_msg_err(SOCKET sockctrl, SSL *, uint32 plen, char *remote_errbuf);
724 if (temp->sockctrl == pr->rmt_sockctrl) in pcap_cleanup_rpcap()
1103 if (temp->sockctrl == pr->rmt_sockctrl) in pcap_startcapture_remote()
1914 static int rpcap_doauth(SOCKET sockctrl, SSL *ssl, uint8 *ver, struct pcap_rmtauth *auth, char *err… in rpcap_doauth() argument
2013 if (sock_send(sockctrl, ssl, sendbuf, sendbufidx, errbuf, in rpcap_doauth()
2018 if (rpcap_process_msg_header(sockctrl, ssl, 0, RPCAP_MSG_AUTH_REQ, in rpcap_doauth()
2034 (void)rpcap_discard(sockctrl, ssl, plen, NULL); in rpcap_doauth()
2039 if (rpcap_recv(sockctrl, ssl, (char *)&authreply, in rpcap_doauth()
2042 (void)rpcap_discard(sockctrl, ssl, plen, NULL); in rpcap_doauth()
[all …]
/external/libpcap/testprogs/fuzz/
Dfuzz_rserver.c37 int daemon_serviceloop(int sockctrl, int isactive, char *passiveClients, int nullAuthAllowed, int u…