summaryrefslogtreecommitdiff
path: root/Libraries/LibC/netinet/in.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-08 21:50:24 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-08 21:50:45 +0200
commit57b6f51137ac8716516ab13fea6b81d378177b0d (patch)
tree418ec2eeb9f5cf873612d9b851119141546ec4b8 /Libraries/LibC/netinet/in.h
parent5448a670c0395c7f5ec45fe1bf418f1e440348f7 (diff)
downloadserenity-57b6f51137ac8716516ab13fea6b81d378177b0d.zip
LibC: Add IPPORT_RESERVED and IPPORT_USERRESERVED
Gets rid of one dropbear patch. :^)
Diffstat (limited to 'Libraries/LibC/netinet/in.h')
-rw-r--r--Libraries/LibC/netinet/in.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Libraries/LibC/netinet/in.h b/Libraries/LibC/netinet/in.h
index dd32b6ef43..e79d60f3e0 100644
--- a/Libraries/LibC/netinet/in.h
+++ b/Libraries/LibC/netinet/in.h
@@ -40,6 +40,9 @@ in_addr_t inet_addr(const char*);
#define IP_TTL 2
+#define IPPORT_RESERVED 1024
+#define IPPORT_USERRESERVED 5000
+
struct in_addr {
uint32_t s_addr;
};