[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4B5DA1FA.4030905@trash.net>
Date: Mon, 25 Jan 2010 14:51:54 +0100
From: Patrick McHardy <kaber@...sh.net>
To: David Miller <davem@...emloft.net>
CC: cratiu@...acom.com, netdev@...r.kernel.org,
ixlk-cr@...scape.ixiacom.com, pchakrabarti@...acom.com
Subject: Re: [RFC PATCH] extend RTM_GETNEIGH to allow getting more precise
information
David Miller wrote:
> From: Cosmin Ratiu <cratiu@...acom.com>
> Date: Fri, 15 Jan 2010 18:42:59 +0200
>
>> Please have a look at this patch which tries to solve a problem we
>> encountered.
>>
>> The background is that RTM_GETNEIGH netlink message is used to get a complete
>> dump of a neighbor table. Sometimes, that's too much (especially when you have
>> a lot of neighbors). This patch allows one to specify the IPv4/6 address of a
>> neighbor and the device index through which it is accessible in order to
>> obtain only that entry.
>>
>> If you have other suggestions on how to accomplish this task, please let us
>> know.
>
> Please add a netlink attribute to specify lookup keys.
>
> Adding specifiers to the end of the existing request message
> error prone and creates trouble in the future if someone gets
> the idea to add something more.
It should also use a seperate callback for looking up individual
entries instead of the NLM_F_DUMP callback.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists