]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
uapi: add sockios.h
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 15 May 2019 16:51:15 +0000 (09:51 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 15 May 2019 16:51:15 +0000 (09:51 -0700)
Forgot to add this to earlier commit.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/uapi/asm-generic/sockios.h [new file with mode: 0644]

diff --git a/include/uapi/asm-generic/sockios.h b/include/uapi/asm-generic/sockios.h
new file mode 100644 (file)
index 0000000..44fa3ed
--- /dev/null
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+#ifndef __ASM_GENERIC_SOCKIOS_H
+#define __ASM_GENERIC_SOCKIOS_H
+
+/* Socket-level I/O control calls. */
+#define FIOSETOWN      0x8901
+#define SIOCSPGRP      0x8902
+#define FIOGETOWN      0x8903
+#define SIOCGPGRP      0x8904
+#define SIOCATMARK     0x8905
+#define SIOCGSTAMP_OLD 0x8906          /* Get stamp (timeval) */
+#define SIOCGSTAMPNS_OLD 0x8907                /* Get stamp (timespec) */
+
+#endif /* __ASM_GENERIC_SOCKIOS_H */