Update and refactor dvrmpd to use the new ibu API.
authorclaudio <claudio@openbsd.org>
Mon, 26 Jun 2023 10:08:56 +0000 (10:08 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 26 Jun 2023 10:08:56 +0000 (10:08 +0000)
commit35f7e862b336c6e78ca8e88fb9646edddd191065
treef16a9fb4c6403b2cbd1de2c132e80f6e143c9137
parentb3b52969e243d2b86a1d952ff55daa466b8b9b2b
Update and refactor dvrmpd to use the new ibu API.

Do the checksum calculation in send_packet() instead of doing it all over
the place. This way the fixup only happens in one place.
OK tb@
usr.sbin/dvmrpd/ask_nbrs2.c
usr.sbin/dvmrpd/dvmrpe.h
usr.sbin/dvmrpd/graft.c
usr.sbin/dvmrpd/graft_ack.c
usr.sbin/dvmrpd/igmp.c
usr.sbin/dvmrpd/nbrs2.c
usr.sbin/dvmrpd/packet.c
usr.sbin/dvmrpd/probe.c
usr.sbin/dvmrpd/prune.c
usr.sbin/dvmrpd/report.c