sockios.h 602 B

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