Home
last modified time | relevance | path

Searched refs:tp_frame_size (Results 1 – 9 of 9) sorted by relevance

/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt02.c63 unsigned int tp_frame_size; member
92 req.tp_frame_size = req.tp_block_size; in create_skbuf()
/external/kernel-headers/original/uapi/linux/
Dif_packet.h272 unsigned int tp_frame_size; /* Size of frame */ member
279 unsigned int tp_frame_size; /* Size of frame */ member
/external/iproute2/include/uapi/linux/
Dif_packet.h272 unsigned int tp_frame_size; /* Size of frame */ member
279 unsigned int tp_frame_size; /* Size of frame */ member
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_tpacket.c378 return f0 + (n * ring->req3.tp_frame_size); in get_next_frame()
649 ring->req.tp_frame_size = TPACKET_ALIGNMENT << 7; in __v1_v2_fill()
653 ring->req.tp_frame_size * in __v1_v2_fill()
659 ring->flen = ring->req.tp_frame_size; in __v1_v2_fill()
670 ring->req3.tp_frame_size = TPACKET_ALIGNMENT << 7; in __v3_fill()
674 ring->req3.tp_frame_size * in __v3_fill()
Dpsock_fanout.c178 .tp_frame_size = getpagesize(), in sock_fanout_open_ring()
/external/linux-kselftest/android/patches/
D0003-psock-tpacket-warning-fix.patch8 return f0 + (n * ring->req3.tp_frame_size);
/external/android-clat/
Dring.c56 .tp_frame_size = TP_FRAME_SIZE, // Frame size. in ring_create()
/external/libpcap/
Dpcap-linux.c4157 req.tp_frame_size = TPACKET_ALIGN(macoff + frame_size);
4158 req.tp_frame_nr = handle->opt.buffer_size/req.tp_frame_size;
4169 req.tp_frame_size = MAXIMUM_SNAPLEN;
4170 req.tp_frame_nr = handle->opt.buffer_size/req.tp_frame_size;
4186 while (req.tp_block_size < req.tp_frame_size)
4189 frames_per_block = req.tp_block_size/req.tp_frame_size;
4382 base += req.tp_frame_size;
4386 handle->bufsize = req.tp_frame_size;
/external/strace/
Dnet.c734 PRINT_FIELD_U(", ", req, tp_frame_size); in print_tpacket_req()