Patch #7904 by Grant Erickson: Add mnemonics for IPPROTO_{ICMP,ICMPV6}

This commit is contained in:
Simon Goldschmidt 2014-01-16 21:28:38 +01:00
parent 2f9b28c0fc
commit 08370c7230

View File

@ -167,10 +167,12 @@ struct linger {
#define PF_UNSPEC AF_UNSPEC
#define IPPROTO_IP 0
#define IPPROTO_ICMP 1
#define IPPROTO_TCP 6
#define IPPROTO_UDP 17
#if LWIP_IPV6
#define IPPROTO_IPV6 41
#define IPPROTO_ICMPV6 58
#endif /* LWIP_IPV6 */
#define IPPROTO_UDPLITE 136