aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/uhd-dpdk/uhd_dpdk_ctx.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/transport/uhd-dpdk/uhd_dpdk_ctx.h')
-rw-r--r--host/lib/transport/uhd-dpdk/uhd_dpdk_ctx.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/host/lib/transport/uhd-dpdk/uhd_dpdk_ctx.h b/host/lib/transport/uhd-dpdk/uhd_dpdk_ctx.h
index 31c9dba0c..c6afab85d 100644
--- a/host/lib/transport/uhd-dpdk/uhd_dpdk_ctx.h
+++ b/host/lib/transport/uhd-dpdk/uhd_dpdk_ctx.h
@@ -106,6 +106,15 @@ struct uhd_dpdk_ipv4_5tuple {
uint16_t dst_port;
};
+/**
+ * Used for blocking calls to RX
+ */
+struct uhd_dpdk_sock_cond {
+ struct uhd_dpdk_socket *sock;
+ pthread_cond_t cond;
+ pthread_mutex_t mutex;
+};
+
/************************************************
* TX Queues
*