blob: 5b40a88593fa8180e9af018d98535a6717bef614 [file] [log] [blame]
Greg Kroah-Hartmane2be04c2017-11-01 15:09:13 +01001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
3 * Socket-level I/O control calls.
4 *
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
7 * for more details.
8 *
9 * Copyright (C) 1995 by Ralf Baechle
10 */
11#ifndef _ASM_SOCKIOS_H
12#define _ASM_SOCKIOS_H
13
14#include <asm/ioctl.h>
15
16/* Socket-level I/O control calls. */
17#define FIOGETOWN _IOR('f', 123, int)
Ralf Baechle70342282013-01-22 12:59:30 +010018#define FIOSETOWN _IOW('f', 124, int)
Linus Torvalds1da177e2005-04-16 15:20:36 -070019
20#define SIOCATMARK _IOR('s', 7, int)
21#define SIOCSPGRP _IOW('s', 8, pid_t)
22#define SIOCGPGRP _IOR('s', 9, pid_t)
23
Eric Dumazetae40eb12007-03-18 17:33:16 -070024#define SIOCGSTAMP 0x8906 /* Get stamp (timeval) */
25#define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */
Linus Torvalds1da177e2005-04-16 15:20:36 -070026
27#endif /* _ASM_SOCKIOS_H */