Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt02.c61 unsigned int tp_block_size; member
90 req.tp_block_size = pgsz; in create_skbuf()
92 req.tp_frame_size = req.tp_block_size; in create_skbuf()
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_tpacket.c648 ring->req.tp_block_size = getpagesize() << 2; in __v1_v2_fill()
652 ring->req.tp_frame_nr = ring->req.tp_block_size / in __v1_v2_fill()
656 ring->mm_len = ring->req.tp_block_size * ring->req.tp_block_nr; in __v1_v2_fill()
669 ring->req3.tp_block_size = getpagesize() << 2; in __v3_fill()
673 ring->req3.tp_frame_nr = ring->req3.tp_block_size / in __v3_fill()
677 ring->mm_len = ring->req3.tp_block_size * ring->req3.tp_block_nr; in __v3_fill()
680 ring->flen = ring->req3.tp_block_size; in __v3_fill()
Dpsock_fanout.c177 .tp_block_size = getpagesize(), in sock_fanout_open_ring()
196 ring = mmap(0, req.tp_block_size * req.tp_block_nr, in sock_fanout_open_ring()
/external/kernel-headers/original/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/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/android-clat/
Dring.c57 .tp_block_size = TP_BLOCK_SIZE, // Frames per block. in ring_create()
/external/libpcap/
Dpcap-linux.c4185 req.tp_block_size = getpagesize();
4186 while (req.tp_block_size < req.tp_frame_size)
4187 req.tp_block_size <<= 1;
4189 frames_per_block = req.tp_block_size/req.tp_frame_size;
4350 handlep->mmapbuflen = req.tp_block_nr * req.tp_block_size;
4379 void *base = &handlep->mmapbuf[i*req.tp_block_size];
/external/strace/
Dnet.c732 PRINT_FIELD_U("{", req, tp_block_size); in print_tpacket_req()