sockios.h 768 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. /*
  3. * Socket-level I/O control calls.
  4. *
  5. * This file is subject to the terms and conditions of the GNU General Public
  6. * License. See the file "COPYING" in the main directory of this archive
  7. * for more details.
  8. *
  9. * Copyright (C) 1995 by Ralf Baechle
  10. */
  11. #ifndef _ASM_SOCKIOS_H
  12. #define _ASM_SOCKIOS_H
  13. #include <asm/ioctl.h>
  14. /* Socket-level I/O control calls. */
  15. #define FIOGETOWN _IOR('f', 123, int)
  16. #define FIOSETOWN _IOW('f', 124, int)
  17. #define SIOCATMARK _IOR('s', 7, int)
  18. #define SIOCSPGRP _IOW('s', 8, pid_t)
  19. #define SIOCGPGRP _IOR('s', 9, pid_t)
  20. #define SIOCGSTAMP_OLD 0x8906 /* Get stamp (timeval) */
  21. #define SIOCGSTAMPNS_OLD 0x8907 /* Get stamp (timespec) */
  22. #endif /* _ASM_SOCKIOS_H */