HomeSort by: relevance | last modified time | path
    Searched defs:mmapbuf (Results 1 - 2 of 2) sorted by relevancy

  /src/external/bsd/libpcap/dist/
pcap-usb-linux.c 134 u_char *mmapbuf; /* memory-mapped region pointer */ member in struct:pcap_usb_linux
310 handlep->mmapbuf = mmap(0, handlep->mmapbuflen, PROT_READ,
312 if (handlep->mmapbuf == MAP_FAILED) {
850 bp = &handlep->mmapbuf[vec[i]];
963 if (handlep->mmapbuf != NULL) {
964 munmap(handlep->mmapbuf, handlep->mmapbuflen);
965 handlep->mmapbuf = NULL;
pcap-linux.c 205 u_char *mmapbuf; /* memory-mapped region pointer */ member in struct:pcap_linux
3428 handlep->mmapbuf = mmap(0, handlep->mmapbuflen,
3430 if (handlep->mmapbuf == MAP_FAILED) {
3453 u_char *base = &handlep->mmapbuf[i*req.tp_block_size];
3483 if (handlep->mmapbuf) {
3485 (void)munmap(handlep->mmapbuf, handlep->mmapbuflen);
3486 handlep->mmapbuf = NULL;

Completed in 41 milliseconds