18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci#ifndef __ASM_SH_SOCKIOS_H
38c2ecf20Sopenharmony_ci#define __ASM_SH_SOCKIOS_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#include <linux/time_types.h>
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci/* Socket-level I/O control calls. */
88c2ecf20Sopenharmony_ci#define FIOGETOWN	_IOR('f', 123, int)
98c2ecf20Sopenharmony_ci#define FIOSETOWN 	_IOW('f', 124, int)
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#define SIOCATMARK	_IOR('s', 7, int)
128c2ecf20Sopenharmony_ci#define SIOCSPGRP	_IOW('s', 8, pid_t)
138c2ecf20Sopenharmony_ci#define SIOCGPGRP	_IOR('s', 9, pid_t)
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#define SIOCGSTAMP_OLD	_IOR('s', 100, struct __kernel_old_timeval) /* Get stamp (timeval) */
168c2ecf20Sopenharmony_ci#define SIOCGSTAMPNS_OLD _IOR('s', 101, struct __kernel_old_timespec) /* Get stamp (timespec) */
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci#endif /* __ASM_SH_SOCKIOS_H */
19