nut/include/netinet/icmp.h File Reference


Detailed Description

ICMP protocol definitions.

#include <sys/types.h>
#include <dev/netbuf.h>
#include <net/if_var.h>

Functions

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


Generated on Tue Jan 23 21:12:26 2007 for BTnut System Software by doxygen 1.4.7