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

Side by Side Diff: fusl/arch/mips/bits/socket.h

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 struct msghdr
2 {
3 void *msg_name;
4 socklen_t msg_namelen;
5 struct iovec *msg_iov;
6 int msg_iovlen;
7 void *msg_control;
8 socklen_t msg_controllen;
9 int msg_flags;
10 };
11
12 struct cmsghdr
13 {
14 socklen_t cmsg_len;
15 int cmsg_level;
16 int cmsg_type;
17 };
18
19 #define SOCK_STREAM 2
20 #define SOCK_DGRAM 1
21
22 #define SOL_SOCKET 65535
23
24 #define SO_DEBUG 1
25
26 #define SO_REUSEADDR 0x0004
27 #define SO_KEEPALIVE 0x0008
28 #define SO_DONTROUTE 0x0010
29 #define SO_BROADCAST 0x0020
30 #define SO_LINGER 0x0080
31 #define SO_OOBINLINE 0x0100
32 #define SO_REUSEPORT 0x0200
33 #define SO_SNDBUF 0x1001
34 #define SO_RCVBUF 0x1002
35 #define SO_SNDLOWAT 0x1003
36 #define SO_RCVLOWAT 0x1004
37 #define SO_RCVTIMEO 0x1006
38 #define SO_SNDTIMEO 0x1005
39 #define SO_ERROR 0x1007
40 #define SO_TYPE 0x1008
41 #define SO_ACCEPTCONN 0x1009
42 #define SO_PROTOCOL 0x1028
43 #define SO_DOMAIN 0x1029
44
45 #define SO_NO_CHECK 11
46 #define SO_PRIORITY 12
47 #define SO_BSDCOMPAT 14
48 #define SO_PASSCRED 17
49 #define SO_PEERCRED 18
50 #define SO_SNDBUFFORCE 31
51 #define SO_RCVBUFFORCE 33
52
53 #define SOCK_NONBLOCK 0200
54 #define SOCK_CLOEXEC 02000000
OLDNEW
« 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