Home
last modified time | relevance | path

Searched refs:remote_errbuf (Results 1 – 2 of 2) sorted by relevance

/external/libpcap/
Dpcap-rpcap.c164 static void rpcap_msg_err(SOCKET sockctrl, uint32 plen, char *remote_errbuf);
3176 static void rpcap_msg_err(SOCKET sockctrl, uint32 plen, char *remote_errbuf) in rpcap_msg_err() argument
3186 if (sock_recv(sockctrl, remote_errbuf, PCAP_ERRBUF_SIZE - 1, in rpcap_msg_err()
3191 …pcap_snprintf(remote_errbuf, PCAP_ERRBUF_SIZE, "Read of error message from client failed: %s", err… in rpcap_msg_err()
3198 remote_errbuf[PCAP_ERRBUF_SIZE - 1] = '\0'; in rpcap_msg_err()
3203 (void)rpcap_discard(sockctrl, plen - (PCAP_ERRBUF_SIZE - 1), remote_errbuf); in rpcap_msg_err()
3208 remote_errbuf[0] = '\0'; in rpcap_msg_err()
3212 if (sock_recv(sockctrl, remote_errbuf, plen, in rpcap_msg_err()
3217 …pcap_snprintf(remote_errbuf, PCAP_ERRBUF_SIZE, "Read of error message from client failed: %s", err… in rpcap_msg_err()
3224 remote_errbuf[plen] = '\0'; in rpcap_msg_err()
/external/libpcap/rpcapd/
Ddaemon.c891 char remote_errbuf[PCAP_ERRBUF_SIZE]; in daemon_msg_err() local
899 if (sock_recv(sockctrl_in, remote_errbuf, PCAP_ERRBUF_SIZE - 1, in daemon_msg_err()
916 remote_errbuf[PCAP_ERRBUF_SIZE - 1] = '\0'; in daemon_msg_err()
921 remote_errbuf[0] = '\0'; in daemon_msg_err()
925 if (sock_recv(sockctrl_in, remote_errbuf, plen, in daemon_msg_err()
937 remote_errbuf[plen] = '\0'; in daemon_msg_err()
940 rpcapd_log(LOGPRIO_ERROR, "Error from client: %s", remote_errbuf); in daemon_msg_err()