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