diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2022-11-23 19:35:00 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2022-11-23 19:35:00 +0000 |
commit | 08ee955f740d02e5c41a5d956e408545e72fa3be (patch) | |
tree | 0e5589c11455fc9ab4a3a6db02e20ea67455c95c /sys | |
parent | ac38fd14e5557b08c9527a49cbdfab25fc925975 (diff) |
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/nd6.h | 9 |
1 files changed, 1 insertions, 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; |