xref: /openbmc/linux/arch/sh/include/uapi/asm/sockios.h (revision ba61bb17)
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	_IOR('s', 100, struct timeval) /* Get stamp (timeval) */
14 #define SIOCGSTAMPNS	_IOR('s', 101, struct timespec) /* Get stamp (timespec) */
15 #endif /* __ASM_SH_SOCKIOS_H */
16