Lines Matching defs:remote_errbuf
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)
3492 if (sock_recv(sockctrl, ssl, remote_errbuf, PCAP_ERRBUF_SIZE - 1,
3498 snprintf(remote_errbuf, PCAP_ERRBUF_SIZE, "Read of error message from client failed: %s", errbuf);
3506 remote_errbuf[PCAP_ERRBUF_SIZE - 1] = '\0';
3514 utf_8_to_acp_truncated(remote_errbuf);
3520 (void)rpcap_discard(sockctrl, ssl, plen - (PCAP_ERRBUF_SIZE - 1), remote_errbuf);
3525 remote_errbuf[0] = '\0';
3529 if (sock_recv(sockctrl, ssl, remote_errbuf, plen,
3535 snprintf(remote_errbuf, PCAP_ERRBUF_SIZE, "Read of error message from client failed: %s", errbuf);
3543 remote_errbuf[plen] = '\0';