Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/libpcap/
H A Dpcap-rpcap.c163 static void rpcap_msg_err(SOCKET sockctrl, uint32 plen, char *remote_errbuf);
3098 static void rpcap_msg_err(SOCKET sockctrl, uint32 plen, char *remote_errbuf) in rpcap_msg_err() argument
3108 if (sock_recv(sockctrl, remote_errbuf, PCAP_ERRBUF_SIZE - 1, in rpcap_msg_err()
3113 …pcap_snprintf(remote_errbuf, PCAP_ERRBUF_SIZE, "Read of error message from client failed: %s", err… in rpcap_msg_err()
3120 remote_errbuf[PCAP_ERRBUF_SIZE - 1] = '\0'; in rpcap_msg_err()
3125 (void)rpcap_discard(sockctrl, plen - (PCAP_ERRBUF_SIZE - 1), remote_errbuf); in rpcap_msg_err()
3130 remote_errbuf[0] = '\0'; in rpcap_msg_err()
3134 if (sock_recv(sockctrl, remote_errbuf, plen, in rpcap_msg_err()
3139 …pcap_snprintf(remote_errbuf, PCAP_ERRBUF_SIZE, "Read of error message from client failed: %s", err… in rpcap_msg_err()
3146 remote_errbuf[plen] = '\0'; in rpcap_msg_err()
/freebsd-13.1/contrib/libpcap/rpcapd/
H A Ddaemon.c888 char remote_errbuf[PCAP_ERRBUF_SIZE]; in daemon_msg_err() local
896 if (sock_recv(sockctrl, remote_errbuf, PCAP_ERRBUF_SIZE - 1, in daemon_msg_err()
913 remote_errbuf[PCAP_ERRBUF_SIZE - 1] = '\0'; in daemon_msg_err()
918 remote_errbuf[0] = '\0'; in daemon_msg_err()
922 if (sock_recv(sockctrl, remote_errbuf, plen, in daemon_msg_err()
934 remote_errbuf[plen] = '\0'; in daemon_msg_err()
937 rpcapd_log(LOGPRIO_ERROR, "Error from client: %s", remote_errbuf); in daemon_msg_err()