projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do not try to interpret implementation specific strings as tz definition
[musl]
/
include
/
sys
/
socket.h
diff --git
a/include/sys/socket.h
b/include/sys/socket.h
index
20eeee3
..
8e8c9e9
100644
(file)
--- a/
include/sys/socket.h
+++ b/
include/sys/socket.h
@@
-19,12
+19,14
@@
extern "C" {
#include <bits/socket.h>
#include <bits/socket.h>
+#ifdef _GNU_SOURCE
struct ucred
{
pid_t pid;
uid_t uid;
gid_t gid;
};
struct ucred
{
pid_t pid;
uid_t uid;
gid_t gid;
};
+#endif
struct linger
{
struct linger
{
@@
-33,7
+35,7
@@
struct linger
};
#define SHUT_RD 0
};
#define SHUT_RD 0
-#define SHUT_W
D
1
+#define SHUT_W
R
1
#define SHUT_RDWR 2
#ifndef SOCK_STREAM
#define SHUT_RDWR 2
#ifndef SOCK_STREAM
@@
-200,11
+202,16
@@
struct linger
#define SO_LOCK_FILTER 44
#define SO_SELECT_ERR_QUEUE 45
#define SO_BUSY_POLL 46
#define SO_LOCK_FILTER 44
#define SO_SELECT_ERR_QUEUE 45
#define SO_BUSY_POLL 46
+#define SO_MAX_PACING_RATE 47
#ifndef SOL_SOCKET
#define SOL_SOCKET 1
#endif
#ifndef SOL_SOCKET
#define SOL_SOCKET 1
#endif
+#define SOL_IP 0
+#define SOL_IPV6 41
+#define SOL_ICMPV6 58
+
#define SOL_RAW 255
#define SOL_DECNET 261
#define SOL_X25 262
#define SOL_RAW 255
#define SOL_DECNET 261
#define SOL_X25 262
@@
-290,10
+297,6
@@
int setsockopt (int, int, int, const void *, socklen_t);
int sockatmark (int);
int sockatmark (int);
-#define SHUT_RD 0
-#define SHUT_WR 1
-#define SHUT_RDWR 2
-
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif