diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2021-12-02 01:07:29 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-05 12:53:29 +0100 |
commit | 8074157c109b827f61ffb332a6b635326ed5d665 (patch) | |
tree | b1d3415a54174de9e5851885bd7c823c2cd44333 /Kernel/API | |
parent | 2860637ff31aff594a4d07c552310cbe9a6a7cf4 (diff) | |
download | serenity-8074157c109b827f61ffb332a6b635326ed5d665.zip |
Kernel: Add the IPPROTO_{IGMP, IPIP, RAW} protocol macros
These are not implemented currently, but are required for some ports to
compile.
Diffstat (limited to 'Kernel/API')
-rw-r--r-- | Kernel/API/POSIX/sys/socket.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/API/POSIX/sys/socket.h b/Kernel/API/POSIX/sys/socket.h index fa4301d201..a945dcabec 100644 --- a/Kernel/API/POSIX/sys/socket.h +++ b/Kernel/API/POSIX/sys/socket.h @@ -43,10 +43,13 @@ extern "C" { #define IPPROTO_IP 0 #define IPPROTO_ICMP 1 +#define IPPROTO_IGMP 2 +#define IPPROTO_IPIP 4 #define IPPROTO_TCP 6 #define IPPROTO_UDP 17 #define IPPROTO_IPV6 41 #define IPPROTO_ICMPV6 58 +#define IPPROTO_RAW 255 #define MSG_TRUNC 0x1 #define MSG_CTRUNC 0x2 |