On Tue, May 15, 2001 at 08:13:42AM +0100, vishwanath pargaonkar wrote:
> HI,
> i have freebsd 4.2 stable.
> i want to know how autoconfiguration feature of ipv6
> gets enabled.
> as far as i know ifioctl will call if_up . if_up calls
> if_route and if_route calls in6_if_up which calls
> in6_ifattach which forms link local address.
> 
> but how is ifioctl is initiated for a interface?? 

A function by the name of *ioctl() is usually just that - an ioctl(2)
handler.  I strongly suspect that in the case of network interfaces,
ifioctl() is usually invoked as a result of the user running ifconfig(8).
This is (again, usually) done by the startup scripts.

G'luck,
Peter

-- 
If I had finished this sentence,

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to