Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-rpcap.c235 FD_SET(md->rmt_sockdata, &rfds); in pcap_read_nocb_remote()
237 retval = select((int) md->rmt_sockdata + 1, &rfds, NULL, NULL, &tv); in pcap_read_nocb_remote()
264 …if (sock_recv(md->rmt_sockdata, netbuf, RPCAP_NETBUF_SIZE, SOCK_RECEIVEALL_NO, p->errbuf, PCAP_ERR… in pcap_read_nocb_remote()
269 …if (sock_recv(md->rmt_sockdata, netbuf, sizeof(struct rpcap_header), SOCK_RECEIVEALL_YES, p->errbu… in pcap_read_nocb_remote()
274 retval = rpcap_checkmsg(p->errbuf, md->rmt_sockdata, header, RPCAP_MSG_PACKET, 0); in pcap_read_nocb_remote()
297 nread = sock_recv(md->rmt_sockdata, (char *)net_pkt_header, in pcap_read_nocb_remote()
348 nread = sock_recv(md->rmt_sockdata, *pkt_data, in pcap_read_nocb_remote()
358 sock_discard(md->rmt_sockdata, ntohl(header->plen) - totread, NULL, 0); in pcap_read_nocb_remote()
462 if (md->rmt_sockdata) in pcap_cleanup_remote()
464 sock_close(md->rmt_sockdata, NULL, 0); in pcap_cleanup_remote()
[all …]
Dpcap-rpcap.h383 SOCKET rmt_sockdata; //!< socket ID of the socket used for the data connection member