netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ndisc_get_neigh() in Kernel Module
@ 2009-06-12 16:44 Matthew Jakeman
  0 siblings, 0 replies; only message in thread
From: Matthew Jakeman @ 2009-06-12 16:44 UTC (permalink / raw)
  To: netdev

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-12 16:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-12 16:44 ndisc_get_neigh() in Kernel Module Matthew Jakeman

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).