Greg Kroah-Hartman | e2be04c | 2017-11-01 15:09:13 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Socket-level I/O control calls. |
| 4 | * |
| 5 | * This file is subject to the terms and conditions of the GNU General Public |
| 6 | * License. See the file "COPYING" in the main directory of this archive |
| 7 | * for more details. |
| 8 | * |
| 9 | * Copyright (C) 1995 by Ralf Baechle |
| 10 | */ |
| 11 | #ifndef _ASM_SOCKIOS_H |
| 12 | #define _ASM_SOCKIOS_H |
| 13 | |
| 14 | #include <asm/ioctl.h> |
| 15 | |
| 16 | /* Socket-level I/O control calls. */ |
| 17 | #define FIOGETOWN _IOR('f', 123, int) |
Ralf Baechle | 7034228 | 2013-01-22 12:59:30 +0100 | [diff] [blame] | 18 | #define FIOSETOWN _IOW('f', 124, int) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | |
| 20 | #define SIOCATMARK _IOR('s', 7, int) |
| 21 | #define SIOCSPGRP _IOW('s', 8, pid_t) |
| 22 | #define SIOCGPGRP _IOR('s', 9, pid_t) |
| 23 | |
Eric Dumazet | ae40eb1 | 2007-03-18 17:33:16 -0700 | [diff] [blame] | 24 | #define SIOCGSTAMP 0x8906 /* Get stamp (timeval) */ |
| 25 | #define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | |
| 27 | #endif /* _ASM_SOCKIOS_H */ |