logo       

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

Subject: Re: How to get IPv6 interface?
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>