From a89db9872dc6851d953e2c1e717f57b3b48270b3 Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Thu, 20 Feb 2014 21:13:13 +0100 Subject: [PATCH] Added missing IPPROTO_RAW --- src/include/lwip/sockets.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/lwip/sockets.h b/src/include/lwip/sockets.h index e2a36a46..8bbebb84 100644 --- a/src/include/lwip/sockets.h +++ b/src/include/lwip/sockets.h @@ -192,7 +192,7 @@ struct linger { #define PF_UNSPEC AF_UNSPEC #define IPPROTO_IP 0 -#define IPPROTO_ICMP 1 +#define IPPROTO_ICMP 1 #define IPPROTO_TCP 6 #define IPPROTO_UDP 17 #if LWIP_IPV6 @@ -200,6 +200,7 @@ struct linger { #define IPPROTO_ICMPV6 58 #endif /* LWIP_IPV6 */ #define IPPROTO_UDPLITE 136 +#define IPPROTO_RAW 255 /* Flags we can use with send and recv. */ #define MSG_PEEK 0x01 /* Peeks at an incoming message */