[NET]: Introduce SIOCGSTAMPNS ioctl to get timestamps with nanosec resolution
[linux-2.6/sactl.git] / include / asm-mips / sockios.h
blobed1a5f78d22f401b58cfd303ea322b7e54d706e4
1 /*
2 * Socket-level I/O control calls.
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
8 * Copyright (C) 1995 by Ralf Baechle
9 */
10 #ifndef _ASM_SOCKIOS_H
11 #define _ASM_SOCKIOS_H
13 #include <asm/ioctl.h>
15 /* Socket-level I/O control calls. */
16 #define FIOGETOWN _IOR('f', 123, int)
17 #define FIOSETOWN _IOW('f', 124, int)
19 #define SIOCATMARK _IOR('s', 7, int)
20 #define SIOCSPGRP _IOW('s', 8, pid_t)
21 #define SIOCGPGRP _IOR('s', 9, pid_t)
23 #define SIOCGSTAMP 0x8906 /* Get stamp (timeval) */
24 #define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */
26 #endif /* _ASM_SOCKIOS_H */