mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 10:19:20 +00:00
LibC: Add some missing netinet macros required by OpenSSH
Not used anywhere in Serenity right now, but required for OpenSSH.
This commit is contained in:
parent
f2cc565670
commit
7a558d16b0
Notes:
sideshowbarker
2024-07-19 02:11:30 +09:00
Author: https://github.com/Lubrsi
Commit: 7a558d16b0
Pull-request: https://github.com/SerenityOS/serenity/pull/3454
Reviewed-by: https://github.com/bugaevc
2 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,8 @@ in_addr_t inet_addr(const char*);
|
||||||
#define INADDR_NONE ((in_addr_t)-1)
|
#define INADDR_NONE ((in_addr_t)-1)
|
||||||
#define INADDR_LOOPBACK 0x7f000001
|
#define INADDR_LOOPBACK 0x7f000001
|
||||||
|
|
||||||
|
#define IN_LOOPBACKNET 127
|
||||||
|
|
||||||
#define IP_TTL 2
|
#define IP_TTL 2
|
||||||
|
|
||||||
#define IPPORT_RESERVED 1024
|
#define IPPORT_RESERVED 1024
|
||||||
|
|
|
@ -25,3 +25,5 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define TCP_NODELAY 10
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue