Constify in6_addr pointer arguments in nd6_*() functions
authorkn <kn@openbsd.org>
Mon, 8 Aug 2022 17:47:59 +0000 (17:47 +0000)
committerkn <kn@openbsd.org>
Mon, 8 Aug 2022 17:47:59 +0000 (17:47 +0000)
commitb76075053f08f635bc5c36e7adb684520ef3420e
tree2a4bc8cd8cd0cb20bdd941baa28f6e2e21daac2f
parent2c4994352f2f522f6ba6eed117da3d637616123b
Constify in6_addr pointer arguments in nd6_*() functions

All of them are passed to inspect/copy out fields, none of the functions
writes to the struct.

This makes it easier to argue about code (in MP context).

OK bluhm
sys/netinet6/nd6.c
sys/netinet6/nd6.h
sys/netinet6/nd6_nbr.c