From: kn Date: Wed, 23 Nov 2022 19:35:42 +0000 (+0000) Subject: Remove unused NDPRF_* defines; dead since 2017 sys/netinet6/nd6.c r1.210 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e0b284df3ba7772329d85f200545e3bc5a84d54e;p=openbsd 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 --- 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*/