Searched refs:remote_errbuf (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/libpcap/ |
H A D | pcap-rpcap.c | 178 static void rpcap_msg_err(PCAP_SOCKET sockctrl, SSL *, uint32 plen, char *remote_errbuf); 3482 static void rpcap_msg_err(PCAP_SOCKET sockctrl, SSL *ssl, uint32 plen, char *remote_errbuf) in rpcap_msg_err() argument 3492 if (sock_recv(sockctrl, ssl, remote_errbuf, PCAP_ERRBUF_SIZE - 1, in rpcap_msg_err() 3498 … snprintf(remote_errbuf, PCAP_ERRBUF_SIZE, "Read of error message from client failed: %s", errbuf); in rpcap_msg_err() 3506 remote_errbuf[PCAP_ERRBUF_SIZE - 1] = '\0'; in rpcap_msg_err() 3514 utf_8_to_acp_truncated(remote_errbuf); in rpcap_msg_err() 3520 (void)rpcap_discard(sockctrl, ssl, plen - (PCAP_ERRBUF_SIZE - 1), remote_errbuf); in rpcap_msg_err() 3525 remote_errbuf[0] = '\0'; in rpcap_msg_err() 3529 if (sock_recv(sockctrl, ssl, remote_errbuf, plen, in rpcap_msg_err() 3535 … snprintf(remote_errbuf, PCAP_ERRBUF_SIZE, "Read of error message from client failed: %s", errbuf); in rpcap_msg_err() [all …]
|
/freebsd/contrib/libpcap/rpcapd/ |
H A D | daemon.c | 1142 char remote_errbuf[PCAP_ERRBUF_SIZE]; in daemon_msg_err() local 1150 if (sock_recv(sockctrl, ssl, remote_errbuf, PCAP_ERRBUF_SIZE - 1, in daemon_msg_err() 1167 remote_errbuf[PCAP_ERRBUF_SIZE - 1] = '\0'; in daemon_msg_err() 1172 remote_errbuf[0] = '\0'; in daemon_msg_err() 1176 if (sock_recv(sockctrl, ssl, remote_errbuf, plen, in daemon_msg_err() 1188 remote_errbuf[plen] = '\0'; in daemon_msg_err() 1191 rpcapd_log(LOGPRIO_ERROR, "Error from client: %s", remote_errbuf); in daemon_msg_err()
|