xref: /openbmc/linux/arch/sh/include/uapi/asm/sockios.h (revision fc94cf20)
16f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
20a9426dfSDavid Howells #ifndef __ASM_SH_SOCKIOS_H
30a9426dfSDavid Howells #define __ASM_SH_SOCKIOS_H
40a9426dfSDavid Howells 
5fc94cf20SArnd Bergmann #include <linux/time_types.h>
6fc94cf20SArnd Bergmann 
70a9426dfSDavid Howells /* Socket-level I/O control calls. */
80a9426dfSDavid Howells #define FIOGETOWN	_IOR('f', 123, int)
90a9426dfSDavid Howells #define FIOSETOWN 	_IOW('f', 124, int)
100a9426dfSDavid Howells 
110a9426dfSDavid Howells #define SIOCATMARK	_IOR('s', 7, int)
120a9426dfSDavid Howells #define SIOCSPGRP	_IOW('s', 8, pid_t)
130a9426dfSDavid Howells #define SIOCGPGRP	_IOR('s', 9, pid_t)
140a9426dfSDavid Howells 
158c709f9aSArnd Bergmann #define SIOCGSTAMP_OLD	_IOR('s', 100, struct __kernel_old_timeval) /* Get stamp (timeval) */
168c709f9aSArnd Bergmann #define SIOCGSTAMPNS_OLD _IOR('s', 101, struct __kernel_old_timespec) /* Get stamp (timespec) */
170768e170SArnd Bergmann 
180a9426dfSDavid Howells #endif /* __ASM_SH_SOCKIOS_H */
19