Searched refs:PACKET_RX_RING (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/tools/testing/selftests/net/ |
A D | psock_tpacket.c | 227 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 D | psock_fanout.c | 206 if (setsockopt(fd, SOL_PACKET, PACKET_RX_RING, (void *) &req, in sock_fanout_open_ring()
|
A D | toeplitz.c | 272 if (setsockopt(fd, SOL_PACKET, PACKET_RX_RING, &req3, sizeof(req3))) in setup_ring()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | if_packet.h | 43 #define PACKET_RX_RING 5 macro
|
/linux-6.3-rc2/Documentation/networking/ |
A D | packet_mmap.rst | 69 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 D | af_packet.c | 3785 case PACKET_RX_RING: in packet_setsockopt()
|
Completed in 16 milliseconds