From c59245ddcc0541edca71769b3153bc13580a5bbb Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Mon, 13 May 2013 12:24:34 +0200 Subject: ring: break out timestamping since not directly related Break out the timestamping part of the ring.h file, since it's not directly related to the {t,r}x_ring. Also inlining doesn't make sense here. Signed-off-by: Daniel Borkmann --- netsniff-ng.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'netsniff-ng.c') diff --git a/netsniff-ng.c b/netsniff-ng.c index 2391d39..b4a239e 100644 --- a/netsniff-ng.c +++ b/netsniff-ng.c @@ -37,6 +37,8 @@ #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, -- cgit v1.2.3-54-g00ecf