1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:07:44 +00:00

Kernel: Add the IPPROTO_{IGMP, IPIP, RAW} protocol macros

These are not implemented currently, but are required for some ports to
compile.
This commit is contained in:
Idan Horowitz 2021-12-02 01:07:29 +02:00 committed by Andreas Kling
parent 2860637ff3
commit 8074157c10

View file

@ -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