mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
ae40eb1ef3
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>
17 lines
434 B
C
17 lines
434 B
C
#ifndef _ASM_ALPHA_SOCKIOS_H
|
|
#define _ASM_ALPHA_SOCKIOS_H
|
|
|
|
/* Socket-level I/O control calls. */
|
|
|
|
#define FIOGETOWN _IOR('f', 123, int)
|
|
#define FIOSETOWN _IOW('f', 124, int)
|
|
|
|
#define SIOCATMARK _IOR('s', 7, int)
|
|
#define SIOCSPGRP _IOW('s', 8, pid_t)
|
|
#define SIOCGPGRP _IOR('s', 9, pid_t)
|
|
|
|
#define SIOCGSTAMP 0x8906 /* Get stamp (timeval) */
|
|
#define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */
|
|
|
|
#endif /* _ASM_ALPHA_SOCKIOS_H */
|