summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/nd6.h
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2001-02-23 06:40:20 +0000
committeritojun <itojun@openbsd.org>2001-02-23 06:40:20 +0000
commitefcf292bcbf37fb1660a1638d7a6b6cee76c3729 (patch)
tree627caa82cd21f720afb168959c08e68bc1562e49 /sys/netinet6/nd6.h
parentsync (diff)
downloadwireguard-openbsd-efcf292bcbf37fb1660a1638d7a6b6cee76c3729.tar.xz
wireguard-openbsd-efcf292bcbf37fb1660a1638d7a6b6cee76c3729.zip
remove unnecessary state, ND6_LLINFO_WAITDELETE, from neighbor cache
state machine. no need for RTF_REJECT on neighbor cache entires, they are leftover from ARP code. sync with kame.
Diffstat (limited to 'sys/netinet6/nd6.h')
-rw-r--r--sys/netinet6/nd6.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/sys/netinet6/nd6.h b/sys/netinet6/nd6.h
index 8602879222f..066a896cc98 100644
--- a/sys/netinet6/nd6.h
+++ b/sys/netinet6/nd6.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: nd6.h,v 1.12 2001/02/08 15:07:28 itojun Exp $ */
-/* $KAME: nd6.h,v 1.46 2001/02/08 10:57:00 itojun Exp $ */
+/* $OpenBSD: nd6.h,v 1.13 2001/02/23 06:40:20 itojun Exp $ */
+/* $KAME: nd6.h,v 1.52 2001/02/19 04:40:37 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -54,7 +54,14 @@ struct llinfo_nd6 {
};
#define ND6_LLINFO_NOSTATE -2
-#define ND6_LLINFO_WAITDELETE -1
+/*
+ * We don't need the WAITDELETE state any more, but we keep the definition
+ * in a comment line instead of removing it. This is necessary to avoid
+ * unintentionally reusing the value for another purpose, which might
+ * affect backward compatibility with old applications.
+ * (20000711 jinmei@kame.net)
+ */
+/* #define ND6_LLINFO_WAITDELETE -1 */
#define ND6_LLINFO_INCOMPLETE 0
#define ND6_LLINFO_REACHABLE 1
#define ND6_LLINFO_STALE 2