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