From 409536427453f666541854c54b3bfeedd995edce Mon Sep 17 00:00:00 2001 From: "Jonathan M. Bresler" Date: Mon, 15 Nov 1999 18:27:30 +0000 Subject: [PATCH] add two more codes to ICMP error 12 (Parameter Problem). these two are detailed in RFC1700. Reviewed by: Garrett Wollman --- sys/netinet/ip_icmp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/netinet/ip_icmp.h b/sys/netinet/ip_icmp.h index 4dd6c9750d7c..c8fd55fdf126 100644 --- a/sys/netinet/ip_icmp.h +++ b/sys/netinet/ip_icmp.h @@ -165,7 +165,9 @@ struct icmp { #define ICMP_TIMXCEED_INTRANS 0 /* ttl==0 in transit */ #define ICMP_TIMXCEED_REASS 1 /* ttl==0 in reass */ #define ICMP_PARAMPROB 12 /* ip header bad */ +#define ICMP_PARAMPROB_ERRATPTR 0 /* error at param ptr */ #define ICMP_PARAMPROB_OPTABSENT 1 /* req. opt. absent */ +#define ICMP_PARAMPROB_LENGTH 2 /* bad length */ #define ICMP_TSTAMP 13 /* timestamp request */ #define ICMP_TSTAMPREPLY 14 /* timestamp reply */ #define ICMP_IREQ 15 /* information request */