netdev
[Top] [All Lists]

Re: How to get IPv6 interface?

To: netdev@xxxxxxxxxxx
Subject: Re: How to get IPv6 interface?
From: bert hubert <ahu@xxxxxxx>
Date: Thu, 28 Nov 2002 12:16:00 +0100
In-reply-to: <8120000.1038471604@xxxxxxxxxxxxxxxxxxxxx>
Mail-followup-to: bert hubert <ahu@xxxxxxx>, netdev@xxxxxxxxxxx
References: <003201c29525$cd933360$6c06a8c0@zhengjp> <55380000.1038337716@xxxxxxxxxxxxxxxxxxxxxxx> <004c01c29679$52812600$6c06a8c0@zhengjp> <8120000.1038471604@xxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
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>