Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/net/
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()
Dpsock_fanout.c206 if (setsockopt(fd, SOL_PACKET, PACKET_RX_RING, (void *) &req, in sock_fanout_open_ring()
Dtoeplitz.c272 if (setsockopt(fd, SOL_PACKET, PACKET_RX_RING, &req3, sizeof(req3))) in setup_ring()
/linux-6.6.21/include/uapi/linux/
Dif_packet.h43 #define PACKET_RX_RING 5 macro
/linux-6.6.21/Documentation/networking/
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.6.21/net/packet/
Daf_packet.c3805 case PACKET_RX_RING: in packet_setsockopt()