[Glibc-bsd-commits] r5350 - trunk/glibc-ports/kfreebsd/netinet

rmh at alioth.debian.org rmh at alioth.debian.org
Sat Jan 18 23:05:46 UTC 2014


Author: rmh
Date: 2014-01-18 23:05:46 +0000 (Sat, 18 Jan 2014)
New Revision: 5350

Modified:
   trunk/glibc-ports/kfreebsd/netinet/icmp6.h
Log:
Resync with upstream HEAD

Modified: trunk/glibc-ports/kfreebsd/netinet/icmp6.h
===================================================================
--- trunk/glibc-ports/kfreebsd/netinet/icmp6.h	2014-01-18 22:37:21 UTC (rev 5349)
+++ trunk/glibc-ports/kfreebsd/netinet/icmp6.h	2014-01-18 23:05:46 UTC (rev 5350)
@@ -308,7 +308,43 @@
 #define ICMP6_FQDN_REPLY                140     /* FQDN reply */
 #define ICMP6_NI_QUERY                  139     /* node information request */
 #define ICMP6_NI_REPLY                  140     /* node information reply */
+#define MLDV2_LISTENER_REPORT		143	/* RFC3810 listener report */
 
+/* The definitions below are experimental. TBA */
+#define MLD_MTRACE_RESP			200	/* mtrace resp (to sender) */
+#define MLD_MTRACE			201	/* mtrace messages */
+
+#define ICMP6_DST_UNREACH_NOROUTE	0	/* no route to destination */
+#define ICMP6_DST_UNREACH_ADMIN	 	1	/* administratively prohibited */
+#define ICMP6_DST_UNREACH_NOTNEIGHBOR	2	/* not a neighbor(obsolete) */
+#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_TIME_EXCEED_TRANSIT 	0	/* ttl==0 in transit */
+#define ICMP6_TIME_EXCEED_REASSEMBLY	1	/* ttl==0 in reass */
+
+#define ICMP6_PARAMPROB_HEADER 	 	0	/* erroneous header field */
+#define ICMP6_PARAMPROB_NEXTHEADER	1	/* unrecognized next header */
+#define ICMP6_PARAMPROB_OPTION		2	/* unrecognized option */
+
+#define ICMP6_INFOMSG_MASK		0x80	/* all informational messages */
+
+#define ICMP6_NI_SUBJ_IPV6	0	/* Query Subject is an IPv6 address */
+#define ICMP6_NI_SUBJ_FQDN	1	/* Query Subject is a Domain name */
+#define ICMP6_NI_SUBJ_IPV4	2	/* Query Subject is an IPv4 address */
+
+#define ICMP6_NI_SUCCESS	0	/* node information successful reply */
+#define ICMP6_NI_REFUSED	1	/* node information request is refused */
+#define ICMP6_NI_UNKNOWN	2	/* unknown Qtype */
+
+#define ICMP6_ROUTER_RENUMBERING_COMMAND  0	/* rr command */
+#define ICMP6_ROUTER_RENUMBERING_RESULT   1	/* rr result */
+#define ICMP6_ROUTER_RENUMBERING_SEQNUM_RESET   255	/* rr seq num reset */
+
+#define ND_REDIRECT_ONLINK	0	/* redirect to an on-link node */
+#define ND_REDIRECT_ROUTER	1	/* redirect to a better router */
+
 struct rr_pco_match    /* match prefix part */
   {
     uint8_t             rpm_code;




More information about the Glibc-bsd-commits mailing list