netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: netdev@vger.kernel.org
Subject: Getting a network interface list from within the kernel
Date: Thu, 12 Apr 2007 21:51:50 +0100	[thread overview]
Message-ID: <2970.1176411110@redhat.com> (raw)


I need to get a list of the IPv4 addresses bound to network interfaces from
within the kernel to be able to present it to an AFS server when it asks.
This is handled by the AFS client filesystem.

I also need to be able to get the netmasks and MTUs for those interfaces.

What's the best way of doing this, assuming it's possible at all?

David

             reply	other threads:[~2007-04-12 20:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-12 20:51 David Howells [this message]
2007-04-12 20:59 ` Getting a network interface list from within the kernel David Miller
2007-04-13 11:37   ` David Howells

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=2970.1176411110@redhat.com \
    --to=dhowells@redhat.com \
    --cc=netdev@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;
as well as URLs for NNTP newsgroup(s).