LibC: Add INADDR_LOOPBACK

This commit is contained in:
Andreas Kling 2020-01-15 22:03:56 +01:00
parent 9e54c7c17f
commit 09fd59a1b5
Notes: sideshowbarker 2024-07-19 10:02:34 +09:00

View file

@ -10,6 +10,7 @@ in_addr_t inet_addr(const char*);
#define INADDR_ANY ((in_addr_t)0)
#define INADDR_NONE ((in_addr_t)-1)
#define INADDR_LOOPBACK 0x7f000001
#define IP_TTL 2