summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-01-30 17:05:47 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-01-30 17:05:47 +0000
commitac9e9afd196c5479bb320805492bd27ad3a8cbfe (patch)
treef9aa20a0231fd06d1e1bbaf22ee9339e44522e1e
parent1ce01ecbe9c1f23ae28b5d477cd35c96ca7a4453 (diff)
Added ICMP Destination Unreachable codes from RFC-1812:
14 = Host Precedence Violation. Sent by the first hop router to a host to indicate that a requested precedence is not permitted for the particular combination of source/destination host or 15 = Precedence cutoff in effect. The network operators have imposed a minimum level of precedence required for operation, the datagram was sent with a precedence below this level;
-rw-r--r--sys/netinet/ip_icmp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_icmp.h b/sys/netinet/ip_icmp.h
index 36fa5987fa8..682b874b420 100644
--- a/sys/netinet/ip_icmp.h
+++ b/sys/netinet/ip_icmp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_icmp.h,v 1.4 1997/01/30 07:01:45 kstailey Exp $ */
+/* $OpenBSD: ip_icmp.h,v 1.5 1997/01/30 17:05:46 kstailey Exp $ */
/* $NetBSD: ip_icmp.h,v 1.10 1996/02/13 23:42:28 christos Exp $ */
/*
@@ -142,6 +142,8 @@ struct icmp {
#define ICMP_UNREACH_TOSNET 11 /* bad tos for net */
#define ICMP_UNREACH_TOSHOST 12 /* bad tos for host */
#define ICMP_UNREACH_ADM_PROHIB 13 /* prohibited access */
+#define ICMP_UNREACH_PREC_VIOLATN 14 /* precedence violat'n*/
+#define ICMP_UNREACH_PREC_CUTOFF 15 /* precedence cutoff */
#define ICMP_SOURCEQUENCH 4 /* packet lost, slow down */
#define ICMP_REDIRECT 5 /* shorter route, codes: */
#define ICMP_REDIRECT_NET 0 /* for network */