Home
last modified time | relevance | path

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

/freebsd/contrib/libpcap/
H A Dpcap-usb-linux.c128 size_t mmapbuflen; /* size of region */ member
302 handlep->mmapbuflen = len; in usb_mmap()
303 handlep->mmapbuf = mmap(0, handlep->mmapbuflen, PROT_READ, in usb_mmap()
957 munmap(handlep->mmapbuf, handlep->mmapbuflen); in usb_cleanup_linux_mmap()
H A Dpcap-linux.c200 size_t mmapbuflen; /* size of region */ member
3284 handlep->mmapbuflen = req.tp_block_nr * req.tp_block_size; in create_ring()
3285 handlep->mmapbuf = mmap(0, handlep->mmapbuflen, in create_ring()
3342 (void)munmap(handlep->mmapbuf, handlep->mmapbuflen); in destroy_ring()