Lines Matching refs:rpcap_discard
165 static int rpcap_discard(SOCKET sock, uint32 len, char *errbuf);
743 (void)rpcap_discard(pr->rmt_sockctrl, in pcap_cleanup_rpcap()
910 if (rpcap_discard(pr->rmt_sockctrl, plen, p->errbuf) == -1) in rpcap_stats_rpcap()
921 (void)rpcap_discard(pr->rmt_sockctrl, plen, NULL); in rpcap_stats_rpcap()
1337 if (rpcap_discard(pr->rmt_sockctrl, plen, fp->errbuf) == -1) in pcap_startcapture_remote()
1377 (void)rpcap_discard(pr->rmt_sockctrl, plen, NULL); in pcap_startcapture_remote()
1529 if (rpcap_discard(pr->rmt_sockctrl, header.plen, fp->errbuf) == -1) in pcap_updatefilter_remote()
1774 if (rpcap_discard(pr->rmt_sockctrl, header.plen, fp->errbuf) == -1) in pcap_setsampling_remote()
2040 if (rpcap_discard(sock, header.plen, errbuf) == -1) in rpcap_sendauth()
2280 if (rpcap_discard(pr->rmt_sockctrl, plen, errbuf) == -1) in pcap_open_rpcap()
2318 (void)rpcap_discard(pr->rmt_sockctrl, plen, NULL); in pcap_open_rpcap()
2651 if (rpcap_discard(sockctrl, plen, errbuf) == 1) in pcap_findalldevs_ex_remote()
2681 (void) rpcap_discard(sockctrl, plen, NULL); in pcap_findalldevs_ex_remote()
3030 if (rpcap_discard(sock, header->plen, errbuf) == -1) in rpcap_check_msg_ver()
3085 if (rpcap_discard(sock, header->plen, errbuf) == -1) in rpcap_check_msg_type()
3203 (void)rpcap_discard(sockctrl, plen - (PCAP_ERRBUF_SIZE - 1), remote_errbuf); in rpcap_msg_err()
3234 static int rpcap_discard(SOCKET sock, uint32 len, char *errbuf) in rpcap_discard() function