From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zheng Jianping" Subject: Re: How to get IPv6 interface? Date: Thu, 28 Nov 2002 08:58:53 +0800 Sender: netdev-bounce@oss.sgi.com Message-ID: <004c01c29679$52812600$6c06a8c0@zhengjp> References: <003201c29525$cd933360$6c06a8c0@zhengjp> <55380000.1038337716@worker.muc.bieringer.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Return-path: To: "Peter Bieringer" Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org ----- Original Message ----- From: "Peter Bieringer" To: Cc: "Zheng Jianping" Sent: Wednesday, November 27, 2002 3:08 AM Subject: Re: How to get IPv6 interface? --On Tuesday, November 26, 2002 04:28:31 PM +0800 Zheng Jianping wrote: >> My linux kernel is 2.4.7.10, how to get the information of all IPv6 >> interfaces, including the interfaces index, flags,name and >> address,etc ? >Userspace: ip -6 addr Peter, I'm writing an IPv6 application, so which function can get the IPv6 inteface information? And how to call it? Thanks, Zheng