Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: bgpd: use msgbuf_queuelen where appropriate
To:
tech@openbsd.org
Date:
Tue, 20 Aug 2024 13:34:00 +0200

Download raw body.

Thread
On Tue, Aug 20, 2024 at 12:25:45PM +0200, Claudio Jeker wrote:
> When working with msgbuf and not imsg buffers use msgbuf_queuelen()
> instead of wbuf.queue.
> 
> Also export the message queue length as a stat instead of grabbing it out
> of struct peer in bgpctl.

ok

> PS: there will be a imsgbuf_queuelen() which does the same for imsgbufs.

makes sense.