Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Unified Diff: fusl/arch/mips/bits/socket.h

Issue 1724903002: [fusl] Remove code for unsupported architectures (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fusl/arch/mips/bits/signal.h ('k') | fusl/arch/mips/bits/stat.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/arch/mips/bits/socket.h
diff --git a/fusl/arch/mips/bits/socket.h b/fusl/arch/mips/bits/socket.h
deleted file mode 100644
index b6384eb29857d2b5bf9ea599969ab46ccf453113..0000000000000000000000000000000000000000
--- a/fusl/arch/mips/bits/socket.h
+++ /dev/null
@@ -1,52 +0,0 @@
-struct msghdr {
- void* msg_name;
- socklen_t msg_namelen;
- struct iovec* msg_iov;
- int msg_iovlen;
- void* msg_control;
- socklen_t msg_controllen;
- int msg_flags;
-};
-
-struct cmsghdr {
- socklen_t cmsg_len;
- int cmsg_level;
- int cmsg_type;
-};
-
-#define SOCK_STREAM 2
-#define SOCK_DGRAM 1
-
-#define SOL_SOCKET 65535
-
-#define SO_DEBUG 1
-
-#define SO_REUSEADDR 0x0004
-#define SO_KEEPALIVE 0x0008
-#define SO_DONTROUTE 0x0010
-#define SO_BROADCAST 0x0020
-#define SO_LINGER 0x0080
-#define SO_OOBINLINE 0x0100
-#define SO_REUSEPORT 0x0200
-#define SO_SNDBUF 0x1001
-#define SO_RCVBUF 0x1002
-#define SO_SNDLOWAT 0x1003
-#define SO_RCVLOWAT 0x1004
-#define SO_RCVTIMEO 0x1006
-#define SO_SNDTIMEO 0x1005
-#define SO_ERROR 0x1007
-#define SO_TYPE 0x1008
-#define SO_ACCEPTCONN 0x1009
-#define SO_PROTOCOL 0x1028
-#define SO_DOMAIN 0x1029
-
-#define SO_NO_CHECK 11
-#define SO_PRIORITY 12
-#define SO_BSDCOMPAT 14
-#define SO_PASSCRED 17
-#define SO_PEERCRED 18
-#define SO_SNDBUFFORCE 31
-#define SO_RCVBUFFORCE 33
-
-#define SOCK_NONBLOCK 0200
-#define SOCK_CLOEXEC 02000000
« no previous file with comments | « fusl/arch/mips/bits/signal.h ('k') | fusl/arch/mips/bits/stat.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698