Nut/OS  4.10.3
API Reference
icmpout.c File Reference
#include <netinet/in.h>
#include <netinet/ip_icmp.h>
#include <netinet/ipcsum.h>
#include <netinet/icmp.h>
#include <string.h>
Include dependency graph for icmpout.c:

Go to the source code of this file.

Functions

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.