Searched refs:tp_block_nr (Results 1 – 12 of 12) sorted by relevance
/external/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt02.c | 50 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/ |
D | psock_tpacket.c | 638 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()
|
D | txring_overwrite.c | 106 req.tp_block_nr = 1; in setup_tx() 114 *ring = mmap(0, req.tp_block_size * req.tp_block_nr, in setup_tx()
|
D | psock_fanout.c | 181 .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/ |
D | if_packet.h | 271 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/ |
D | if_packet.h | 273 unsigned int tp_block_nr; /* Number of blocks */ member 280 unsigned int tp_block_nr; /* Number of blocks */ 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 | 60 .tp_block_nr = ring->numblocks, // Number of blocks. in ring_create()
|
/external/libpcap/ |
D | pcap-linux.c | 3182 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/ |
D | net.c | 943 PRINT_FIELD_U(", ", req, tp_block_nr); in print_tpacket_req()
|