From 8f04d0e8717574eb5d1e3a4f615a0ba37a1121b6 Mon Sep 17 00:00:00 2001 From: jmb Date: Mon, 15 Nov 1999 18:27:30 +0000 Subject: 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 4dd6c97..c8fd55f 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 */ -- cgit v1.1