mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:47:34 +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:
parent
2860637ff3
commit
8074157c10
1 changed files with 3 additions and 0 deletions
|
@ -43,10 +43,13 @@ extern "C" {
|
||||||
|
|
||||||
#define IPPROTO_IP 0
|
#define IPPROTO_IP 0
|
||||||
#define IPPROTO_ICMP 1
|
#define IPPROTO_ICMP 1
|
||||||
|
#define IPPROTO_IGMP 2
|
||||||
|
#define IPPROTO_IPIP 4
|
||||||
#define IPPROTO_TCP 6
|
#define IPPROTO_TCP 6
|
||||||
#define IPPROTO_UDP 17
|
#define IPPROTO_UDP 17
|
||||||
#define IPPROTO_IPV6 41
|
#define IPPROTO_IPV6 41
|
||||||
#define IPPROTO_ICMPV6 58
|
#define IPPROTO_ICMPV6 58
|
||||||
|
#define IPPROTO_RAW 255
|
||||||
|
|
||||||
#define MSG_TRUNC 0x1
|
#define MSG_TRUNC 0x1
|
||||||
#define MSG_CTRUNC 0x2
|
#define MSG_CTRUNC 0x2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue