sockios.h 871 B

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