Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt02.c50 unsigned int tp_block_nr; member
79 req.tp_block_nr = 2; in create_skbuf()
81 req.tp_frame_nr = req.tp_block_nr; in create_skbuf()
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_tpacket.c638 ring->req.tp_block_nr = blocks; in __v1_v2_fill()
642 ring->req.tp_block_nr; in __v1_v2_fill()
644 ring->mm_len = ring->req.tp_block_size * ring->req.tp_block_nr; in __v1_v2_fill()
659 ring->req3.tp_block_nr = blocks; in __v3_fill()
663 ring->req3.tp_block_nr; in __v3_fill()
665 ring->mm_len = ring->req3.tp_block_size * ring->req3.tp_block_nr; in __v3_fill()
667 ring->rd_num = ring->req3.tp_block_nr; in __v3_fill()
Dtxring_overwrite.c106 req.tp_block_nr = 1; in setup_tx()
114 *ring = mmap(0, req.tp_block_size * req.tp_block_nr, in setup_tx()
Dpsock_fanout.c181 .tp_block_nr = RING_NUM_FRAMES, 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.h271 unsigned int tp_block_nr; /* Number of blocks */ member
278 unsigned int tp_block_nr; /* Number of blocks */ member
/external/kernel-headers/original/uapi/linux/
Dif_packet.h273 unsigned int tp_block_nr; /* Number of blocks */ member
280 unsigned int tp_block_nr; /* Number of blocks */ 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.c60 .tp_block_nr = ring->numblocks, // Number of blocks. in ring_create()
/external/libpcap/
Dpcap-linux.c3182 req.tp_block_nr = req.tp_frame_nr / frames_per_block; in create_ring()
3185 req.tp_frame_nr = req.tp_block_nr * frames_per_block; in create_ring()
3217 if ((errno == ENOMEM) && (req.tp_block_nr > 1)) { in create_ring()
3240 handlep->mmapbuflen = req.tp_block_nr * req.tp_block_size; in create_ring()
3267 for (i=0; i<req.tp_block_nr; ++i) { in create_ring()
/external/strace/
Dnet.c943 PRINT_FIELD_U(", ", req, tp_block_nr); in print_tpacket_req()