Home
last modified time | relevance | path

Searched refs:tp_block_size (Results 1 – 12 of 12) sorted by relevance

/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt02.c49 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/
Dpsock_tpacket.c636 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()
Dtxring_overwrite.c105 req.tp_block_size = getpagesize(); in setup_tx()
114 *ring = mmap(0, req.tp_block_size * req.tp_block_nr, in setup_tx()
Dpsock_fanout.c179 .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/
Dif_packet.h270 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/
Dif_packet.h272 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/
Dnet-tpacket_req.c32 optname_str, tpreq->tp_block_size, tpreq->tp_block_nr, in test_tpacket_req()
/external/strace/tests/
Dnet-tpacket_req.c32 optname_str, tpreq->tp_block_size, tpreq->tp_block_nr, in test_tpacket_req()
/external/strace/tests-mx32/
Dnet-tpacket_req.c32 optname_str, tpreq->tp_block_size, tpreq->tp_block_nr, in test_tpacket_req()
/external/android-clat/
Dring.c59 .tp_block_size = TP_BLOCK_SIZE, // Frames per block. in ring_create()
/external/libpcap/
Dpcap-linux.c3063 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/
Dnet.c942 PRINT_FIELD_U("{", req, tp_block_size); in print_tpacket_req()