Home
last modified time | relevance | path

Searched refs:TP_STATUS_USER (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/tools/testing/selftests/net/
Dpsock_tpacket.c175 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); in __v1_rx_kernel_ready()
186 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); in __v2_rx_kernel_ready()
535 if ((pbd->h1.block_status & TP_STATUS_USER) == 0) { in __v3_test_block_header()
602 while ((pbd->h1.block_status & TP_STATUS_USER) == 0) in walk_v3_rx()
Dpsock_fanout.c213 while (count < RING_NUM_FRAMES && header->tp_status & TP_STATUS_USER) { in sock_fanout_read_ring()
/Linux-v5.4/include/uapi/linux/
Dif_packet.h108 #define TP_STATUS_USER (1 << 0) macro
/Linux-v5.4/Documentation/networking/
Dpacket_mmap.txt467 #define TP_STATUS_USER 1
471 at least the TP_STATUS_USER flag. Then the user can read the packet,
953 if ((pbd->h1.block_status & TP_STATUS_USER) == 0) {
/Linux-v5.4/net/packet/
Daf_packet.c755 __u32 status = TP_STATUS_USER | stat; in prb_close_block()
891 if (TP_STATUS_USER & BLOCK_STATUS(pbd)) { in prb_dispatch_next_block()
934 return TP_STATUS_USER & BLOCK_STATUS(pbd); in prb_curr_blk_in_use()
2162 unsigned long status = TP_STATUS_USER; in tpacket_rcv()
3402 aux.tp_status = TP_STATUS_USER; in packet_recvmsg()