Home
last modified time | relevance | path

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

12

/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/google/gopacket/afpacket/
H A Dheader.go84 return int(h.tp_status)
87 h.tp_status = 0
110 return int(h.tp_status)
113 h.tp_status = 0
148 if w.packet.tp_status&C.TP_STATUS_VLAN_VALID != 0 {
/dports/databases/mongodb42-tools/mongo-tools-r4.2.17/vendor/github.com/google/gopacket/afpacket/
H A Dheader.go84 return int(h.tp_status)
87 h.tp_status = 0
110 return int(h.tp_status)
113 h.tp_status = 0
148 if w.packet.tp_status&C.TP_STATUS_VLAN_VALID != 0 {
/dports/net-mgmt/lldpd/lldpd-1.0.8/include/linux/
H A Dif_packet.h96 __u32 tp_status; member
131 unsigned long tp_status; member
145 __u32 tp_status; member
170 __u32 tp_status; member
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/uapi/linux/
H A Dif_packet.h98 uint32_t tp_status; member
133 unsigned long tp_status; member
147 uint32_t tp_status; member
172 uint32_t tp_status; member
/dports/multimedia/libv4l/linux-5.13-rc2/include/uapi/linux/
H A Dif_packet.h98 uint32_t tp_status; member
133 unsigned long tp_status; member
147 uint32_t tp_status; member
172 uint32_t tp_status; member
/dports/lang/zig/zig-0.9.0/lib/libc/include/any-linux-any/linux/
H A Dif_packet.h98 __u32 tp_status; member
133 unsigned long tp_status; member
147 __u32 tp_status; member
172 __u32 tp_status; member
/dports/lang/zig-devel/zig-0.9.0/lib/libc/include/any-linux-any/linux/
H A Dif_packet.h98 __u32 tp_status; member
133 unsigned long tp_status; member
147 __u32 tp_status; member
172 __u32 tp_status; member
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/uapi/linux/
H A Dif_packet.h98 uint32_t tp_status; member
133 unsigned long tp_status; member
147 uint32_t tp_status; member
172 uint32_t tp_status; member
/dports/net/goreplay/goreplay-1.2.0/vendor/github.com/google/gopacket/gopacket-1.1.18/afpacket/
H A Dheader.go88 return int(h.tp_status)
91 h.tp_status = 0
114 return int(h.tp_status)
117 h.tp_status = 0
152 if w.packet.tp_status&unix.TP_STATUS_VLAN_VALID != 0 {
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/google/gopacket/afpacket/
H A Dheader.go88 return int(h.tp_status)
91 h.tp_status = 0
114 return int(h.tp_status)
117 h.tp_status = 0
152 if w.packet.tp_status&unix.TP_STATUS_VLAN_VALID != 0 {
/dports/misc/fq/fq-0.0.2/vendor/github.com/google/gopacket/afpacket/
H A Dheader.go88 return int(h.tp_status)
91 h.tp_status = 0
114 return int(h.tp_status)
117 h.tp_status = 0
152 if w.packet.tp_status&unix.TP_STATUS_VLAN_VALID != 0 {
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/net/
H A Dpsock_tpacket.c175 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); in __v1_rx_kernel_ready()
180 hdr->tp_status = TP_STATUS_KERNEL; in __v1_rx_user_ready()
186 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); in __v2_rx_kernel_ready()
191 hdr->tp_status = TP_STATUS_KERNEL; in __v2_rx_user_ready()
281 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v1_tx_kernel_ready()
286 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v1_tx_user_ready()
292 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v2_tx_kernel_ready()
297 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v2_tx_user_ready()
303 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v3_tx_kernel_ready()
308 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v3_tx_user_ready()
H A Dtxring_overwrite.c127 while (header->tp_status != TP_STATUS_AVAILABLE) in send_pkt()
133 header->tp_status = TP_STATUS_SEND_REQUEST; in send_pkt()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/net/
H A Dpsock_tpacket.c175 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); in __v1_rx_kernel_ready()
180 hdr->tp_status = TP_STATUS_KERNEL; in __v1_rx_user_ready()
186 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); in __v2_rx_kernel_ready()
191 hdr->tp_status = TP_STATUS_KERNEL; in __v2_rx_user_ready()
281 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v1_tx_kernel_ready()
286 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v1_tx_user_ready()
292 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v2_tx_kernel_ready()
297 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v2_tx_user_ready()
303 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v3_tx_kernel_ready()
308 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v3_tx_user_ready()
H A Dtxring_overwrite.c127 while (header->tp_status != TP_STATUS_AVAILABLE) in send_pkt()
133 header->tp_status = TP_STATUS_SEND_REQUEST; in send_pkt()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/net/
H A Dpsock_tpacket.c175 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); in __v1_rx_kernel_ready()
180 hdr->tp_status = TP_STATUS_KERNEL; in __v1_rx_user_ready()
186 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); in __v2_rx_kernel_ready()
191 hdr->tp_status = TP_STATUS_KERNEL; in __v2_rx_user_ready()
281 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v1_tx_kernel_ready()
286 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v1_tx_user_ready()
292 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v2_tx_kernel_ready()
297 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v2_tx_user_ready()
303 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v3_tx_kernel_ready()
308 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v3_tx_user_ready()
H A Dtxring_overwrite.c127 while (header->tp_status != TP_STATUS_AVAILABLE) in send_pkt()
133 header->tp_status = TP_STATUS_SEND_REQUEST; in send_pkt()
/dports/net-mgmt/tcpreplay/tcpreplay-4.3.4/src/common/
H A Dtxring.c97 switch ((volatile uint32_t)ps_header->tp_status) { in txring_put()
112 ps_header->tp_status = TP_STATUS_SEND_REQUEST; in txring_put()
118 ps_header->tp_status, txp->tx_index, ps_header->tp_len); in txring_put()
/dports/security/suricata/suricata-6.0.4/src/
H A Dsource-af-packet.c864 h.h2->tp_status = TP_STATUS_KERNEL; in AFPReleaseDataFromRing()
895 h.h2->tp_status = TP_STATUS_KERNEL; in AFPSuriFailure()
933 h.h2->tp_status |= TP_STATUS_USER_BUSY; in AFPReadFromRingSetupPacket()
1009 const unsigned int tp_status = h.h2->tp_status; in AFPReadFromRingWaitForPacket() local
1010 if (tp_status == TP_STATUS_KERNEL) { in AFPReadFromRingWaitForPacket()
1055 const unsigned int tp_status = h.h2->tp_status; in AFPReadFromRing() local
1061 if (unlikely(FRAME_BUSY(tp_status))) { in AFPReadFromRing()
1067 h.h2->tp_status = TP_STATUS_KERNEL; in AFPReadFromRing()
1081 h.h2->tp_status = TP_STATUS_KERNEL; in AFPReadFromRing()
1405 if (h.h2->tp_status == TP_STATUS_KERNEL) in AFPReadAndDiscardFromRing()
[all …]
/dports/net/daq/daq-2.2.2/os-daq-modules/
H A Ddaq_afpacket.c862 if (instance->tp_version == TPACKET_V2 && (hdr.h2->tp_status & TP_STATUS_USER)) in afpacket_daq_acquire()
889 (hdr.h2->tp_vlan_tci || (hdr.h2->tp_status & TP_STATUS_VLAN_VALID)) && in afpacket_daq_acquire()
902 if (hdr.h2->tp_vlan_tpid && (hdr.h2->tp_status & TP_STATUS_VLAN_TPID_VALID)) in afpacket_daq_acquire()
951 if (entry->hdr.h2->tp_status == TP_STATUS_AVAILABLE) in afpacket_daq_acquire()
955 entry->hdr.h2->tp_status = TP_STATUS_SEND_REQUEST; in afpacket_daq_acquire()
965 hdr.h2->tp_status = TP_STATUS_KERNEL; in afpacket_daq_acquire()
1030 if (entry->hdr.h2->tp_status == TP_STATUS_AVAILABLE) in afpacket_daq_inject()
1034 entry->hdr.h2->tp_status = TP_STATUS_SEND_REQUEST; in afpacket_daq_inject()
/dports/lang/gnatdroid-sysroot-x86/android-19-x86/usr/include/linux/
H A Dif_packet.h58 unsigned long tp_status; member
/dports/lang/gnatdroid-sysroot/android-19-arm/usr/include/linux/
H A Dif_packet.h58 unsigned long tp_status; member
/dports/net/libdaq/libdaq-3.0.5/modules/afpacket/
H A Ddaq_afpacket.c1073 if (entry->hdr.h2->tp_status != TP_STATUS_AVAILABLE) in afpacket_transmit_packet()
1080 entry->hdr.h2->tp_status = TP_STATUS_SEND_REQUEST; in afpacket_transmit_packet()
1257 if (instance->rx_ring.cursor->hdr.h2->tp_status & TP_STATUS_USER) in find_packet()
1400 (entry->hdr.h2->tp_vlan_tci || (entry->hdr.h2->tp_status & TP_STATUS_VLAN_VALID)) && in afpacket_daq_msg_receive()
1409 … if (entry->hdr.h2->tp_vlan_tpid && (entry->hdr.h2->tp_status & TP_STATUS_VLAN_TPID_VALID)) in afpacket_daq_msg_receive()
1425 entry->hdr.h2->tp_status = TP_STATUS_KERNEL; in afpacket_daq_msg_receive()
1434 entry->hdr.h2->tp_status = TP_STATUS_KERNEL; in afpacket_daq_msg_receive()
/dports/net/libtrace/libtrace-3.0.19/lib/
H A Dformat_linux.c164 uint32_t tp_status; member
1011 TO_TP_HDR(packet->buffer)->tp_status = 0; in ring_release_frame()
1036 while (!(header->tp_status & TP_STATUS_USER)) { in linuxring_read_packet()
1076 if(header->tp_status & TP_STATUS_USER){ in linuxring_event()
1141 while(header->tp_status != TP_STATUS_AVAILABLE){ in linuxring_write_packet()
1181 header->tp_status = TP_STATUS_SEND_REQUEST; in linuxring_write_packet()
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/packet/
H A Daf_packet.c372 h.h1->tp_status = status; in __packet_set_status()
376 h.h2->tp_status = status; in __packet_set_status()
380 h.h3->tp_status = status; in __packet_set_status()
401 return h.h1->tp_status; in __packet_get_status()
404 return h.h2->tp_status; in __packet_get_status()
407 return h.h3->tp_status; in __packet_get_status()
977 ppd->tp_status = TP_STATUS_AVAILABLE; in prb_fill_vlan_info()
2380 h.h3->tp_status |= status; in tpacket_rcv()
3452 aux.tp_status = TP_STATUS_USER; in packet_recvmsg()
3454 aux.tp_status |= TP_STATUS_CSUMNOTREADY; in packet_recvmsg()
[all …]

12