>>>>> On Tue, 15 May 2001 08:13:42 +0100 (BST),
>>>>> vishwanath pargaonkar <[EMAIL PROTECTED]> said:
> 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??
When you execute 'ifconfig ifname up', it issues the SIOCSIFFLAGS
ioctl for some socket. Then the socket layer in the kernel calls
ifioctl().
You should probably see Richard Stevens's "TCP/IP illustrated volume
2" to understand the kernel architecture.
JINMEI, Tatuya
Communication Platform Lab.
Corporate R&D Center, Toshiba Corp.
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message