1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Socket-level I/O control calls.
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
9 * Copyright (C) 1995 by Ralf Baechle
11 #ifndef _ASM_SOCKIOS_H
12 #define _ASM_SOCKIOS_H
14 #include <asm/ioctl.h>
16 /* Socket-level I/O control calls. */
17 #define FIOGETOWN _IOR('f', 123, int)
18 #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)
24 #define SIOCGSTAMP_OLD 0x8906 /* Get stamp (timeval) */
25 #define SIOCGSTAMPNS_OLD 0x8907 /* Get stamp (timespec) */
27 #endif /* _ASM_SOCKIOS_H */