Home
last modified time | relevance | path

Searched refs:PACKET_RX_RING (Results 1 – 13 of 13) sorted by relevance

/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt02.c49 #ifndef PACKET_RX_RING
50 # define PACKET_RX_RING 5 macro
105 return setsockopt(sk, SOL_PACKET, PACKET_RX_RING, &req, sizeof(req)); in create_skbuf()
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_tpacket.c242 bug_on(ring->type != PACKET_RX_RING); in walk_v1_v2_rx()
518 if (ring->type == PACKET_RX_RING) in walk_v1_v2()
604 bug_on(ring->type != PACKET_RX_RING); in walk_v3_rx()
640 if (ring->type == PACKET_RX_RING) in walk_v3()
664 if (type == PACKET_RX_RING) { in __v3_fill()
814 [PACKET_RX_RING] = "PACKET_RX_RING",
877 ret |= test_tpacket(TPACKET_V1, PACKET_RX_RING); in main()
880 ret |= test_tpacket(TPACKET_V2, PACKET_RX_RING); in main()
883 ret |= test_tpacket(TPACKET_V3, PACKET_RX_RING); in main()
Dpsock_fanout.c190 if (setsockopt(fd, SOL_PACKET, PACKET_RX_RING, (void *) &req, in sock_fanout_open_ring()
/external/strace/xlat/
Dsockpacketoptions.h20 #if defined(PACKET_RX_RING) || (defined(HAVE_DECL_PACKET_RX_RING) && HAVE_DECL_PACKET_RX_RING)
21 XLAT(PACKET_RX_RING),
Dsockpacketoptions.in4 PACKET_RX_RING
/external/linux-kselftest/android/patches/
D0005-psock-tpacket-version-check.patch57 ret |= test_tpacket(TPACKET_V1, PACKET_RX_RING);
62 ret |= test_tpacket(TPACKET_V3, PACKET_RX_RING);
/external/strace/
Dnet.c722 #ifdef PACKET_RX_RING
837 #ifdef PACKET_RX_RING in print_setsockopt()
838 case PACKET_RX_RING: in print_setsockopt()
DChangeLog45141 (printsockopt): Decode PACKET_RX_RING and PACKET_TX_RING.
/external/android-clat/
Dring.c62 if (setsockopt(packetsock, SOL_PACKET, PACKET_RX_RING, &req, sizeof(req)) < 0) { in ring_create()
/external/kernel-headers/original/uapi/linux/
Dif_packet.h42 #define PACKET_RX_RING 5 macro
/external/iproute2/include/uapi/linux/
Dif_packet.h42 #define PACKET_RX_RING 5 macro
/external/scapy/scapy/arch/
Dlinux.py67 PACKET_RX_RING = 5 variable
/external/libpcap/
Dpcap-linux.c4318 if (setsockopt(handle->fd, SOL_PACKET, PACKET_RX_RING,
4401 (void)setsockopt(handle->fd, SOL_PACKET, PACKET_RX_RING,