#include "lwip/opt.h"
#include "lwip/pbuf.h"
#include "lwip/ip_addr.h"
#include "lwip/netif.h"
Go to the source code of this file.
#define ICMP_DUR 3 /* destination unreachable */ |
#define ICMP_ECHO 8 /* echo */ |
#define ICMP_ER 0 /* echo reply */ |
#define ICMP_IR 16 /* information reply */ |
#define ICMP_IRQ 15 /* information request */ |
#define ICMP_PP 12 /* parameter problem */ |
#define ICMP_RD 5 /* redirect */ |
#define ICMP_SQ 4 /* source quench */ |
#define ICMP_TE 11 /* time exceeded */ |
#define ICMP_TS 13 /* timestamp */ |
#define ICMP_TSR 14 /* timestamp reply */ |
#define ICMPH_CODE |
( |
|
hdr) | |
((hdr)->code) |
#define ICMPH_CODE_SET |
( |
|
hdr, |
|
|
|
c |
|
) |
| ((hdr)->code = (c)) |
#define ICMPH_TYPE |
( |
|
hdr) | |
((hdr)->type) |
#define ICMPH_TYPE_SET |
( |
|
hdr, |
|
|
|
t |
|
) |
| ((hdr)->type = (t)) |
Combines type and code to an u16_t
Definition at line 95 of file icmp.h.
Enumerator |
---|
ICMP_DUR_NET |
|
ICMP_DUR_HOST |
|
ICMP_DUR_PROTO |
|
ICMP_DUR_PORT |
|
ICMP_DUR_FRAG |
|
ICMP_DUR_SR |
|
Definition at line 56 of file icmp.h.
Enumerator |
---|
ICMP_TE_TTL |
|
ICMP_TE_FRAG |
|
Definition at line 65 of file icmp.h.