Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys clearifications in icmp6 node query support.



details:   https://anonhg.NetBSD.org/src/rev/fba50ccf7ca3
branches:  trunk
changeset: 495726:fba50ccf7ca3
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Aug 03 16:30:37 2000 +0000

description:
clearifications in icmp6 node query support.
XXX previous commit included "supported qtypes" icmp6 node query support.
sorry commit message was mistaken.

diffstat:

 sys/netinet/icmp6.h  |  7 ++++---
 sys/netinet6/icmp6.c |  6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r 2df8198acda8 -r fba50ccf7ca3 sys/netinet/icmp6.h
--- a/sys/netinet/icmp6.h       Thu Aug 03 15:53:24 2000 +0000
+++ b/sys/netinet/icmp6.h       Thu Aug 03 16:30:37 2000 +0000
@@ -1,5 +1,5 @@
-/*     $NetBSD: icmp6.h,v 1.12 2000/08/03 14:31:04 itojun Exp $        */
-/*     $KAME: icmp6.h,v 1.21 2000/08/03 14:22:09 itojun Exp $  */
+/*     $NetBSD: icmp6.h,v 1.13 2000/08/03 16:30:37 itojun Exp $        */
+/*     $KAME: icmp6.h,v 1.22 2000/08/03 15:25:16 jinmei Exp $  */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -320,7 +320,8 @@
 
 #define NI_QTYPE_NOOP          0 /* NOOP  */
 #define NI_QTYPE_SUPTYPES      1 /* Supported Qtypes */
-#define NI_QTYPE_FQDN          2 /* FQDN */
+#define NI_QTYPE_FQDN          2 /* FQDN (draft 04) */
+#define NI_QTYPE_DNSNAME       2 /* DNS Name */
 #define NI_QTYPE_NODEADDR      3 /* Node Addresses */
 #define NI_QTYPE_IPV4ADDR      4 /* IPv4 Addresses */
 
diff -r 2df8198acda8 -r fba50ccf7ca3 sys/netinet6/icmp6.c
--- a/sys/netinet6/icmp6.c      Thu Aug 03 15:53:24 2000 +0000
+++ b/sys/netinet6/icmp6.c      Thu Aug 03 16:30:37 2000 +0000
@@ -1,5 +1,5 @@
-/*     $NetBSD: icmp6.c,v 1.40 2000/08/03 14:31:05 itojun Exp $        */
-/*     $KAME: icmp6.c,v 1.130 2000/08/03 14:22:10 itojun Exp $ */
+/*     $NetBSD: icmp6.c,v 1.41 2000/08/03 16:30:38 itojun Exp $        */
+/*     $KAME: icmp6.c,v 1.131 2000/08/03 15:24:34 itojun Exp $ */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -1285,7 +1285,7 @@
                nni6->ni_code = ICMP6_NI_SUCCESS;
                nni6->ni_flags = htons(0x0000); /* raw bitmap */
                /* supports NOOP, SUPTYPES, FQDN, and NODEADDR */
-               *(u_int32_t *)(nni6 + 1) = htonl(0x000f);
+               *(u_int32_t *)(nni6 + 1) = htonl(0x0000000f);
                break;
        case NI_QTYPE_FQDN:
                nni6->ni_code = ICMP6_NI_SUCCESS;



Home | Main Index | Thread Index | Old Index