Lines Matching defs:icmp
8 * You may copy, modify and distribute this software (icmp.c) freely.
43 struct icmp* icmp;
65 icmp = (struct icmp*) (icmpBuf + sizeof (struct ip));
69 icmp->icmp_type = ICMP_UNREACH;
70 icmp->icmp_code = ICMP_UNREACH_NEEDFRAG;
71 icmp->icmp_cksum = 0;
72 icmp->icmp_void = 0;
73 icmp->icmp_nextmtu = htons (mtu);
85 memcpy (&icmp->icmp_ip, failedDgram, failBytes);
89 icmp->icmp_cksum = LibAliasInternetChecksum (mla, (u_short*) icmp,
115 icmp,