Home
last modified time | relevance | path

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

/Linux-v4.19/include/uapi/linux/
Dif_packet.h96 __u32 tp_status; member
131 unsigned long tp_status; member
145 __u32 tp_status; member
170 __u32 tp_status; member
/Linux-v4.19/tools/testing/selftests/net/
Dpsock_tpacket.c189 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); in __v1_rx_kernel_ready()
194 hdr->tp_status = TP_STATUS_KERNEL; in __v1_rx_user_ready()
200 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); in __v2_rx_kernel_ready()
205 hdr->tp_status = TP_STATUS_KERNEL; in __v2_rx_user_ready()
295 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v1_tx_kernel_ready()
300 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v1_tx_user_ready()
306 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v2_tx_kernel_ready()
311 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v2_tx_user_ready()
317 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v3_tx_kernel_ready()
322 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v3_tx_user_ready()
Dpsock_fanout.c227 while (count < RING_NUM_FRAMES && header->tp_status & TP_STATUS_USER) { in sock_fanout_read_ring()
/Linux-v4.19/net/packet/
Daf_packet.c376 h.h1->tp_status = status; in __packet_set_status()
377 flush_dcache_page(pgv_to_page(&h.h1->tp_status)); in __packet_set_status()
380 h.h2->tp_status = status; in __packet_set_status()
381 flush_dcache_page(pgv_to_page(&h.h2->tp_status)); in __packet_set_status()
384 h.h3->tp_status = status; in __packet_set_status()
385 flush_dcache_page(pgv_to_page(&h.h3->tp_status)); in __packet_set_status()
404 flush_dcache_page(pgv_to_page(&h.h1->tp_status)); in __packet_get_status()
405 return h.h1->tp_status; in __packet_get_status()
407 flush_dcache_page(pgv_to_page(&h.h2->tp_status)); in __packet_get_status()
408 return h.h2->tp_status; in __packet_get_status()
[all …]
/Linux-v4.19/Documentation/networking/
Dpacket_mmap.txt508 header->tp_status = TP_STATUS_SEND_REQUEST;
543 - TP_STATUS_VLAN_VALID bit being set into the tp_status field indicates
545 - TP_STATUS_VLAN_TPID_VALID bit being set into the tp_status field
1018 what kind of timestamp has been reported, the tp_status field is binary |'ed
1036 application (e.g. !(tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING))
1038 one can extract the type of timestamp in a second step from tp_status)!