netdev
[Top] [All Lists]

SIOCGIFADDR and IPv6

To: netdev@xxxxxxxxxxx
Subject: SIOCGIFADDR and IPv6
From: Grahame Bowland <grahame@xxxxxxxxxxxxxx>
Date: Mon, 29 Mar 2004 11:44:20 +0800
Sender: netdev-bounce@xxxxxxxxxxx
Hey all

I've noticed that calling SIOCGIFADDR on an IPv6 socket to get the
interface address always returns EINVAL. Would a patch to implement that
feature be accepted?

As far as I can see, it wasn't implemented in the USAGI tree because a
struct ifreq couldn't fit an IPv6 address. However, the current kernel
IPv6 has the struct in6_ifreq to support SIOCSIFADDR, which fixes that
problem.

Cheers
Grahame




<Prev in Thread] Current Thread [Next in Thread>
  • SIOCGIFADDR and IPv6, Grahame Bowland <=