netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* feature request: get ipv6 address from interface name (SIOCGIFNAME)
@ 2002-04-29  9:48 Francois-Xavier Kowalski
  0 siblings, 0 replies; only message in thread
From: Francois-Xavier Kowalski @ 2002-04-29  9:48 UTC (permalink / raw)
  To: Linux Networking Development ML; +Cc: Francois-Xavier 'FiX' KOWALSKI

Hello,

I am currently writing some user-space stuff that require to get the
IP address from the Eternet interface name (because the interface name
is the one linked to the physical device).

ipv4 let the a the ability to retrieve a single address using the
itocl(SIOCGIFNAME) command.

So I am wondering if the fact that this feature is left un-implemented
in ipv6 is intentionnal or not.  The currently implemented ipv6 ioctl
commands only allow to set values, but not to retrieve them.

BTW, I have also noted that a single IPv4 address can be retrieved
using the ioctl(SIOCGIFNAME), whereas the ip(7) command gives the
ability to add several IP addresses per interface (not speaking of the
old "eth0:1" notiation, which is said to be deprecated).

Thanks in advance for any help / explanation or pointer.

Regards

FiX
-- 
François-Xavier 'FiX' KOWALSKI



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-29  9:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-29  9:48 feature request: get ipv6 address from interface name (SIOCGIFNAME) Francois-Xavier Kowalski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).