summaryrefslogtreecommitdiff
path: root/defs.h
diff options
context:
space:
mode:
authorStefan Sørensen <stefan.sorensen@spectralink.com>2014-01-31 12:01:01 +0100
committerDmitry V. Levin <ldv@altlinux.org>2014-02-04 00:03:08 +0000
commitb88a6f877eb08e6d45130374fc1a1867371db703 (patch)
tree4e930f960dd44bf6b2fecac88fb0f7f2d5c61482 /defs.h
parenta5fea9060f382fb57f3c4c6492184cd2a7f92b40 (diff)
downloadstrace-b88a6f877eb08e6d45130374fc1a1867371db703.tar.gz
strace-b88a6f877eb08e6d45130374fc1a1867371db703.tar.bz2
strace-b88a6f877eb08e6d45130374fc1a1867371db703.tar.xz
Decode ptp ioctls
* defs.h (ptp_ioctl): New prototype. * ioctl.c (ioctl_decode): Call ptp_ioctl when code is '='. * Makefile.am (strace_SOURCES): Add ptp.c. (EXTRA_DIST): Add linux/ptp_clock.h. * ptp.c: New file. * linux/ptp_clock.h: New file. Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Diffstat (limited to 'defs.h')
-rw-r--r--defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/defs.h b/defs.h
index 95d2571..330441f 100644
--- a/defs.h
+++ b/defs.h
@@ -703,6 +703,7 @@ extern int block_ioctl(struct tcb *, long, long);
extern int mtd_ioctl(struct tcb *, long, long);
extern int ubi_ioctl(struct tcb *, long, long);
extern int loop_ioctl(struct tcb *, long, long);
+extern int ptp_ioctl(struct tcb *, long, long);
extern int tv_nz(struct timeval *);
extern int tv_cmp(struct timeval *, struct timeval *);