mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:57:47 +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
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