icmp_destun() routine sends an ICMP destination-unreachable packet.
void icmp_destun(ip_addr host, struct ip *ip, unsigned type, NET net);
Is the destination IP host.
Is the IP header of the packet which triggered the destination-unreachable packet.
Is one of the ICMP destination-unreachable message types. It must be one of the following defined constants:
Is the interface that the packet came in on.