mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Kernel+LibC: Add SO_REUSEADDR macro
Note that this is not actually implemented, I'm just defining it.
This commit is contained in:
parent
2a1cad73fe
commit
0ba458cfa0
Notes:
sideshowbarker
2024-07-19 09:12:35 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/0ba458cfa08
2 changed files with 2 additions and 0 deletions
|
@ -400,6 +400,7 @@ struct pollfd {
|
|||
#define SO_KEEPALIVE 3
|
||||
#define SO_ERROR 4
|
||||
#define SO_PEERCRED 5
|
||||
#define SO_REUSEADDR 6
|
||||
|
||||
#define IPPROTO_IP 0
|
||||
#define IPPROTO_ICMP 1
|
||||
|
|
|
@ -79,6 +79,7 @@ struct ucred {
|
|||
#define SO_KEEPALIVE 3
|
||||
#define SO_ERROR 4
|
||||
#define SO_PEERCRED 5
|
||||
#define SO_REUSEADDR 6
|
||||
|
||||
int socket(int domain, int type, int protocol);
|
||||
int bind(int sockfd, const struct sockaddr* addr, socklen_t);
|
||||
|
|
Loading…
Reference in a new issue