From 6b0dbb71919b826e18087f6286bd7f073f7a3e91 Mon Sep 17 00:00:00 2001 From: kn Date: Wed, 23 Nov 2022 19:34:59 +0000 Subject: [PATCH] Remove unused struct prf_ra; dead since 2017 sys/netinet/icmp6.h r1.45 Get rid of ICMPV6CTL_ND6_DRLIST and ICMPV6CTL_ND6_PRLIST sysctls With this we can also get rid of in6_prefix and in6_defrouter. They are meaningless, the kernel no longer tracks this information. Outside of _KERNEL, but nothing in base uses it, either. codesearch.debian.net seems to agree. OK mvs claudio bluhm --- sys/netinet6/nd6.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/sys/netinet6/nd6.h b/sys/netinet6/nd6.h index 5e926682206..942ce4bce11 100644 --- a/sys/netinet6/nd6.h +++ b/sys/netinet6/nd6.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nd6.h,v 1.86 2022/11/23 16:59:10 kn Exp $ */ +/* $OpenBSD: nd6.h,v 1.87 2022/11/23 19:34:59 kn Exp $ */ /* $KAME: nd6.h,v 1.95 2002/06/08 11:31:06 itojun Exp $ */ /* @@ -60,13 +60,6 @@ struct in6_nbrinfo { int state; /* reachability state */ }; -struct prf_ra { - u_int onlink : 1; - u_int autonomous : 1; - u_int router : 1; - u_int reserved : 5; -}; - struct in6_ndireq { char ifname[IFNAMSIZ]; struct nd_ifinfo ndi; -- 2.20.1