mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-03 21:14:40 +08:00
Added missing IPPROTO_RAW
This commit is contained in:
parent
6dcc85dcf4
commit
a89db9872d
@ -192,7 +192,7 @@ struct linger {
|
|||||||
#define PF_UNSPEC AF_UNSPEC
|
#define PF_UNSPEC AF_UNSPEC
|
||||||
|
|
||||||
#define IPPROTO_IP 0
|
#define IPPROTO_IP 0
|
||||||
#define IPPROTO_ICMP 1
|
#define IPPROTO_ICMP 1
|
||||||
#define IPPROTO_TCP 6
|
#define IPPROTO_TCP 6
|
||||||
#define IPPROTO_UDP 17
|
#define IPPROTO_UDP 17
|
||||||
#if LWIP_IPV6
|
#if LWIP_IPV6
|
||||||
@ -200,6 +200,7 @@ struct linger {
|
|||||||
#define IPPROTO_ICMPV6 58
|
#define IPPROTO_ICMPV6 58
|
||||||
#endif /* LWIP_IPV6 */
|
#endif /* LWIP_IPV6 */
|
||||||
#define IPPROTO_UDPLITE 136
|
#define IPPROTO_UDPLITE 136
|
||||||
|
#define IPPROTO_RAW 255
|
||||||
|
|
||||||
/* Flags we can use with send and recv. */
|
/* Flags we can use with send and recv. */
|
||||||
#define MSG_PEEK 0x01 /* Peeks at an incoming message */
|
#define MSG_PEEK 0x01 /* Peeks at an incoming message */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user