Home
last modified time | relevance | path

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

/freebsd-12.1/sbin/natd/
H A Dicmp.c39 int SendNeedFragIcmp (int sock, struct ip* failedDgram, int mtu) in SendNeedFragIcmp() argument
54 if (ntohs (failedDgram->ip_off) & ~(IP_MF | IP_DF)) in SendNeedFragIcmp()
59 if (failedDgram->ip_p == IPPROTO_ICMP) in SendNeedFragIcmp()
77 failHdrLen = (failedDgram->ip_hl << 2); in SendNeedFragIcmp()
78 failBytes = failedDgram->ip_len - failHdrLen; in SendNeedFragIcmp()
85 memcpy (&icmp->icmp_ip, failedDgram, failBytes); in SendNeedFragIcmp()
94 memcpy (ip, failedDgram, sizeof (struct ip)); in SendNeedFragIcmp()
H A Dnatd.h25 extern int SendNeedFragIcmp (int sock, struct ip* failedDgram, int mtu);