summaryrefslogtreecommitdiff
path: root/tstamping.h
blob: ccc642e32c20c75b8e722222003081aa11c5a9cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef TSTAMPING_H
#define TSTAMPING_H

#include "config.h"

#ifdef HAVE_HARDWARE_TIMESTAMPING
extern int set_sockopt_hwtimestamp(int sock, const char *dev);
#else
static inline int set_sockopt_hwtimestamp(int sock, const char *dev)
{
	return -1;
}
#endif

#endif /* TSTAMPING_H */
c444409daf483006111a2a705550fff'>fs/afs/internal.h11
-rw-r--r--fs/afs/main.c48
-rw-r--r--fs/afs/netdevices.c21
3 files changed, 6 insertions, 74 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h