[NET]: Introduce SIOCGSTAMPNS ioctl to get timestamps with nanosec resolution
authorEric Dumazet <dada1@cosmosbay.com>
Mon, 19 Mar 2007 00:33:16 +0000 (17:33 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:24:04 +0000 (22:24 -0700)
commitae40eb1ef30ab4120bd3c8b7e3da99ee53d27a23
treeb5ae288b3c27d13bde9648c41d7db3cfe1884bc2
parentcb69cc52364690d7789940c480b3a9490784b680
[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>
37 files changed:
fs/compat_ioctl.c
include/asm-alpha/sockios.h
include/asm-arm/sockios.h
include/asm-arm26/sockios.h
include/asm-avr32/sockios.h
include/asm-cris/sockios.h
include/asm-frv/sockios.h
include/asm-h8300/sockios.h
include/asm-i386/sockios.h
include/asm-ia64/sockios.h
include/asm-m32r/sockios.h
include/asm-m68k/sockios.h
include/asm-mips/sockios.h
include/asm-parisc/sockios.h
include/asm-powerpc/sockios.h
include/asm-s390/sockios.h
include/asm-sh/sockios.h
include/asm-sh64/sockios.h
include/asm-sparc/sockios.h
include/asm-sparc64/sockios.h
include/asm-v850/sockios.h
include/asm-x86_64/sockios.h
include/asm-xtensa/sockios.h
include/net/compat.h
include/net/sock.h
net/appletalk/ddp.c
net/atm/ioctl.c
net/ax25/af_ax25.c
net/compat.c
net/core/sock.c
net/econet/af_econet.c
net/ipv4/af_inet.c
net/ipv6/af_inet6.c
net/netrom/af_netrom.c
net/packet/af_packet.c
net/rose/af_rose.c
net/x25/af_x25.c