Subject: Re: Changing the PHY status reporting
To: None <tech-net@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: tech-net
Date: 02/20/2006 00:19:19
In article <20060219221926.GA561@britannica.bec.de>,
 <joerg@britannica.bec.de> wrote:
>On Sun, Feb 19, 2006 at 10:44:38PM +0100, Pavel Cahyna wrote:
>> There must be an ioctl to set the vhid, password and so on. Let's extend
>> the ioctl to specify also the protocol number. ifconfig could then read the
>> protocol number from /etc/protocols and tell it to the kernel driver this
>> way.
>
>Setting vhid and so on is completely local to CARP. As I said before, I
>don't like make inetsw writeable or the implications for updating all
>the related structures. It also doesn't serve that much good, since it
>is pretty much a side-local setting at worst anyway.

You don't need to make inetsw writable; ip_protox does it.

christos