lkml.org 
[lkml]   [2004]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: inconsistency between SIOCGIFCONF and SIOCGIFNAME
From
In article <40E24573.5030403@redhat.com> (at Tue, 29 Jun 2004 21:45:39 -0700), Ulrich Drepper <drepper@redhat.com> says:

> David S. Miller wrote:
> > Ulrich, is there a major reason why you can't use RTNETLINK for
> > your implementation? It behaves as you desire and gives you
> > all of the link information you are after, in place of SIOCGIFCONF.
>
> When was the netlink interface introduced? The ioctl() code is most
> probably older and therefore we would still get wrong results on old
> kernels. I don't know the reason why you hesitate, but the patch seems
> really harmless and, as you pointed out, more compatible with the BSD
> version.

2.2.x or later have (modern) netlink support.

--yoshfuji
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.073 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site