sockios.h 697 B

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