ConOpSys V2970  P004.07
ANVILEX control operating system
Public Member Functions | List of all members
icmp_echo_hdr Struct Reference

#include <icmp.h>

Collaboration diagram for icmp_echo_hdr:
Collaboration graph

Public Member Functions

 PACK_STRUCT_FLD_8 (u8_t type)
 
 PACK_STRUCT_FLD_8 (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 split 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.

Member Function Documentation

◆ PACK_STRUCT_FIELD() [1/3]

icmp_echo_hdr::PACK_STRUCT_FIELD ( u16_t  chksum)

◆ PACK_STRUCT_FIELD() [2/3]

icmp_echo_hdr::PACK_STRUCT_FIELD ( u16_t  id)

◆ PACK_STRUCT_FIELD() [3/3]

icmp_echo_hdr::PACK_STRUCT_FIELD ( u16_t  seqno)

◆ PACK_STRUCT_FLD_8() [1/2]

icmp_echo_hdr::PACK_STRUCT_FLD_8 ( u8_t  code)

◆ PACK_STRUCT_FLD_8() [2/2]

icmp_echo_hdr::PACK_STRUCT_FLD_8 ( u8_t  type)

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