From owner-freebsd-questions Tue May 15 0:29:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id 3A64537B43C for ; Tue, 15 May 2001 00:29:21 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 3491 invoked by uid 1000); 15 May 2001 07:28:41 -0000 Date: Tue, 15 May 2001 10:28:41 +0300 From: Peter Pentchev To: vishwanath pargaonkar Cc: freebsd-net@freebsd.org, questions@freebsd.org Subject: Re: ifioctl Message-ID: <20010515102841.B94119@ringworld.oblivion.bg> References: <20010515071342.16796.qmail@web5301.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010515071342.16796.qmail@web5301.mail.yahoo.com>; from vishubp@yahoo.com on Tue, May 15, 2001 at 08:13:42AM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message