summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_icmp.h
diff options
context:
space:
mode:
authorjmb <jmb@FreeBSD.org>1999-11-15 18:27:30 +0000
committerjmb <jmb@FreeBSD.org>1999-11-15 18:27:30 +0000
commit8f04d0e8717574eb5d1e3a4f615a0ba37a1121b6 (patch)
tree2a3c78308a36282bb85662489e302e3582ca01ad /sys/netinet/ip_icmp.h
parent2d8cd2480b6f5aa81008b59fa9c746d1dfb46912 (diff)
downloadFreeBSD-src-8f04d0e8717574eb5d1e3a4f615a0ba37a1121b6.zip
FreeBSD-src-8f04d0e8717574eb5d1e3a4f615a0ba37a1121b6.tar.gz
add two more codes to ICMP error 12 (Parameter Problem).
these two are detailed in RFC1700. Reviewed by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Diffstat (limited to 'sys/netinet/ip_icmp.h')
-rw-r--r--sys/netinet/ip_icmp.h2
1 files changed, 2 insertions, 0 deletions
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 */
OpenPOWER on IntegriCloud