Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2001 16:22:22 +0900
From:      JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <jinmei@isl.rdc.toshiba.co.jp>
To:        vishwanath pargaonkar <vishubp@yahoo.com>
Cc:        freebsd-net@FreeBSD.ORG, questions@FreeBSD.ORG
Subject:   Re: ifioctl
Message-ID:  <y7v7kzjvzyp.wl@condor2.jinmei.org>
In-Reply-To: <20010515071342.16796.qmail@web5301.mail.yahoo.com>
References:  <20010515071342.16796.qmail@web5301.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Tue, 15 May 2001 08:13:42 +0100 (BST), 
>>>>> vishwanath pargaonkar <vishubp@yahoo.com> 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.
					jinmei@isl.rdc.toshiba.co.jp

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?y7v7kzjvzyp.wl>