repo.or.cz
/
netsniff-ng-new.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
trafgen: proto: Add IPv6 header generation
[netsniff-ng-new.git]
/
tstamping.h
blob
ccc642e32c20c75b8e722222003081aa11c5a9cd
1
#ifndef TSTAMPING_H
2
#define TSTAMPING_H
3
4
#include
"config.h"
5
6
#ifdef HAVE_HARDWARE_TIMESTAMPING
7
extern
int
set_sockopt_hwtimestamp
(
int
sock
,
const char
*
dev
);
8
#else
9
static
inline
int
set_sockopt_hwtimestamp
(
int
sock
,
const char
*
dev
)
10
{
11
return
-
1
;
12
}
13
#endif
14
15
#endif
/* TSTAMPING_H */