diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2022-12-07 17:34:21 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2022-12-07 17:34:21 +0000 |
commit | 32f87cabb789b0eeb3f20ad66b0b57243d5980c5 (patch) | |
tree | 98207eab9729531462f7c868ce54579c75321814 /sys/netinet6/nd6.h | |
parent | 0e35e56c4625da13df8979e2f52d098bb4c38d0a (diff) |
Do not store unused ICMPv6 Option PREFIX_INFORMATION
Dead since 2017 sys/netinet6/nd6_rtr.c r1.163
Remove sending of router solicitations and processing of router
advertisements from the kernel. It's handled by slaacd(8) these days.
sysctl(2) net.inet6.icmp6.nd6_debug does not warn about it like it does
for, e.g., duplicate MTU options, so don't do anything with this option.
Remove access macros for other unused options while here.
Eventually, union nd_opts should be removed completely.
All under _KERNEL.
tcpdump(8)/rad(8)/slaacd(8) keep showing/sending/receiving this option when
running this diff on both router and client.
OK claudio
Diffstat (limited to 'sys/netinet6/nd6.h')
-rw-r--r-- | sys/netinet6/nd6.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/netinet6/nd6.h b/sys/netinet6/nd6.h index d096ccd4fb8..43a4c6a3819 100644 --- a/sys/netinet6/nd6.h +++ b/sys/netinet6/nd6.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nd6.h,v 1.91 2022/12/02 15:35:35 kn Exp $ */ +/* $OpenBSD: nd6.h,v 1.92 2022/12/07 17:34:20 kn Exp $ */ /* $KAME: nd6.h,v 1.95 2002/06/08 11:31:06 itojun Exp $ */ /* @@ -125,10 +125,6 @@ union nd_opts { }; #define nd_opts_src_lladdr nd_opt_each.src_lladdr #define nd_opts_tgt_lladdr nd_opt_each.tgt_lladdr -#define nd_opts_pi nd_opt_each.pi_beg -#define nd_opts_pi_end nd_opt_each.pi_end -#define nd_opts_rh nd_opt_each.rh -#define nd_opts_mtu nd_opt_each.mtu #define nd_opts_search nd_opt_each.search #define nd_opts_last nd_opt_each.last #define nd_opts_done nd_opt_each.done |