Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  * Socket-level I/O control calls.
0004  *
0005  * This file is subject to the terms and conditions of the GNU General Public
0006  * License.  See the file "COPYING" in the main directory of this archive
0007  * for more details.
0008  *
0009  * Copyright (C) 1995 by Ralf Baechle
0010  */
0011 #ifndef _ASM_SOCKIOS_H
0012 #define _ASM_SOCKIOS_H
0013 
0014 #include <asm/ioctl.h>
0015 
0016 /* Socket-level I/O control calls. */
0017 #define FIOGETOWN   _IOR('f', 123, int)
0018 #define FIOSETOWN   _IOW('f', 124, int)
0019 
0020 #define SIOCATMARK  _IOR('s', 7, int)
0021 #define SIOCSPGRP   _IOW('s', 8, pid_t)
0022 #define SIOCGPGRP   _IOR('s', 9, pid_t)
0023 
0024 #define SIOCGSTAMP_OLD  0x8906      /* Get stamp (timeval) */
0025 #define SIOCGSTAMPNS_OLD 0x8907     /* Get stamp (timespec) */
0026 
0027 #endif /* _ASM_SOCKIOS_H */