Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

# ICMP Protocol Library (icmp.c)
[Network Library]

## Detailed Description

     #include "net/icmp.h"

Description
  ICMP (Internet Control Message Protocol) has many functions on the internet, including the handling of ECHO (ping) requests, relaying network route status, passing connection status messages, etc.

This library currently handles only ICMP ECHO requests (ping), but may be expanded to include other useful ICMP operations as needed.

## Functions
void | icmpInit (void)
| Initialize ICMP protocol library.
void | icmpIpIn (icmpip_hdr *packet)
| Incoming IP packets of protocol ICMP should be passed to this function.
void | icmpEchoRequest (icmpip_hdr *packet)
| Forms and sends a reply in response to an ICMP ECHO request.
void | icmpPrintHeader (icmpip_hdr *packet)
| Print ICMP packet information.