Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt02.c37 #ifndef PACKET_RX_RING
38 # define PACKET_RX_RING 5 macro
93 return setsockopt(sk, SOL_PACKET, PACKET_RX_RING, &req, sizeof(req)); in create_skbuf()
/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/tools/testing/selftests/net/
Dpsock_tpacket.c230 bug_on(ring->type != PACKET_RX_RING); in walk_v1_v2_rx()
506 if (ring->type == PACKET_RX_RING) in walk_v1_v2()
592 bug_on(ring->type != PACKET_RX_RING); in walk_v3_rx()
628 if (ring->type == PACKET_RX_RING) in walk_v3()
652 if (type == PACKET_RX_RING) { in __v3_fill()
802 [PACKET_RX_RING] = "PACKET_RX_RING",
865 ret |= test_tpacket(TPACKET_V1, PACKET_RX_RING); in main()
868 ret |= test_tpacket(TPACKET_V2, PACKET_RX_RING); in main()
871 ret |= test_tpacket(TPACKET_V3, PACKET_RX_RING); in main()
Dpsock_fanout.c192 if (setsockopt(fd, SOL_PACKET, PACKET_RX_RING, (void *) &req, in sock_fanout_open_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-m32/
Dnet-tpacket_req.c45 test_tpacket_req(ARG_STR(PACKET_RX_RING)); in main()
/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/android-clat/
Dring.c64 if (setsockopt(packetsock, SOL_PACKET, PACKET_RX_RING, &req, sizeof(req)) < 0) { in ring_create()
/external/iproute2/include/uapi/linux/
Dif_packet.h42 #define PACKET_RX_RING 5 macro
/external/kernel-headers/original/uapi/linux/
Dif_packet.h43 #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()
DChangeLog52703 (printsockopt): Decode PACKET_RX_RING and PACKET_TX_RING.
/external/scapy/scapy/arch/
Dlinux.py67 PACKET_RX_RING = 5 variable
/external/libpcap/
Dpcap-linux.c3215 if (setsockopt(handle->fd, SOL_PACKET, PACKET_RX_RING, in create_ring()
3294 (void)setsockopt(handle->fd, SOL_PACKET, PACKET_RX_RING, in destroy_ring()