mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "YOSHIFUJI Hideaki / 吉藤英明" <yoshfuji@linux-ipv6.org>
To: drepper@redhat.com
Cc: davem@redhat.com, linux-kernel@vger.kernel.org, yoshfuji@linux-ipv6.org
Subject: Re: inconsistency between SIOCGIFCONF and SIOCGIFNAME
Date: Wed, 30 Jun 2004 14:10:52 +0900 (JST)	[thread overview]
Message-ID: <20040630.141052.524310146.yoshfuji@linux-ipv6.org> (raw)
In-Reply-To: <40E24573.5030403@redhat.com>

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

  reply	other threads:[~2004-06-30  5:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-29  4:06 Ulrich Drepper
2004-06-29  8:26 ` David S. Miller
2004-06-29 16:22   ` Ulrich Drepper
2004-06-29 19:09   ` Ulrich Drepper
2004-06-29 21:19     ` David S. Miller
2004-06-30  4:45       ` Ulrich Drepper
2004-06-30  5:10         ` YOSHIFUJI Hideaki / 吉藤英明 [this message]
2004-06-30  5:13         ` David S. Miller
2004-06-30  7:51           ` Ulrich Drepper
2004-06-30 19:59             ` David S. Miller
2004-06-29 16:32 ` Stephen Hemminger
2004-06-29 19:11   ` Ulrich Drepper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040630.141052.524310146.yoshfuji@linux-ipv6.org \
    --to=yoshfuji@linux-ipv6.org \
    --cc=davem@redhat.com \
    --cc=drepper@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®