summaryrefslogtreecommitdiff
path: root/libnl-route-3.sym
AgeCommit message (Collapse)Author
2016-06-25lib/route: add macsec supportSabrina Dubroca
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
2016-05-29neigh: add function to look up neighbour (fdb) by ifindex, mac and vlanJonas Johansson
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-04-15sit: add public API for sit 6RD supportThomas Haller
Signed-off-by: Thomas Haller <thaller@redhat.com>
2016-04-15ipgre: add support for gretap tunnelHaishuang Yan
Since kernel support both gre/gretap tunnel, so add support for gretap appropriately. Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com> Signed-off-by: Thomas Haller <thaller@redhat.com> [thaller@redhat.com: modified original patch to move symbols in libnl-route-3.sym to proper section] http://lists.infradead.org/pipermail/libnl/2016-April/002102.html
2016-04-15route: sort entries in libnl-route-3.sym by nameThomas Haller
Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-12-07bridge: add support for VLANsDavid Ahern
Add operation for requesting VLAN data for AF_BRIDGE and parsing of IFLA_AF_SPEC for AF_BRIDGE. VLANs are saved in a bitmap. Also add dumping of vlan info to link list and neigh list. For example: $ nl-link-list --details --family=bridge br1 ether 8e:6e:0e:86:e5:86 master br1 <broadcast,multicast,up,running,lowerup> mtu 1500 txqlen 0 weight 0 index 18 mode default carrier down bridge: pvid 1 all vlans: 1 301-400 601-610 untagged vlans: 1 bond1 ether 46:ef:e1:c9:46:fe <broadcast,multicast,master> mtu 1500 txqlen 0 weight 0 index 20 state down mode default carrier down bridge: Signed-off-by: Wilson Kok <wkok@cumulusnetworks.com> Signed-off-by: David Ahern <dsa@cumulusnetworks.com> [thaller@redhat.com: modified original patch to use ao_parse_af_full(). Also renaming new API and drop some #defines] Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-11-19route/link: add macvtap supportBeniamino Galvani
This adds support for MAC-VLAN based tap interfaces (macvtap). http://lists.infradead.org/pipermail/libnl/2015-October/001976.html Signed-off-by: Beniamino Galvani <bgalvani@redhat.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-11-19link/neigh: add flags option to link and neighbor cachesDavid Ahern
Both link and neighbor cache support specify multiple groups (nl_af_group), but the alloc_cache functions for both do not set the NL_CACHE_AF_ITER flag before populating the cache so only the first group is used by default. This patch adds an API to pass in flags to make that happen and updates the nl-neigh-list command to make use of it. http://lists.infradead.org/pipermail/libnl/2015-October/001996.html Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-11-01route/vrf: add VRF supportDavid Ahern
http://lists.infradead.org/pipermail/libnl/2015-October/001991.html Signed-off-by: David Ahern <dsa@cumulusnetworks.com> [thaller@redhat.com: slightly modified original patch] Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-08-17route/link: add support for IFLA_LINK_NETNSIDThomas Haller
Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-06-19ipvlan: add ipvlan supportCong Wang
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-03-23neigh: add support for NDA_VLAN nl attributeJonas Johansson
[thaller@redhat.com: modified patch to parse NDA_VLAN and diff vlan] http://lists.infradead.org/pipermail/libnl/2015-March/001861.html Signed-off-by: Jonas Johansson <jonasj76@gmail.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-03-09build: revert moving unstable symbols from libnl_3 linker sectionThomas Haller
In the past, libnl3 had only one section (libnl_3) in the linker version script. Between 3.2.25 and 3.2.26 release, this was cleaned up and new symbols were added to libnl_3_2_26 section. Commit d2a30fb also moved new symbols since 3.2.25 to that section. Fedora 21 and later already uses these symbols in the previous version (@libnl_3). Updating there would break symbol lookup. As we have users of the unstable version from pre-3.2.26, move those symbols back. Note that this now breaks unstable users since d2a30fb (5 weeks ago) -- which probably are much fewer affected users. Fixes: d2a30fbb36d668fe64f43bddfc9c53ee0362334f Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-03-04cls: add rtnl_u32_get_classid() APICong Wang
[thaller@redhat.com: modified patch to use rtnl_tc_data_peek()] http://lists.infradead.org/pipermail/libnl/2015-March/001841.html Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-03-04build/trivial: reorder symbols in linker version scripts and add commentThomas Haller
We export some symbols that are in private headers. We shouldn't do that. Highlight them in the version script by grouping them and add a comment. We might want to hide these symbols later. Some of these symbols symbols are used by libnl internal libraries. So removing those is more complicated and only possible if we don't required compatibility of different libnl libraries between each other (i.e. that we require that within one installation the library versions match). Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-02-02route/tc: add rtnl_tc_stat2str() and rtnl_tc_str2stat()Cong Wang
[thaller@redhat.com: add symbols to libnl-route-3.sym] Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-02-02route/act: add skbedit actionCong Wang
[thaller@redhat.com: changed whitespace and libnl-route.sym] Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-02-02build: don't export internal symbolsThomas Haller
Hide internal symbols from the libraries. Before, all symbols were exported, including some that were not meant to be public. Hide them now. This is an ABI break, but nobody was supposed to use these symbols. Hence it seems acceptable to hide them now. Still don't hide any symbols that are internal, but wrongly exported in public header files (such as @ct_obj_ops). Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-02-02build: move linker script symbols since last stable release to own sectionThomas Haller
Move the symbols that were added since the last stable release to a new section of the linker file. Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-02-02build: explicitly list exported symbols in linker scriptsThomas Haller
Before all symbols (global: *;) were exported, which included some symbols that should not be exported. Update the symbol files to exclude everything by default and name the exported symbols explicitly. Still the same symbols as before are exported. for SO in ./lib/.libs/*.so ./src/lib/.libs/*.so; do SYM="$(basename "$SO")" SYM="${SYM%.so}.sym" cat <<EOF | sed 's/^ *>> //' > "$SYM" >> libnl_3 { >> global: >> $(nm "$SO" | sed -n 's/^[a-fA-F0-9]\+ [BDRT] \(.*\)/\t\1;/p' | LANG=C sort) >> local: >> $(echo -e '\t')*; >> }; EOF done Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-02-02build: add individual linker version scripts for shared librariesThomas Haller
Instead of using a shared version script 'libnl.sym', add individual linker scripts for all libnl libraries. For now, the content of the version script is unchanged and this patch does not have any externally visible changes. Signed-off-by: Thomas Haller <thaller@redhat.com>