[Top] [All Lists]

Re: How to get IPv6 interface?

To: ahu@xxxxxxx
Subject: Re: How to get IPv6 interface?
From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx>
Date: Thu, 28 Nov 2002 21:13:37 +0900 (JST)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20021128111600.GA30967@xxxxxxxxxxxxxxx>
Organization: USAGI Project
References: <004c01c29679$52812600$6c06a8c0@zhengjp> <8120000.1038471604@xxxxxxxxxxxxxxxxxxxxx> <20021128111600.GA30967@xxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
In article <20021128111600.GA30967@xxxxxxxxxxxxxxx> (at Thu, 28 Nov 2002 
12:16:00 +0100), bert hubert <ahu@xxxxxxx> says:

> > > 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.

You may want to use getifaddrs() in USAGI libinet6.

Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA

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