diff options
author | Eric Dumazet | 2007-03-19 01:33:16 +0100 |
---|---|---|
committer | David S. Miller | 2007-04-26 07:24:04 +0200 |
commit | ae40eb1ef30ab4120bd3c8b7e3da99ee53d27a23 (patch) | |
tree | b5ae288b3c27d13bde9648c41d7db3cfe1884bc2 /include/asm-h8300 | |
parent | [TCP/DCCP/RANDOM]: Remove unused exports. (diff) | |
download | kernel-qcow2-linux-ae40eb1ef30ab4120bd3c8b7e3da99ee53d27a23.tar.gz kernel-qcow2-linux-ae40eb1ef30ab4120bd3c8b7e3da99ee53d27a23.tar.xz kernel-qcow2-linux-ae40eb1ef30ab4120bd3c8b7e3da99ee53d27a23.zip |
[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-h8300')
-rw-r--r-- | include/asm-h8300/sockios.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-h8300/sockios.h b/include/asm-h8300/sockios.h index d005d9594cc6..e9c7ec810c23 100644 --- a/include/asm-h8300/sockios.h +++ b/include/asm-h8300/sockios.h @@ -7,6 +7,7 @@ #define FIOGETOWN 0x8903 #define SIOCGPGRP 0x8904 #define SIOCATMARK 0x8905 -#define SIOCGSTAMP 0x8906 /* Get stamp */ +#define SIOCGSTAMP 0x8906 /* Get stamp (timeval) */ +#define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */ #endif /* __ARCH_H8300_SOCKIOS__ */ |