#include "lwip/opt.h"#include "lwip/pbuf.h"#include "lwip/ip_addr.h"#include "lwip/netif.h"Classes | |
| struct | icmp_echo_hdr |
| This is the standard ICMP header only that the u32_t data is splitted to two u16_t like ICMP echo needs it. More... | |
Defines | |
| #define | ICMP_ER 0 |
| #define | ICMP_DUR 3 |
| #define | ICMP_SQ 4 |
| #define | ICMP_RD 5 |
| #define | ICMP_ECHO 8 |
| #define | ICMP_TE 11 |
| #define | ICMP_PP 12 |
| #define | ICMP_TS 13 |
| #define | ICMP_TSR 14 |
| #define | ICMP_IRQ 15 |
| #define | ICMP_IR 16 |
| #define | ICMPH_TYPE(hdr) ((hdr)->type) |
| #define | ICMPH_CODE(hdr) ((hdr)->code) |
| #define | ICMPH_TYPE_SET(hdr, t) ((hdr)->type = (t)) |
| Combines type and code to an u16_t. | |
| #define | ICMPH_CODE_SET(hdr, c) ((hdr)->code = (c)) |
Enumerations | |
| enum | icmp_dur_type { ICMP_DUR_NET = 0, ICMP_DUR_HOST = 1, ICMP_DUR_PROTO = 2, ICMP_DUR_PORT = 3, ICMP_DUR_FRAG = 4, ICMP_DUR_SR = 5 } |
| enum | icmp_te_type { ICMP_TE_TTL = 0, ICMP_TE_FRAG = 1 } |
Variables | |
| PACK_STRUCT_BEGIN struct icmp_echo_hdr | PACK_STRUCT_STRUCT |
| This is the standard ICMP header only that the u32_t data is splitted to two u16_t like ICMP echo needs it. | |
| #define ICMP_DUR 3 |
| #define ICMP_ECHO 8 |
| #define ICMP_ER 0 |
| #define ICMP_IR 16 |
| #define ICMP_IRQ 15 |
| #define ICMP_PP 12 |
| #define ICMP_RD 5 |
| #define ICMP_SQ 4 |
| #define ICMP_TE 11 |
| #define ICMP_TS 13 |
| #define ICMP_TSR 14 |
| #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.
| enum icmp_dur_type |
| enum icmp_te_type |
| PACK_STRUCT_BEGIN struct icmp_echo_hdr PACK_STRUCT_STRUCT |
This is the standard ICMP header only that the u32_t data is splitted to two u16_t like ICMP echo needs it.
This header is also used for other ICMP types that do not use the data part.
1.7.1