Module Name: src
Committed By: msaitoh
Date: Sun Jun 9 22:21:23 UTC 2013
Modified Files:
src/sys/netinet [netbsd-5]: ip_icmp.h
Log Message:
Apply patch (in ticket #1855):
Add some macros. This is a part of ip_icmp.h rev. 1.32.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.25.4.1 src/sys/netinet/ip_icmp.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/netinet/ip_icmp.h
diff -u src/sys/netinet/ip_icmp.h:1.25 src/sys/netinet/ip_icmp.h:1.25.4.1
--- src/sys/netinet/ip_icmp.h:1.25 Mon Sep 8 23:36:55 2008
+++ src/sys/netinet/ip_icmp.h Sun Jun 9 22:21:22 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_icmp.h,v 1.25 2008/09/08 23:36:55 gmcgarry Exp $ */
+/* $NetBSD: ip_icmp.h,v 1.25.4.1 2013/06/09 22:21:22 msaitoh Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@@ -144,6 +144,9 @@ struct icmp {
#define ICMP_UNREACH_ADMIN_PROHIBIT 13 /* communication
administratively
prohibited */
+#define ICMP_UNREACH_HOST_PREC 14 /* host precedence
+ violation */
+#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 */