Use different device name with FreeBSD

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Sat Mar 3 06:52:52 PST 2018


On Fri, 2018-03-02 at 14:56 +0100, David Woodhouse wrote:
> On Thu, 2018-03-01 at 12:26 +0100, Muenz, Michael wrote:
> > 
> > Thanks for your quick reply! Renaming of interfaces is no problem,
> > I 
> > already wrote a plugin for OpenConnect as client.
> 
> Ah, want to figure out the underlying ioctl() call and make
> OpenConnect
> work with '--interface=foobar' on FreeBSD then?
> 
> What does the 'ifconfig ocvpn0 group ocvpn' do?

It may be SIOCSIFNAME but I couldn't find what are its features. The
only example I could find is at:

https://devel.rtems.org/browser/rtems-libbsd/freebsd/sbin/ifconfig/ifconfig.c?rev=e599318e912d8836c59d8b5202e3e31a6b8dcae9#L873

regards,
Nikos




More information about the openconnect-devel mailing list