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 */