summaryrefslogtreecommitdiff
path: root/tstamping.h
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 /tstamping.h
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 'tstamping.h')
-rw-r--r--tstamping.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tstamping.h b/tstamping.h
new file mode 100644
index 0000000..41df9aa
--- /dev/null
+++ b/tstamping.h
@@ -0,0 +1,6 @@
+#ifndef TSTAMPING_H
+#define TSTAMPING_H
+
+extern int set_sockopt_hwtimestamp(int sock, const char *dev);
+
+#endif /* TSTAMPING_H */