Home
last modified time | relevance | path

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

12

/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.c244 bug_on(ring->type != PACKET_RX_RING); in walk_v1_v2_rx()
520 if (ring->type == PACKET_RX_RING) in walk_v1_v2()
606 bug_on(ring->type != PACKET_RX_RING); in walk_v3_rx()
642 if (ring->type == PACKET_RX_RING) in walk_v3()
666 if (type == PACKET_RX_RING) { in __v3_fill()
816 [PACKET_RX_RING] = "PACKET_RX_RING",
879 ret |= test_tpacket(TPACKET_V1, PACKET_RX_RING); in main()
882 ret |= test_tpacket(TPACKET_V2, PACKET_RX_RING); in main()
885 ret |= test_tpacket(TPACKET_V3, PACKET_RX_RING); in main()
Dpsock_fanout.c206 if (setsockopt(fd, SOL_PACKET, PACKET_RX_RING, (void *) &req, in sock_fanout_open_ring()
/external/strace/xlat/
Dsock_packet_options.h26 #if defined(PACKET_RX_RING) || (defined(HAVE_DECL_PACKET_RX_RING) && HAVE_DECL_PACKET_RX_RING)
27 XLAT(PACKET_RX_RING),
Dsock_packet_options.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/tests/
Dnet-tpacket_req.c45 test_tpacket_req(ARG_STR(PACKET_RX_RING)); in main()
/external/strace/tests-mx32/
Dnet-tpacket_req.c45 test_tpacket_req(ARG_STR(PACKET_RX_RING)); in main()
/external/strace/tests-m32/
Dnet-tpacket_req.c45 test_tpacket_req(ARG_STR(PACKET_RX_RING)); in main()
/external/syzkaller/sys/linux/
Dsocket_packet_386.const53 PACKET_RX_RING = 5
Dsocket_packet_ppc64le.const53 PACKET_RX_RING = 5
Dsocket_packet_arm64.const53 PACKET_RX_RING = 5
Dsocket_packet_amd64.const53 PACKET_RX_RING = 5
Dsocket_packet_arm.const53 PACKET_RX_RING = 5
Dsocket_packet.txt53 packet_option_types_buf = PACKET_ADD_MEMBERSHIP, PACKET_DROP_MEMBERSHIP, PACKET_RX_RING, PACKET_STA…
95 setsockopt$packet_rx_ring(fd sock_packet, level const[SOL_PACKET], optname const[PACKET_RX_RING], o…
/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/strace/
Dnet.c932 #ifdef PACKET_RX_RING
1043 #ifdef PACKET_RX_RING in print_setsockopt()
1044 case PACKET_RX_RING: in print_setsockopt()
/external/scapy/scapy/arch/
Dlinux.py67 PACKET_RX_RING = 5 variable
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dzerrors_linux_sparc64.go971 PACKET_RX_RING = 0x5 const
Dzerrors_linux_mipsle.go1213 PACKET_RX_RING = 0x5 const
Dzerrors_linux_s390x.go1212 PACKET_RX_RING = 0x5 const
Dzerrors_linux_arm.go1212 PACKET_RX_RING = 0x5 const
Dzerrors_linux_ppc64le.go1214 PACKET_RX_RING = 0x5 const

12