From 68ed8098c3c71f2a181ec48c9dec0fc596f0f0c0 Mon Sep 17 00:00:00 2001 From: kstailey Date: Thu, 30 Jan 1997 17:05:46 +0000 Subject: [PATCH] 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; --- sys/netinet/ip_icmp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 */ -- 2.20.1