Lines Matching refs:icmp
132 /* ICMP Extensions */
147 * Send an ICMP Extended error message. References: RFC4884 and RFC4950.
150 * into it. icmp_error() should handle ICMP Extended error messages.
154 * XXX: We're not setting the 'length' field of the Extended ICMP header.
156 * not computing the checksum of the Extended ICMP header.
164 struct icmp *icp;
186 * Don't error if the old packet protocol was ICMP
195 !ICMP_INFOTYPE(((struct icmp *)((char *)oip + oiplen))->icmp_type))
213 * Now, formulate icmp message
225 packetlen = sizeof(struct ip) + offsetof(struct icmp, icmp_ip) +
232 * Note that ICMP datagrams longer than 576 octets are out of spec
257 icp = mtod(m, struct icmp *);
259 panic("icmp error (mpls_ttl)");
289 * in front of icmp message.
293 panic("icmp len");
384 * Shim ttl exceeded. Send back ICMP type 11 code 0.