MeterLogger
Public Member Functions
icmp_echo_hdr Struct Reference

#include <esp-open-lwip/include/lwip/icmp.h>

Collaboration diagram for icmp_echo_hdr:

Public Member Functions

 PACK_STRUCT_FIELD (u8_t type)
 
 PACK_STRUCT_FIELD (u8_t code)
 
 PACK_STRUCT_FIELD (u16_t chksum)
 
 PACK_STRUCT_FIELD (u16_t id)
 
 PACK_STRUCT_FIELD (u16_t seqno)
 

Detailed Description

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. 定义ICMP回送请求报文首部结构, 由于所有ICMP报文首部有很大相似性, 该结构同样适用于其它ICMP报文。

Definition at line 82 of file icmp.h.

Member Function Documentation

◆ PACK_STRUCT_FIELD() [1/5]

icmp_echo_hdr::PACK_STRUCT_FIELD ( u8_t  type)

◆ PACK_STRUCT_FIELD() [2/5]

icmp_echo_hdr::PACK_STRUCT_FIELD ( u8_t  code)

◆ PACK_STRUCT_FIELD() [3/5]

icmp_echo_hdr::PACK_STRUCT_FIELD ( u16_t  chksum)

◆ PACK_STRUCT_FIELD() [4/5]

icmp_echo_hdr::PACK_STRUCT_FIELD ( u16_t  id)

◆ PACK_STRUCT_FIELD() [5/5]

icmp_echo_hdr::PACK_STRUCT_FIELD ( u16_t  seqno)

The documentation for this struct was generated from the following file: