aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan M. Bresler <jmb@FreeBSD.org>1999-11-15 18:27:30 +0000
committerJonathan M. Bresler <jmb@FreeBSD.org>1999-11-15 18:27:30 +0000
commit409536427453f666541854c54b3bfeedd995edce (patch)
tree2a3c78308a36282bb85662489e302e3582ca01ad
parentf5c0c6abaa4600d95aa88fc1e13aeb960a0e1b7c (diff)
downloadsrc-409536427453f666541854c54b3bfeedd995edce.tar.gz
src-409536427453f666541854c54b3bfeedd995edce.zip
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>
Notes
Notes: svn path=/head/; revision=53187
-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 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 */