summaryrefslogtreecommitdiff
path: root/Kernel/API/POSIX/netinet
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-12-02 01:05:56 +0200
committerAndreas Kling <kling@serenityos.org>2021-12-05 12:53:29 +0100
commit2860637ff31aff594a4d07c552310cbe9a6a7cf4 (patch)
treea18d8d7cba1da17c40f320f4ad68dc65beb777df /Kernel/API/POSIX/netinet
parentd18b3eb53dcb6e11be91600f913dd3b1d4a9ed5e (diff)
downloadserenity-2860637ff31aff594a4d07c552310cbe9a6a7cf4.zip
Kernel: Add the IP_{BLOCK_SOURCE, UNBLOCK_SOURCE, OPTIONS} macros
These are not implemented currently, but are required for some ports to compile.
Diffstat (limited to 'Kernel/API/POSIX/netinet')
-rw-r--r--Kernel/API/POSIX/netinet/in.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/API/POSIX/netinet/in.h b/Kernel/API/POSIX/netinet/in.h
index 272f1ab44e..ae8eed6523 100644
--- a/Kernel/API/POSIX/netinet/in.h
+++ b/Kernel/API/POSIX/netinet/in.h
@@ -29,6 +29,9 @@ typedef uint32_t in_addr_t;
#define IP_DROP_MEMBERSHIP 5
#define IP_MULTICAST_IF 6
#define IP_MULTICAST_TTL 7
+#define IP_BLOCK_SOURCE 8
+#define IP_UNBLOCK_SOURCE 9
+#define IP_OPTIONS 10
#define IPTOS_LOWDELAY 16
#define IPTOS_THROUGHPUT 8