Subject: Re: SIOCSIFADDR
To: enami tsugutomo <enami@sm.sony.co.jp>
From: Jun-ichiro itojun Hagino <itojun@iijlab.net>
List: tech-net
Date: 09/04/2002 12:42:59
>I think the commet matches to the existing (i.e., rev. 1.77, not 1.78)
>code.
>
>The in_ifinit calls ifioctl SIOCSIFADDR for every address assigned and
>I guess the comment want to say that
>
> - callee will initialize if it finds that the address is the
> first one.
> - callee will validate the address if necessary.
>
>If a callee really need to validate an address, just doing it only for
>the first address doesn't make sense.
i see, by ioctl(SIOCSIFADDR) we're checking if the interface
supports AF_INET. i'll back it out.
itojun