1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2*4882a593Smuzhiyun #ifndef __ASM_SH_SOCKIOS_H 3*4882a593Smuzhiyun #define __ASM_SH_SOCKIOS_H 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun #include <linux/time_types.h> 6*4882a593Smuzhiyun 7*4882a593Smuzhiyun /* Socket-level I/O control calls. */ 8*4882a593Smuzhiyun #define FIOGETOWN _IOR('f', 123, int) 9*4882a593Smuzhiyun #define FIOSETOWN _IOW('f', 124, int) 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun #define SIOCATMARK _IOR('s', 7, int) 12*4882a593Smuzhiyun #define SIOCSPGRP _IOW('s', 8, pid_t) 13*4882a593Smuzhiyun #define SIOCGPGRP _IOR('s', 9, pid_t) 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun #define SIOCGSTAMP_OLD _IOR('s', 100, struct __kernel_old_timeval) /* Get stamp (timeval) */ 16*4882a593Smuzhiyun #define SIOCGSTAMPNS_OLD _IOR('s', 101, struct __kernel_old_timespec) /* Get stamp (timespec) */ 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun #endif /* __ASM_SH_SOCKIOS_H */ 19