All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Jakeman <matt@evolution-systems.co.uk>
To: netdev@vger.kernel.org
Subject: ndisc_get_neigh() in Kernel Module
Date: Fri, 12 Jun 2009 17:44:46 +0100	[thread overview]
Message-ID: <4A3285FE.50705@evolution-systems.co.uk> (raw)

Hi all,

Apologies if this is the wrong list and could someone please point me in 
the direction of a correct one if so.

I am writing a module (for kernel version 2.6.28) and I need to perform 
an IPv6 neighbour lookup on an address as I have a packet before it has 
got to the network code and had the MAC header prepended in the skbuff.

After looking about in the kernel code I came across ndisc_get_neigh() 
which seemed to suit me perfectly but I can't use it because nd_tbl is 
not exported by the kernel.

Are there any other ways for me to do the same thing that 
ndisc_get_neigh() does? I guess this is unlikely without having access 
to nd_tbl but if anyone could point me in the direction of another way 
to perform this operation it would be much appreciated.

Cheers
Matt

                 reply	other threads:[~2009-06-12 16:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4A3285FE.50705@evolution-systems.co.uk \
    --to=matt@evolution-systems.co.uk \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.