third_party_libnl/lib
Jonas Johansson 3bf503d30c neigh: add function to look up neighbour (fdb) by ifindex, mac and vlan
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@westermo.se>
Signed-off-by: Thomas Haller <thaller@redhat.com>

http://lists.infradead.org/pipermail/libnl/2016-May/002124.html
https://github.com/thom311/libnl/pull/98
2016-05-29 15:19:22 +02:00
..
cli qdisc: avoid calling strstr() with a NULL haystack 2014-08-27 12:56:34 +02:00
fib_lookup lib: update ce-mask to uint64_t 2016-02-12 18:09:04 +01:00
genl lib: update ce-mask to uint64_t 2016-02-12 18:09:04 +01:00
idiag lib: update ce-mask to uint64_t 2016-02-12 18:09:04 +01:00
netfilter lib: update ce-mask to uint64_t 2016-02-12 18:09:04 +01:00
route neigh: add function to look up neighbour (fdb) by ifindex, mac and vlan 2016-05-29 15:19:22 +02:00
xfrm lib: update ce-mask to uint64_t 2016-02-12 18:09:04 +01:00
.gitignore Added lex.yy.c to .gitignore 2012-08-30 03:19:04 +06:00
addr.c lib: add const-ness to appropriate parameters in addr, attr, data 2015-02-16 11:20:18 +01:00
attr.c lib/attr: add nla utility functions for signed integers 2015-10-05 16:52:41 +02:00
cache_mngr.c lib: log errors from platform 2015-02-17 13:34:01 +01:00
cache_mngt.c cache: assert in nl_cache_mngt_register() for valid oo_keygen() function 2014-11-25 10:44:26 +01:00
cache.c lib/doc: clearify return value of send_simple() functions 2015-05-12 15:56:50 +02:00
data.c lib: add const-ness to appropriate parameters in addr, attr, data 2015-02-16 11:20:18 +01:00
error.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
handlers.c Remove pointless N < 0 checks 2014-08-26 14:12:52 +02:00
hash.c Hash: Properly prefix hash functions 2012-11-10 10:22:26 +01:00
hashtable.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
Makefile.am route/vrf: add VRF support 2015-11-01 17:54:03 +01:00
msg.c style: require comma after __ADD() macro 2014-07-27 10:57:31 +02:00
nl.c libnl: don't use out-of-scope buffer in nl_send_iovec() 2015-11-24 13:44:48 +01:00
object.c lib: update ce-mask to uint64_t 2016-02-12 18:09:04 +01:00
socket.c socket: fix assertion in nl_connect() when all ports are already in use 2015-08-24 18:01:42 +02:00
utils.c lib/utils: add NL_CAPABILITY_NL_OBJECT_DIFF64 capability 2016-02-12 18:20:42 +01:00
version.c Run-time version information is now available 2012-08-30 03:19:04 +06:00