xref: /openbmc/linux/arch/sh/include/uapi/asm/sockios.h (revision 22d55f02)
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 /* Socket-level I/O control calls. */
6 #define FIOGETOWN	_IOR('f', 123, int)
7 #define FIOSETOWN 	_IOW('f', 124, int)
8 
9 #define SIOCATMARK	_IOR('s', 7, int)
10 #define SIOCSPGRP	_IOW('s', 8, pid_t)
11 #define SIOCGPGRP	_IOR('s', 9, pid_t)
12 
13 #define SIOCGSTAMP_OLD	_IOR('s', 100, struct timeval) /* Get stamp (timeval) */
14 #define SIOCGSTAMPNS_OLD _IOR('s', 101, struct timespec) /* Get stamp (timespec) */
15 
16 #endif /* __ASM_SH_SOCKIOS_H */
17