Searched refs:rpcap_header (Results 1 – 3 of 3) sorted by relevance
/external/libpcap/ |
D | pcap-rpcap.c | 89 static int rpcap_checkver(SOCKET sock, struct rpcap_header *header, char *errbuf); 207 struct rpcap_header *header; /* general header according to the RPCAP format */ in pcap_read_nocb_remote() 258 header = (struct rpcap_header *) netbuf; in pcap_read_nocb_remote() 259 net_pkt_header = (struct rpcap_pkthdr *) (netbuf + sizeof(struct rpcap_header)); 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() 333 …memcpy(*pkt_data, netbuf + sizeof(struct rpcap_header) + sizeof(struct rpcap_pkthdr), (*pkt_header… in pcap_read_nocb_remote() 421 struct rpcap_header header; /* header of the RPCAP packet */ in pcap_cleanup_remote() 445 sock_send(md->rmt_sockctrl, (char *)&header, sizeof(struct rpcap_header), NULL, 0); in pcap_cleanup_remote() 452 sock_send(md->rmt_sockctrl, (char *)&header, sizeof(struct rpcap_header), NULL, 0); in pcap_cleanup_remote() 456 …sock_recv(md->rmt_sockctrl, (char *)&header, sizeof(struct rpcap_header), SOCK_RECEIVEALL_YES, NUL… in pcap_cleanup_remote() [all …]
|
D | pcap-rpcap.h | 151 struct rpcap_header struct 456 void rpcap_createhdr(struct rpcap_header *header, uint8 type, uint16 value, uint32 length); 458 int rpcap_checkmsg(char *errbuf, SOCKET sock, struct rpcap_header *header, uint8 first, ...);
|
D | pcap-new.c | 94 struct rpcap_header header; /* structure that keeps the general header of the rpcap protocol */ in pcap_findalldevs_ex() 401 …if (sock_send(sockctrl, (char *)&header, sizeof(struct rpcap_header), errbuf, PCAP_ERRBUF_SIZE) ==… in pcap_findalldevs_ex() 404 …if (sock_recv(sockctrl, (char *)&header, sizeof(struct rpcap_header), SOCK_RECEIVEALL_YES, errbuf,… in pcap_findalldevs_ex() 1163 struct rpcap_header header; in pcap_remoteact_close() 1169 … sock_send(temp->sockctrl, (char *)&header, sizeof(struct rpcap_header), errbuf, PCAP_ERRBUF_SIZE); in pcap_remoteact_close()
|