Home
last modified time | relevance | path

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

/freebsd/contrib/libpcap/rpcapd/
H A Ddaemon.c96 PCAP_SOCKET sockctrl; //!< PCAP_SOCKET ID of the control connection member
111 PCAP_SOCKET sockctrl; member
126 static int daemon_msg_err(PCAP_SOCKET sockctrl, SSL *, uint32 plen);
143 static int daemon_unpackapplyfilter(PCAP_SOCKET sockctrl, SSL *, struct session *session, uint32 *p…
212 daemon_serviceloop(PCAP_SOCKET sockctrl, int isactive, char *passiveClients, in daemon_serviceloop() argument
261 nrecv = sock_recv(sockctrl, NULL, (char *)&first_octet, 1, in daemon_serviceloop()
301 nrecv = rpcapd_recv_msg_header(sockctrl, NULL, &header); in daemon_serviceloop()
315 if (rpcapd_discard(sockctrl, NULL, plen) == -1) in daemon_serviceloop()
325 if (rpcap_senderror(sockctrl, NULL, header.ver, in daemon_serviceloop()
337 ssl = ssl_promotion(1, sockctrl, errbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop()
[all …]
H A Drpcapd.c425 int sockctrl; in main() local
431 sockctrl = dup(0); in main()
432 if (sockctrl == -1) in main()
467 (void)daemon_serviceloop(sockctrl, 0, hostlist_copy, in main()
1130 PCAP_SOCKET sockctrl; member
1143 PCAP_SOCKET sockctrl; // keeps the socket ID for this control connection in accept_connection() local
1163 sockctrl = accept(listen_sock, (struct sockaddr *) &from, &fromlen); in accept_connection()
1165 if (sockctrl != INVALID_SOCKET) in accept_connection()
1205 if (WSAEventSelect(sockctrl, NULL, 0) == SOCKET_ERROR) in accept_connection()
1210 sock_close(sockctrl, NULL, 0); in accept_connection()
[all …]
H A Ddaemon.h45 int daemon_serviceloop(PCAP_SOCKET sockctrl, int isactive, char *passiveClients,
/freebsd/contrib/libpcap/
H A Dpcap-rpcap.c94 PCAP_SOCKET sockctrl; member
178 static void rpcap_msg_err(PCAP_SOCKET sockctrl, SSL *, uint32 plen, char *remote_errbuf);
751 if (temp->sockctrl == pr->rmt_sockctrl) in pcap_cleanup_rpcap()
1132 if (temp->sockctrl == pr->rmt_sockctrl) in pcap_startcapture_remote()
1974 static int rpcap_doauth(PCAP_SOCKET sockctrl, SSL *ssl, uint8 *ver, in rpcap_doauth() argument
2076 if (sock_send(sockctrl, ssl, sendbuf, sendbufidx, errbuf, in rpcap_doauth()
2081 if (rpcap_process_msg_header(sockctrl, ssl, 0, RPCAP_MSG_AUTH_REQ, in rpcap_doauth()
2101 (void)rpcap_discard(sockctrl, ssl, plen, NULL); in rpcap_doauth()
2126 (void)rpcap_discard(sockctrl, ssl, plen, NULL); in rpcap_doauth()
2131 if (rpcap_recv(sockctrl, ssl, (char *)&authreply, in rpcap_doauth()
[all …]