[PATCH] neigh: add function to look up neighbour (fdb) by ifindex, mac and vlan
Thomas Haller
thaller at redhat.com
Sun May 29 06:23:35 PDT 2016
On Tue, 2016-05-17 at 08:28 +0200, Jonas Johansson wrote:
> The rtnl_neigh_get() function can not be used to look up a fdb entry
> in the
> neigh cache. This is due to that the function searches among
> destination
> addresses (NDA_DST) and not among link layer addresses (NDA_LLADDR),
> which is
> used by fdb entries. A fdb entry can also exist in several vlans, so
> a vlan id
> parameter is also needed to find a unique entry.
> This commit adds a function, rtnl_neigh_get_by_vlan() which searches
> the neigh
> cache for a specific neighbour (fdb) entry by interface index, link
> layer
> address and vlan id.
>
> Signed-off-by: Jonas Johansson <jonas.johansson at westermo.se>
>
Hi Jonas,
sorry for the late response.
Patch merged to master:
https://github.com/thom311/libnl/commit/3bf503d30c271822158414f63eed620afc9b10cd
Thank you!!
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20160529/1393c211/attachment.sig>
More information about the libnl
mailing list