svn commit: r301478 - head/sys/netinet

George V. Neville-Neil gnn at FreeBSD.org
Mon Jun 6 00:35:46 UTC 2016


Author: gnn
Date: Mon Jun  6 00:35:45 2016
New Revision: 301478
URL: https://svnweb.freebsd.org/changeset/base/301478

Log:
  Add missing constants from RFCs 4443 and 6550

Modified:
  head/sys/netinet/icmp6.h

Modified: head/sys/netinet/icmp6.h
==============================================================================
--- head/sys/netinet/icmp6.h	Sun Jun  5 23:56:28 2016	(r301477)
+++ head/sys/netinet/icmp6.h	Mon Jun  6 00:35:45 2016	(r301478)
@@ -144,6 +144,9 @@ struct icmp6_hdr {
 #define ICMP6_DST_UNREACH_BEYONDSCOPE	2	/* beyond scope of source address */
 #define ICMP6_DST_UNREACH_ADDR		3	/* address unreachable */
 #define ICMP6_DST_UNREACH_NOPORT	4	/* port unreachable */
+#define ICMP6_DST_UNREACH_POLICY	5	/* failed ingress/egress policy */
+#define ICMP6_DST_UNREACH_REJECT	6	/* Reject route to destination */
+#define ICMP6_DST_UNREACH_SRCROUTE	7	/* Error in source routing header */
 
 #define ICMP6_TIME_EXCEED_TRANSIT 	0	/* ttl==0 in transit */
 #define ICMP6_TIME_EXCEED_REASSEMBLY	1	/* ttl==0 in reass */


More information about the svn-src-head mailing list