Switch session_notification() over to use a struct ibuf to carry the
authorclaudio <claudio@openbsd.org>
Tue, 16 Jan 2024 13:15:31 +0000 (13:15 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 16 Jan 2024 13:15:31 +0000 (13:15 +0000)
commitebae4308b4de64e710b01a7d8d8293b14028ca49
tree3a7ca3608c96f4f902eb0aa4977e49a6d5902f01
parent8a53274a29237e1edd7e34dcab81c7202c75d2cf
Switch session_notification() over to use a struct ibuf to carry the
extra data. With this IMSG_UPDATE_ERR can use the new imsg API.

Introduce session_notification_data() for the few cases where there
is no ibuf readily available.

OK tb@
usr.sbin/bgpd/logmsg.c
usr.sbin/bgpd/session.c
usr.sbin/bgpd/session.h