diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2007-03-18 20:33:16 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:24:04 -0400 |
commit | ae40eb1ef30ab4120bd3c8b7e3da99ee53d27a23 (patch) | |
tree | b5ae288b3c27d13bde9648c41d7db3cfe1884bc2 /include/asm-s390/sockios.h | |
parent | cb69cc52364690d7789940c480b3a9490784b680 (diff) |
[NET]: Introduce SIOCGSTAMPNS ioctl to get timestamps with nanosec resolution
Now network timestamps use ktime_t infrastructure, we can add a new
ioctl() SIOCGSTAMPNS command to get timestamps in 'struct timespec'.
User programs can thus access to nanosecond resolution.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
CC: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-s390/sockios.h')
-rw-r--r-- | include/asm-s390/sockios.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-s390/sockios.h b/include/asm-s390/sockios.h index 412aeb4dd6ce..f4fc16c7da59 100644 --- a/include/asm-s390/sockios.h +++ b/include/asm-s390/sockios.h | |||
@@ -15,6 +15,7 @@ | |||
15 | #define FIOGETOWN 0x8903 | 15 | #define FIOGETOWN 0x8903 |
16 | #define SIOCGPGRP 0x8904 | 16 | #define SIOCGPGRP 0x8904 |
17 | #define SIOCATMARK 0x8905 | 17 | #define SIOCATMARK 0x8905 |
18 | #define SIOCGSTAMP 0x8906 /* Get stamp */ | 18 | #define SIOCGSTAMP 0x8906 /* Get stamp (timeval) */ |
19 | #define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */ | ||
19 | 20 | ||
20 | #endif | 21 | #endif |