summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2017-04-15 15:38:15 +0000
committerdchagin <dchagin@FreeBSD.org>2017-04-15 15:38:15 +0000
commit3d2b6505a9d4e2cf7eca765e43f3ab5699c10830 (patch)
tree680a7c9366ec3b6634ec819b512dcfd944cbbbac /sys/i386
parente06d0443ceaec26f9897b92956f52ee969632081 (diff)
downloadFreeBSD-src-3d2b6505a9d4e2cf7eca765e43f3ab5699c10830.zip
FreeBSD-src-3d2b6505a9d4e2cf7eca765e43f3ab5699c10830.tar.gz
MFC r315501:
To reduce code duplication move socket defines to the MI path.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/linux/linux.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/sys/i386/linux/linux.h b/sys/i386/linux/linux.h
index d485e10..c483350 100644
--- a/sys/i386/linux/linux.h
+++ b/sys/i386/linux/linux.h
@@ -453,37 +453,6 @@ union l_semun {
void *__pad;
};
-/*
- * Socket defines
- */
-#define LINUX_SOL_SOCKET 1
-#define LINUX_SOL_IP 0
-#define LINUX_SOL_IPX 256
-#define LINUX_SOL_AX25 257
-#define LINUX_SOL_TCP 6
-#define LINUX_SOL_UDP 17
-
-#define LINUX_SO_DEBUG 1
-#define LINUX_SO_REUSEADDR 2
-#define LINUX_SO_TYPE 3
-#define LINUX_SO_ERROR 4
-#define LINUX_SO_DONTROUTE 5
-#define LINUX_SO_BROADCAST 6
-#define LINUX_SO_SNDBUF 7
-#define LINUX_SO_RCVBUF 8
-#define LINUX_SO_KEEPALIVE 9
-#define LINUX_SO_OOBINLINE 10
-#define LINUX_SO_NO_CHECK 11
-#define LINUX_SO_PRIORITY 12
-#define LINUX_SO_LINGER 13
-#define LINUX_SO_PEERCRED 17
-#define LINUX_SO_RCVLOWAT 18
-#define LINUX_SO_SNDLOWAT 19
-#define LINUX_SO_RCVTIMEO 20
-#define LINUX_SO_SNDTIMEO 21
-#define LINUX_SO_TIMESTAMP 29
-#define LINUX_SO_ACCEPTCONN 30
-
struct l_sockaddr {
l_ushort sa_family;
char sa_data[14];
OpenPOWER on IntegriCloud