Re: [ilugd] GNU ifconfig & IPv6

2008-06-10 Thread Ashish Shukla आशीष शुक्ल
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Debarshi" == Debarshi Ray <[EMAIL PROTECTED]> writes: >> abbe [~] chateau% apropos ifaddr >> getifaddrs(3)- get interface addresses >> ifnet(9), ifaddr(9), ifqueue(9), if_data(9) - kernel interfaces for >> manipulatin

Re: [ilugd] GNU ifconfig & IPv6

2008-06-09 Thread Debarshi Ray
> abbe [~] chateau% apropos ifaddr > getifaddrs(3)- get interface addresses > ifnet(9), ifaddr(9), ifqueue(9), if_data(9) - kernel interfaces for > manipulating network interfaces [EMAIL PROTECTED] ~]$ apropos ifaddr ifaddr: nothing appropriate ...and I have been trying on Fedora and

Re: [ilugd] GNU ifconfig & IPv6

2008-06-09 Thread आशीष शुक्ल Ashish Shukla
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ,--[ On Mon, Jun 09, 2008 at 08:27:26PM +0530, Debarshi Ray wrote: | -BEGIN PGP SIGNED MESSAGE- | Hash: SHA1 | | > Try list-interfaces.c[1], which will enumerate through all available | > interfaces, and prints the corresponding addresses assi

Re: [ilugd] GNU ifconfig & IPv6

2008-06-09 Thread Debarshi Ray
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Try list-interfaces.c[1], which will enumerate through all available > interfaces, and prints the corresponding addresses assigned to them. > > References: > [1] - http://wahjava.googlepages.com/list-interfaces.c Nice. Funny ifaddrs.h is not documen

Re: [ilugd] GNU ifconfig & IPv6

2008-06-08 Thread आशीष शुक्ल Ashish Shukla
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ,--[ On Sun, Jun 08, 2008 at 10:35:52PM +0530, Debarshi Ray wrote: | I am looking for a portable way to read the IPv6 address of a network | interface when its name is given. This is mainly needed to add some | functionality to GNU ifconfig [1] and whi

[ilugd] GNU ifconfig & IPv6

2008-06-08 Thread Debarshi Ray
I am looking for a portable way to read the IPv6 address of a network interface when its name is given. This is mainly needed to add some functionality to GNU ifconfig [1] and while looking around came across the USAGI FAQ [2], which says that SIOCGIFADDR does not work with IPv6 although it does fo