uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
icmp_echo_hdr Struct Reference

#include <icmp.h>

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.

Definition at line 79 of file icmp.h.

Member Function Documentation

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

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