Update ospf6d to use new ibuf api.
authorclaudio <claudio@openbsd.org>
Wed, 21 Jun 2023 07:45:47 +0000 (07:45 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 21 Jun 2023 07:45:47 +0000 (07:45 +0000)
commit297c3ba291b3015556550fcfed815a77d53e1189
treeae099d0cb08952950df840eb4108397eae9a4a9b
parent92bc477a55356a1d99222d1abba8cca1acb795c4
Update ospf6d to use new ibuf api.

This mostly moves away from memcpy(ibuf_seek(buf, off, size), data, size) to
ibuf_set(buf, off, data, size). Also ibuf_reserve() is replaced with
ibuf_add_zero().

OK tb@
usr.sbin/ospf6d/database.c
usr.sbin/ospf6d/lsupdate.c
usr.sbin/ospf6d/ospfe.c
usr.sbin/ospf6d/packet.c