Re:  netif userland API

2023-10-28 Thread Eugene Grosbein
28.10.2023 23:43, Roy Marples wrote: > Using netlink rather than route on a modern FreeBSD kernel may allow you do > do the same thing > but install a kernel filter on the socket just to receive interface changes. > > That should match your requirements. This scales bad still. More new vlans un

Re:  netif userland API

2023-10-28 Thread Roy Marples
Using netlink rather than route on a modern FreeBSD kernel may allow you do do the same thing but install a kernel filter on the socket just to receive interface changes.That should match your requirements.Roy Marples On Sat,28 Oct 2023 15:29:01 +0100 eu...@freebsd.org wrote 28.10.202

Re:  netif userland API

2023-10-28 Thread Eugene Grosbein
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 onl