Home
last modified time | relevance | path

Searched refs:failedDgram (Results 1 – 2 of 2) sorted by relevance

/src/sbin/natd/
H A Dicmp.c36 int SendNeedFragIcmp (int sock, struct ip* failedDgram, int mtu) in SendNeedFragIcmp() argument
51 if (ntohs (failedDgram->ip_off) & ~(IP_MF | IP_DF)) in SendNeedFragIcmp()
56 if (failedDgram->ip_p == IPPROTO_ICMP) in SendNeedFragIcmp()
74 failHdrLen = (failedDgram->ip_hl << 2); in SendNeedFragIcmp()
75 failBytes = failedDgram->ip_len - failHdrLen; in SendNeedFragIcmp()
82 memcpy (&icmp->icmp_ip, failedDgram, failBytes); in SendNeedFragIcmp()
91 memcpy (ip, failedDgram, sizeof (struct ip)); in SendNeedFragIcmp()
H A Dnatd.h23 extern int SendNeedFragIcmp (int sock, struct ip* failedDgram, int mtu);