mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
![Eric Dumazet](/assets/img/avatar_default.png)
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>
20 lines
496 B
C
20 lines
496 B
C
#ifndef _ASM_IA64_SOCKIOS_H
|
|
#define _ASM_IA64_SOCKIOS_H
|
|
|
|
/*
|
|
* Socket-level I/O control calls.
|
|
*
|
|
* Based on <asm-i386/sockios.h>.
|
|
*
|
|
* Modified 1998, 1999
|
|
* David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
|
|
*/
|
|
#define FIOSETOWN 0x8901
|
|
#define SIOCSPGRP 0x8902
|
|
#define FIOGETOWN 0x8903
|
|
#define SIOCGPGRP 0x8904
|
|
#define SIOCATMARK 0x8905
|
|
#define SIOCGSTAMP 0x8906 /* Get stamp (timeval) */
|
|
#define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */
|
|
|
|
#endif /* _ASM_IA64_SOCKIOS_H */
|