Convert the parent process imsg handling over to the new imsg API.
authorclaudio <claudio@openbsd.org>
Tue, 9 Jan 2024 13:41:32 +0000 (13:41 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 9 Jan 2024 13:41:32 +0000 (13:41 +0000)
commitbe25e90dc9a3c3ca2ed97f564f5ffdb984c6a561
treec587684c5ffcd8cfd08db83638560fb1031cda4b
parent0d3f96a3962be8be745a114b39cd036b6e638b03
Convert the parent process imsg handling over to the new imsg API.

This simplifies the code a fair bit and removes direct unchecked memory
access to imsg.data.
OK tb@
usr.sbin/bgpd/bgpd.c
usr.sbin/bgpd/kroute.c