xref: /linux/arch/xtensa/include/uapi/asm/sockios.h (revision 0768e170)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3  * include/asm-xtensa/sockios.h
4  *
5  * Socket-level I/O control calls.  Copied from MIPS.
6  *
7  * This file is subject to the terms and conditions of the GNU General Public
8  * License.  See the file "COPYING" in the main directory of this archive
9  * for more details.
10  *
11  * Copyright (C) 1995 by Ralf Baechle
12  * Copyright (C) 2001 Tensilica Inc.
13  */
14 
15 #ifndef _XTENSA_SOCKIOS_H
16 #define _XTENSA_SOCKIOS_H
17 
18 #include <asm/ioctl.h>
19 
20 /* Socket-level I/O control calls. */
21 
22 #define FIOGETOWN	_IOR('f', 123, int)
23 #define FIOSETOWN 	_IOW('f', 124, int)
24 
25 #define SIOCATMARK	_IOR('s', 7, int)
26 #define SIOCSPGRP	_IOW('s', 8, pid_t)
27 #define SIOCGPGRP	_IOR('s', 9, pid_t)
28 
29 #define SIOCGSTAMP_OLD	0x8906		/* Get stamp (timeval) */
30 #define SIOCGSTAMPNS_OLD 0x8907		/* Get stamp (timespec) */
31 
32 #endif	/* _XTENSA_SOCKIOS_H */
33