summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2022-11-23 19:35:43 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2022-11-23 19:35:43 +0000
commit6b3ea93b83f400853f3d931e94e58f820dfc1a39 (patch)
tree52b9c06e1cb8cea9de26d25555d4c642048749e3
parentbedac240028f0f6c3a4dcd9057bd6012c705d7ef (diff)
Remove unused NDPRF_* defines; dead since 2017 sys/netinet6/nd6.c r1.210
Remove sending of router solicitations and processing of router advertisements from the kernel. It's handled by slaacd(8) these days. Outside of _KERNEL, but nothing in base uses it, either. codesearch.debian.net seems to agree. OK mvs claudio bluhm
-rw-r--r--sys/netinet6/nd6.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/netinet6/nd6.h b/sys/netinet6/nd6.h
index 91d384f2de4..d4568b9b979 100644
--- a/sys/netinet6/nd6.h
+++ b/sys/netinet6/nd6.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: nd6.h,v 1.88 2022/11/23 19:35:18 kn Exp $ */
+/* $OpenBSD: nd6.h,v 1.89 2022/11/23 19:35:42 kn Exp $ */
/* $KAME: nd6.h,v 1.95 2002/06/08 11:31:06 itojun Exp $ */
/*
@@ -65,11 +65,6 @@ struct in6_ndireq {
struct nd_ifinfo ndi;
};
-/* Prefix status */
-#define NDPRF_ONLINK 0x1
-#define NDPRF_DETACHED 0x2
-#define NDPRF_HOME 0x4
-
/* protocol constants */
#define MAX_RTR_SOLICITATION_DELAY 1 /*1sec*/
#define RTR_SOLICITATION_INTERVAL 4 /*4sec*/