summaryrefslogtreecommitdiff
path: root/netsniff-ng.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 12:07:20 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 12:07:20 +0200
commit01525e848cd682d51319383c9968979224255b53 (patch)
treed151c99a3d562f75b5a0bf835a10ea40bc7978b5 /netsniff-ng.c
parent7ea4576392b014490e6308ad82d695cc85a0b8bd (diff)
tstamping: add header file for packet timestamping
Better add a header file for this, so that we do not need to have it in multiple places declared. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'netsniff-ng.c')
-rw-r--r--netsniff-ng.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c
index 23c1d5b..ec4faeb 100644
--- a/netsniff-ng.c
+++ b/netsniff-ng.c
@@ -42,11 +42,10 @@
#include "lockme.h"
#include "tprintf.h"
#include "timer.h"
+#include "tstamping.h"
#include "dissector.h"
#include "xmalloc.h"
-extern int set_sockopt_hwtimestamp(int sock, const char *dev);
-
enum dump_mode {
DUMP_INTERVAL_TIME,
DUMP_INTERVAL_SIZE,