Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2001 10:28:41 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        vishwanath pargaonkar <vishubp@yahoo.com>
Cc:        freebsd-net@freebsd.org, questions@freebsd.org
Subject:   Re: ifioctl
Message-ID:  <20010515102841.B94119@ringworld.oblivion.bg>
In-Reply-To: <20010515071342.16796.qmail@web5301.mail.yahoo.com>; from vishubp@yahoo.com on Tue, May 15, 2001 at 08:13:42AM %2B0100
References:  <20010515071342.16796.qmail@web5301.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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