aboutsummaryrefslogtreecommitdiffstats
path: root/tests/osmo-pcap-test/osmo_pcap.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/osmo-pcap-test/osmo_pcap.h')
-rw-r--r--tests/osmo-pcap-test/osmo_pcap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/osmo-pcap-test/osmo_pcap.h b/tests/osmo-pcap-test/osmo_pcap.h
index 171360d..d10a7f7 100644
--- a/tests/osmo-pcap-test/osmo_pcap.h
+++ b/tests/osmo-pcap-test/osmo_pcap.h
@@ -3,6 +3,7 @@
#include <pcap.h>
#include <osmocom/core/timer.h>
+#include <time.h>
struct msgb;
@@ -11,7 +12,8 @@ void osmo_pcap_init(void);
struct osmo_pcap {
pcap_t *h;
struct osmo_timer_list timer;
- struct timeval last;
+ struct timespec start_sys;
+ struct timeval start_pcap;
struct msgb *deliver_msg;
};