Update ospfd to use new ibuf api.
authorclaudio <claudio@openbsd.org>
Tue, 20 Jun 2023 15:19:55 +0000 (15:19 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 20 Jun 2023 15:19:55 +0000 (15:19 +0000)
commit43e70bb47b84874dbf5bedf42379b789cda2b076
treed9618c9a787dd5fe8f12f8f984799218980d7e9a
parentcf954fffd137c52451bba3ca43e43cbfce3ab2a2
Update ospfd 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/ospfd/auth.c
usr.sbin/ospfd/database.c
usr.sbin/ospfd/lsupdate.c
usr.sbin/ospfd/ospfe.c