Home | History | Annotate | Download | only in asm
      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 
     13 #include <asm/ioctl.h>
     14 
     15 /* Socket-level I/O control calls. */
     16 #define FIOGETOWN	_IOR('f', 123, int)
     17 #define FIOSETOWN	_IOW('f', 124, int)
     18 
     19 #define SIOCATMARK	_IOR('s', 7, int)
     20 #define SIOCSPGRP	_IOW('s', 8, pid_t)
     21 #define SIOCGPGRP	_IOR('s', 9, pid_t)
     22 
     23 #define SIOCGSTAMP	0x8906		/* Get stamp (timeval) */
     24 #define SIOCGSTAMPNS	0x8907		/* Get stamp (timespec) */
     25 
     26 #endif /* _ASM_SOCKIOS_H */
     27