Re:_ netif_userland_API

From: Eugene Grosbein <eugen_at_freebsd.org>
Date: Sat, 28 Oct 2023 16:29:01 UTC
28.10.2023 23:21, Roy Marples wrote:

> What you would do is open a route socket, then call getifaddrs and then listen on the route socket for new interfaces.
> 
> Then you can maintain a list of current vlans and take action accordingly.

I'd like to be able to make a couple of system calls only to get a list of pre-created vlans for a moment.
Efficiently and scalable. Not making thousands of reads (syscalls) from routing sockets
and not syncing with the kernel.

Eugene