diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-05-13 12:24:34 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-05-13 12:24:34 +0200 |
commit | c59245ddcc0541edca71769b3153bc13580a5bbb (patch) | |
tree | 88df6ec5111eff73e7201347b8aa77c67ccd0019 /netsniff-ng.c | |
parent | bf43e1993c7037ea9f23bf0cac4ec7de0e3b1ca8 (diff) |
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 <dborkman@redhat.com>
Diffstat (limited to 'netsniff-ng.c')
-rw-r--r-- | netsniff-ng.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, |