xref: /openbmc/linux/arch/mips/include/uapi/asm/sockios.h (revision c39f2d9db0fd81ea20bb5cce9b3f082ca63753e2)
1e2be04c7SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
261730c53SDavid Howells /*
361730c53SDavid Howells  * Socket-level I/O control calls.
461730c53SDavid Howells  *
561730c53SDavid Howells  * This file is subject to the terms and conditions of the GNU General Public
661730c53SDavid Howells  * License.  See the file "COPYING" in the main directory of this archive
761730c53SDavid Howells  * for more details.
861730c53SDavid Howells  *
961730c53SDavid Howells  * Copyright (C) 1995 by Ralf Baechle
1061730c53SDavid Howells  */
1161730c53SDavid Howells #ifndef _ASM_SOCKIOS_H
1261730c53SDavid Howells #define _ASM_SOCKIOS_H
1361730c53SDavid Howells 
1461730c53SDavid Howells #include <asm/ioctl.h>
1561730c53SDavid Howells 
1661730c53SDavid Howells /* Socket-level I/O control calls. */
1761730c53SDavid Howells #define FIOGETOWN	_IOR('f', 123, int)
1861730c53SDavid Howells #define FIOSETOWN	_IOW('f', 124, int)
1961730c53SDavid Howells 
2061730c53SDavid Howells #define SIOCATMARK	_IOR('s', 7, int)
2161730c53SDavid Howells #define SIOCSPGRP	_IOW('s', 8, pid_t)
2261730c53SDavid Howells #define SIOCGPGRP	_IOR('s', 9, pid_t)
2361730c53SDavid Howells 
24*0768e170SArnd Bergmann #define SIOCGSTAMP_OLD	0x8906		/* Get stamp (timeval) */
25*0768e170SArnd Bergmann #define SIOCGSTAMPNS_OLD 0x8907		/* Get stamp (timespec) */
2661730c53SDavid Howells 
2761730c53SDavid Howells #endif /* _ASM_SOCKIOS_H */
28