Nut/OS  5.0.5
API Reference
icmp.h File Reference

ICMP protocol definitions. More...

#include <sys/types.h>
#include <dev/netbuf.h>
#include <net/if_var.h>
#include <stdint.h>
Include dependency graph for icmp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void NutIcmpInput (NUTDEVICE *dev, NETBUF *nb)
 Handle incoming ICMP packets.
int NutIcmpOutput (uint8_t type, uint32_t dest, NETBUF *nb)
 Send an ICMP datagram.
int NutIcmpReply (uint8_t type, uint8_t code, uint32_t spec, uint32_t dest, NETBUF *nb)
 Send an ICMP message to a given destination.
int NutIcmpResponse (uint8_t type, uint8_t code, uint32_t spec, NETBUF *nb)
 Send an ICMP message as a response to a given destination.

Detailed Description

ICMP protocol definitions.