Mark Brown wrote:
On Thu, Dec 16, 2004 at 01:20:15PM -0500, Neil Horman wrote:
arp table is an L1 cache and the userspace daemon is the L2 cache. Via
the NETLINK_ROUTE protocol you can snoop all the neighbour table updates
that go on in the kernel and place that information in a userspace cache
of whatever size you like. Then you can configure the kernel to ask
As far as I can tell the netlink messages are only generated unprompted
when CONFIG_ARPD is enabled in the kernel? Otherwise RTN_NEWNEIGH is
only generated in response to RTM_GETNEIGH.
My bad, I guess you do still need CONFIG_ARPD turned on. It would seem
to make sense though (to me at least) to just remove CONFIG_ARPD from
the kernel, as you can squelch the generation of the relevant netlink
messages by setting app_solicit to 0 anyway.
Neil
--
/***************************************************
*Neil Horman
*Software Engineer
*Red Hat, Inc.
*nhorman@xxxxxxxxxx
*gpg keyid: 1024D / 0x92A74FA1
*http://pgp.mit.edu
***************************************************/
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html