1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * include/asm-xtensa/sockios.h
5 * Socket-level I/O control calls. Copied from MIPS.
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
11 * Copyright (C) 1995 by Ralf Baechle
12 * Copyright (C) 2001 Tensilica Inc.
15 #ifndef _XTENSA_SOCKIOS_H
16 #define _XTENSA_SOCKIOS_H
18 #include <asm/ioctl.h>
20 /* Socket-level I/O control calls. */
22 #define FIOGETOWN _IOR('f', 123, int)
23 #define FIOSETOWN _IOW('f', 124, int)
25 #define SIOCATMARK _IOR('s', 7, int)
26 #define SIOCSPGRP _IOW('s', 8, pid_t)
27 #define SIOCGPGRP _IOR('s', 9, pid_t)
29 #define SIOCGSTAMP 0x8906 /* Get stamp (timeval) */
30 #define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */
32 #endif /* _XTENSA_SOCKIOS_H */