diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2021-12-02 01:05:56 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-05 12:53:29 +0100 |
commit | 2860637ff31aff594a4d07c552310cbe9a6a7cf4 (patch) | |
tree | a18d8d7cba1da17c40f320f4ad68dc65beb777df /Kernel/API/POSIX/netinet | |
parent | d18b3eb53dcb6e11be91600f913dd3b1d4a9ed5e (diff) | |
download | serenity-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.h | 3 |
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 |