logo       

Re: How to get IPv6 interface?: msg#00212

Subject: Re: How to get IPv6 interface?
On Thu, Nov 28, 2002 at 09:20:04AM +0100, Peter Bieringer wrote:
> 
> 
> --On Thursday, November 28, 2002 08:58:53 AM +0800 Zheng Jianping
> <zjp@xxxxxxxxxxx> wrote:
> 
> > I'm writing an IPv6 application, so which function can get the IPv6
> > inteface information? And how to call it?
> 
> Sorry, I'm not really an IPv6 programmer, hopefully others can help
> you.

The best way is probably to look at the 'ip' sources which use netlink to
query the kernel.

> BTW: if someone has some written information about using the APIs,
> would be nice if can be contributed to the HowTo.

indeed.

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO





<Prev in Thread] Current Thread [Next in Thread>