Use ibuf_data() instead of direct access to ibuf->buf,
authorclaudio <claudio@openbsd.org>
Mon, 3 Jul 2023 09:51:38 +0000 (09:51 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 3 Jul 2023 09:51:38 +0000 (09:51 +0000)
commitbf2cf3053df3551d6121df7fcab39bf211c112b2
tree9f4474c297d79804ca97b1556650844b52cbeb71
parenta50d52cbc85454f3ffb15fac044a60f45bc7d004
Use ibuf_data() instead of direct access to ibuf->buf,
use ibuf_size() instead of direct access to ibuf->wpos,
use ibuf_left() in places where the code checks if there is enough
space left in the ibuf.
OK tb@
usr.sbin/ospf6d/lsreq.c
usr.sbin/ospf6d/lsupdate.c
usr.sbin/ospf6d/ospfe.c
usr.sbin/ospf6d/packet.c