diff options
author | Luke <luke.wilde@live.co.uk> | 2020-09-09 08:23:29 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-27 01:02:11 +0200 |
commit | 7a558d16b08ffca477e29be9b0cafba084dff681 (patch) | |
tree | e829478fe7856b9226f19cced9ff3d82a287f890 /Libraries/LibC | |
parent | f2cc56567083cfc1b959d9fb01a0c592ef2b7c11 (diff) | |
download | serenity-7a558d16b08ffca477e29be9b0cafba084dff681.zip |
LibC: Add some missing netinet macros required by OpenSSH
Not used anywhere in Serenity right now, but required for OpenSSH.
Diffstat (limited to 'Libraries/LibC')
-rw-r--r-- | Libraries/LibC/netinet/in.h | 2 | ||||
-rw-r--r-- | Libraries/LibC/netinet/tcp.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Libraries/LibC/netinet/in.h b/Libraries/LibC/netinet/in.h index 71802d633e..a08040ca2a 100644 --- a/Libraries/LibC/netinet/in.h +++ b/Libraries/LibC/netinet/in.h @@ -39,6 +39,8 @@ in_addr_t inet_addr(const char*); #define INADDR_NONE ((in_addr_t)-1) #define INADDR_LOOPBACK 0x7f000001 +#define IN_LOOPBACKNET 127 + #define IP_TTL 2 #define IPPORT_RESERVED 1024 diff --git a/Libraries/LibC/netinet/tcp.h b/Libraries/LibC/netinet/tcp.h index 48e7634d64..8dc5da8e32 100644 --- a/Libraries/LibC/netinet/tcp.h +++ b/Libraries/LibC/netinet/tcp.h @@ -25,3 +25,5 @@ */ #pragma once + +#define TCP_NODELAY 10 |