Home
last modified time | relevance | path

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

/external/kernel-headers/original/uapi/linux/
Dif_packet.h97 __u32 tp_status; member
132 unsigned long tp_status; member
146 __u32 tp_status; member
171 __u32 tp_status; member
/external/iproute2/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
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_tpacket.c192 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); in __v1_rx_kernel_ready()
197 hdr->tp_status = TP_STATUS_KERNEL; in __v1_rx_user_ready()
203 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); in __v2_rx_kernel_ready()
208 hdr->tp_status = TP_STATUS_KERNEL; in __v2_rx_user_ready()
298 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v1_tx_kernel_ready()
303 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v1_tx_user_ready()
309 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v2_tx_kernel_ready()
314 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v2_tx_user_ready()
320 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v3_tx_kernel_ready()
325 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()
/external/android-clat/
Dring.c120 if (tp->tp_status & TP_STATUS_USER) { in ring_read()
123 tp->tp_status = TP_STATUS_KERNEL; in ring_read()
/external/libpcap/
Dpcap-linux.c365 uint64_t tp_status; member
442 #define VLAN_VALID(hdr, hv) ((hv)->tp_vlan_tci != 0 || ((hdr)->tp_status & TP_STATUS_VLAN_VALID))
452 #define VLAN_VALID(hdr, hv) ((hv)->tp_vlan_tci != 0 || ((hdr)->tp_status & 0x10))
456 # define VLAN_TPID(hdr, hv) (((hv)->tp_vlan_tpid || ((hdr)->tp_status & TP_STATUS_VLAN_TPID_VALID))…
4781 return (h.h1->tp_status);
4784 return (h.h1_64->tp_status);
4788 return (h.h2->tp_status);
5064 if (h.h1->tp_status == TP_STATUS_KERNEL) {
5083 if (h.h1->tp_status == TP_STATUS_KERNEL)
5112 h.h1->tp_status = TP_STATUS_KERNEL;
[all …]