mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 09:02:00 +00: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>
26 lines
744 B
C
26 lines
744 B
C
#ifndef __ASM_SH64_SOCKIOS_H
|
|
#define __ASM_SH64_SOCKIOS_H
|
|
|
|
/*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*
|
|
* include/asm-sh64/sockios.h
|
|
*
|
|
* Copyright (C) 2000, 2001 Paolo Alberelli
|
|
*
|
|
*/
|
|
|
|
/* 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 _IOR('s', 100, struct timeval) /* Get stamp (timeval) */
|
|
#define SIOCGSTAMPNS _IOR('s', 101, struct timespec) /* Get stamp (timespec) */
|
|
#endif /* __ASM_SH64_SOCKIOS_H */
|