(usagi-users 03354) Re: IPv6 kerenl mechanism

YOSHIFUJI Hideaki / 吉藤英明 <[email protected]>
Newsgroups gmane.linux.ipv6.usagi.users,gmane.network.ipv6.general
Organization USAGI Project
Message-ID <[email protected]>
In article <[email protected]> (at Wed, 18 May 2005 10:19:52 -0400), "Bellino, Phil" <[email protected]> says:

> I have an IPv6 application that needs to be told when the 2.6.11 kernel has
> accepted a router announcement prefix and has inserted that address into the
> appropriate interface.  This application will then set up and do the
> necessary binds to set up the tcp/ssh listen addresses correctly. 
>  
> Is there any code in place in the kernel that an application can key on to
> know when a new IPv6 address has been accepted from  the router or if a user
> has issued the "ip -6 addr add" or "ip -6 addr del" command?

Use rtnetlink(8).

--yoshfuji
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.