125981136fb13bcacf5f475f3e0ec750341e1e671Christopher Ferris/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris/*
3198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris * Socket-level I/O control calls.
4198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris *
5198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris * This file is subject to the terms and conditions of the GNU General Public
6198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris * License.  See the file "COPYING" in the main directory of this archive
7198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris * for more details.
8198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris *
9198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris * Copyright (C) 1995 by Ralf Baechle
10198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris */
11198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris#ifndef _ASM_SOCKIOS_H
12198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris#define _ASM_SOCKIOS_H
13198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris
14198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris#include <asm/ioctl.h>
15198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris
16198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris/* Socket-level I/O control calls. */
17198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris#define FIOGETOWN	_IOR('f', 123, int)
18198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris#define FIOSETOWN	_IOW('f', 124, int)
19198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris
20198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris#define SIOCATMARK	_IOR('s', 7, int)
21198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris#define SIOCSPGRP	_IOW('s', 8, pid_t)
22198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris#define SIOCGPGRP	_IOR('s', 9, pid_t)
23198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris
24198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris#define SIOCGSTAMP	0x8906		/* Get stamp (timeval) */
25198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris#define SIOCGSTAMPNS	0x8907		/* Get stamp (timespec) */
26198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris
27198084289b68143fd4ea72dec91515eec00d700fChristopher Ferris#endif /* _ASM_SOCKIOS_H */
28