summaryrefslogtreecommitdiff
path: root/Libraries/LibC/netinet
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2020-01-15 22:03:56 +0100
committerAndreas Kling <awesomekling@gmail.com>2020-01-15 22:11:44 +0100
commit09fd59a1b564e918be12f0419bc7134c6630f20d (patch)
treed725a1e7e44b5aec31064ac9f41f826acba5b19c /Libraries/LibC/netinet
parent9e54c7c17fd1deb27c0da84ee26fbdff39797fd7 (diff)
downloadserenity-09fd59a1b564e918be12f0419bc7134c6630f20d.zip
LibC: Add INADDR_LOOPBACK
Diffstat (limited to 'Libraries/LibC/netinet')
-rw-r--r--Libraries/LibC/netinet/in.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibC/netinet/in.h b/Libraries/LibC/netinet/in.h
index c44895b0c5..47f656ff2d 100644
--- a/Libraries/LibC/netinet/in.h
+++ b/Libraries/LibC/netinet/in.h
@@ -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