mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-27 05:37:22 +00:00
Patch #7904 by Grant Erickson: Add mnemonics for IPPROTO_{ICMP,ICMPV6}
This commit is contained in:
parent
2f9b28c0fc
commit
08370c7230
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user