Searched refs:tp_block_size (Results 1 – 12 of 12) sorted by relevance
/external/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt02.c | 49 unsigned int tp_block_size; member 78 req.tp_block_size = pgsz; in create_skbuf() 80 req.tp_frame_size = req.tp_block_size; in create_skbuf()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | psock_tpacket.c | 636 ring->req.tp_block_size = getpagesize() << 2; in __v1_v2_fill() 640 ring->req.tp_frame_nr = ring->req.tp_block_size / in __v1_v2_fill() 644 ring->mm_len = ring->req.tp_block_size * ring->req.tp_block_nr; in __v1_v2_fill() 657 ring->req3.tp_block_size = getpagesize() << 2; in __v3_fill() 661 ring->req3.tp_frame_nr = ring->req3.tp_block_size / in __v3_fill() 665 ring->mm_len = ring->req3.tp_block_size * ring->req3.tp_block_nr; in __v3_fill() 668 ring->flen = ring->req3.tp_block_size; in __v3_fill()
|
D | txring_overwrite.c | 105 req.tp_block_size = getpagesize(); in setup_tx() 114 *ring = mmap(0, req.tp_block_size * req.tp_block_nr, in setup_tx()
|
D | psock_fanout.c | 179 .tp_block_size = getpagesize(), in sock_fanout_open_ring() 198 ring = mmap(0, req.tp_block_size * req.tp_block_nr, in sock_fanout_open_ring()
|
/external/iproute2/include/uapi/linux/ |
D | if_packet.h | 270 unsigned int tp_block_size; /* Minimal size of contiguous block */ member 277 unsigned int tp_block_size; /* Minimal size of contiguous block */ member
|
/external/kernel-headers/original/uapi/linux/ |
D | if_packet.h | 272 unsigned int tp_block_size; /* Minimal size of contiguous block */ member 279 unsigned int tp_block_size; /* Minimal size of contiguous block */ member
|
/external/strace/tests-m32/ |
D | net-tpacket_req.c | 32 optname_str, tpreq->tp_block_size, tpreq->tp_block_nr, in test_tpacket_req()
|
/external/strace/tests/ |
D | net-tpacket_req.c | 32 optname_str, tpreq->tp_block_size, tpreq->tp_block_nr, in test_tpacket_req()
|
/external/strace/tests-mx32/ |
D | net-tpacket_req.c | 32 optname_str, tpreq->tp_block_size, tpreq->tp_block_nr, in test_tpacket_req()
|
/external/android-clat/ |
D | ring.c | 59 .tp_block_size = TP_BLOCK_SIZE, // Frames per block. in ring_create()
|
/external/libpcap/ |
D | pcap-linux.c | 3063 req.tp_block_size = getpagesize(); in create_ring() 3064 while (req.tp_block_size < req.tp_frame_size) in create_ring() 3065 req.tp_block_size <<= 1; in create_ring() 3067 frames_per_block = req.tp_block_size/req.tp_frame_size; in create_ring() 3240 handlep->mmapbuflen = req.tp_block_nr * req.tp_block_size; in create_ring() 3268 u_char *base = &handlep->mmapbuf[i*req.tp_block_size]; in create_ring()
|
/external/strace/ |
D | net.c | 942 PRINT_FIELD_U("{", req, tp_block_size); in print_tpacket_req()
|