Home
last modified time | relevance | path

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

/linux-4.1.27/include/uapi/linux/
Dif_packet.h84 __u32 tp_status; member
119 unsigned long tp_status; member
133 __u32 tp_status; member
158 __u32 tp_status; member
/linux-4.1.27/tools/testing/selftests/net/
Dpsock_tpacket.c187 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); in __v1_rx_kernel_ready()
192 hdr->tp_status = TP_STATUS_KERNEL; in __v1_rx_user_ready()
198 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); in __v2_rx_kernel_ready()
203 hdr->tp_status = TP_STATUS_KERNEL; in __v2_rx_user_ready()
294 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v1_tx_kernel_ready()
299 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v1_tx_user_ready()
305 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v2_tx_kernel_ready()
310 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v2_tx_user_ready()
Dpsock_fanout.c131 while (count < RING_NUM_FRAMES && header->tp_status & TP_STATUS_USER) { in sock_fanout_read_ring()
/linux-4.1.27/net/packet/
Daf_packet.c401 h.h1->tp_status = status; in __packet_set_status()
402 flush_dcache_page(pgv_to_page(&h.h1->tp_status)); in __packet_set_status()
405 h.h2->tp_status = status; in __packet_set_status()
406 flush_dcache_page(pgv_to_page(&h.h2->tp_status)); in __packet_set_status()
426 flush_dcache_page(pgv_to_page(&h.h1->tp_status)); in __packet_get_status()
427 return h.h1->tp_status; in __packet_get_status()
429 flush_dcache_page(pgv_to_page(&h.h2->tp_status)); in __packet_get_status()
430 return h.h2->tp_status; in __packet_get_status()
1006 ppd->tp_status = TP_STATUS_VLAN_VALID | TP_STATUS_VLAN_TPID_VALID; in prb_fill_vlan_info()
1010 ppd->tp_status = TP_STATUS_AVAILABLE; in prb_fill_vlan_info()
[all …]
/linux-4.1.27/Documentation/networking/
Dpacket_mmap.txt520 header->tp_status = TP_STATUS_SEND_REQUEST;
555 - TP_STATUS_VLAN_VALID bit being set into the tp_status field indicates
557 - TP_STATUS_VLAN_TPID_VALID bit being set into the tp_status field
1025 what kind of timestamp has been reported, the tp_status field is binary |'ed
1043 application (e.g. !(tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING))
1045 one can extract the type of timestamp in a second step from tp_status)!