Lines Matching refs:mmap
5 This file documents the mmap() facility available with the PACKET
47 + How to use mmap() to improve capture process
67 + How to use mmap() directly to improve capture process
77 mmap() ---------> mapping of the allocated buffer to the
103 allocated RX and TX buffer ring with a single mmap() call.
111 + How to use mmap() directly to improve transmission process
119 mmap() ---------> mapping of the allocated buffer to the
410 mmap function. Even the circular buffer is compound of several physically
412 just one call to mmap is needed:
414 mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
423 RX and TX buffer ring has to be done with one call to mmap:
429 rx_ring = mmap(0, size * 2, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
584 processes. This also works in combination with mmap(2) on packet sockets.
841 ring->map = mmap(NULL, ring->req.tp_block_size * ring->req.tp_block_nr,
844 perror("mmap");
1012 the packet meta information for mmap(2)ed RX_RING and TX_RINGs. If your
1023 For the mmap(2)ed ring buffers, such timestamps are stored in the