Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/net/
A Dpsock_tpacket.c227 bug_on(ring->type != PACKET_RX_RING); in walk_v1_v2_rx()
502 if (ring->type == PACKET_RX_RING) in walk_v1_v2()
588 bug_on(ring->type != PACKET_RX_RING); in walk_v3_rx()
624 if (ring->type == PACKET_RX_RING) in walk_v3()
648 if (type == PACKET_RX_RING) { in __v3_fill()
798 [PACKET_RX_RING] = "PACKET_RX_RING",
836 ret |= test_tpacket(TPACKET_V1, PACKET_RX_RING); in main()
839 ret |= test_tpacket(TPACKET_V2, PACKET_RX_RING); in main()
842 ret |= test_tpacket(TPACKET_V3, PACKET_RX_RING); in main()
A Dpsock_fanout.c206 if (setsockopt(fd, SOL_PACKET, PACKET_RX_RING, (void *) &req, in sock_fanout_open_ring()
A Dtoeplitz.c272 if (setsockopt(fd, SOL_PACKET, PACKET_RX_RING, &req3, sizeof(req3))) in setup_ring()
/linux-6.3-rc2/include/uapi/linux/
A Dif_packet.h43 #define PACKET_RX_RING 5 macro
/linux-6.3-rc2/Documentation/networking/
A Dpacket_mmap.rst69 option: PACKET_RX_RING
193 setsockopt(fd, SOL_PACKET, PACKET_RX_RING, (void *) &req, sizeof(req))
422 setsockopt(fd, SOL_PACKET, PACKET_RX_RING, &foo, sizeof(foo));
852 err = setsockopt(fd, SOL_PACKET, PACKET_RX_RING, &ring->req,
/linux-6.3-rc2/net/packet/
A Daf_packet.c3785 case PACKET_RX_RING: in packet_setsockopt()

Completed in 16 milliseconds