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