Nut/OS  5.0.5
API Reference
icmp Struct Reference

ICMP protocol header structure. More...

#include <netinet/ip_icmp.h>

Collaboration diagram for icmp:
[legend]

Data Fields

uint8_t icmp_type
 Type of message.
uint8_t icmp_code
 Type sub code.
uint16_t icmp_cksum
 Ones complement header checksum.
uint32_t icmp_spec
 Type specific information.

Detailed Description

ICMP protocol header structure.

Examples:

pingnet/pingnet.c.


Field Documentation

Type of message.

Examples:
pingnet/pingnet.c.

Referenced by NutIcmpInput(), and NutIcmpOutput().

Type sub code.

Referenced by NutIcmpInput(), and NutIcmpReply().

Ones complement header checksum.

Referenced by NutIcmpOutput().

Type specific information.

Referenced by NutIcmpReply().


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