Searched refs:mmapbuf (Results 1 - 2 of 2) sorted by relevance

/external/libpcap/
H A Dpcap-usb-linux.c124 u_char *mmapbuf; /* memory-mapped region pointer */ member in struct:pcap_usb_linux
219 handlep->mmapbuf = mmap(0, handlep->mmapbuflen, PROT_READ,
221 return handlep->mmapbuf != MAP_FAILED;
889 hdr = (pcap_usb_header*) &handlep->mmapbuf[vec[i]];
934 if (handlep->mmapbuf != NULL) {
935 munmap(handlep->mmapbuf, handlep->mmapbuflen);
936 handlep->mmapbuf = NULL;
H A Dpcap-linux.c307 u_char *mmapbuf; /* memory-mapped region pointer */ member in struct:pcap_linux
4159 handlep->mmapbuf = mmap(0, handlep->mmapbuflen,
4161 if (handlep->mmapbuf == MAP_FAILED) {
4187 void *base = &handlep->mmapbuf[i*req.tp_block_size];
4213 if (handlep->mmapbuf) {
4215 (void)munmap(handlep->mmapbuf, handlep->mmapbuflen);
4216 handlep->mmapbuf = NULL;

Completed in 88 milliseconds