summaryrefslogtreecommitdiffstats
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* xfrmi: introduce XFRM interfaces supportEyal Birger2019-09-011-0/+5
| | | | | | | XFRM interfaces were introduced in kernel 4.19. This commit adds link support for these interfaces. Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
* Sync linux headers to 4.19.66Michael Forney2019-08-261-1/+0
| | | | | | | | | | | | | | | | | | | This fixes the build with musl libc. Additionally, several changes were made to account for changes to the headers: - ip_mp_alg.h was removed, since it was removed in linux commit e06e7c61 (v2.6.23), and the last use of those constants was removed in libnl commit 535e8316. - Uses of TCF_META_ID_SK_ROUTE_CAPS were updated to __TCF_META_ID_SK_ROUTE_CAPS, since it was renamed in linux commit e20e6940 (v3.1). - Uses of IF_CARRIER_DOWN and IF_CARRIER_UP were replaced with their values, 0 and 1, since they are not in linux/if.h (they appear to be libnl-specific, added in libnl commit 3540e44b). https://github.com/thom311/libnl/pull/222
* all: Avoid pointer arithmetic on `void *`Michael Forney2019-08-161-0/+1
| | | | | | | ISO C requires that the pointer operand to the binary + operator be to a complete object type[0]. [0] http://port70.net/~nsz/c/c11/n1570.html#6.5.6p2
* route:act: add vlan actionVolodymyr Bendiuga2018-10-101-0/+2
| | | | | | | For more information please see: http://man7.org/linux/man-pages/man8/tc-vlan.8.html Signed-off-by: Volodymyr Bendiuga <volodymyr.bendiuga@westermo.se>
* include: import tc_vlan.hVolodymyr Bendiuga2018-10-101-0/+1
| | | | Signed-off-by: Volodymyr Bendiuga <volodymyr.bendiuga@westermo.se>
* build: cleanup Makefile.amThomas Haller2018-10-081-52/+82
| | | | | Sort files asciibetically and add $(NULL) sentinel to Makefile lines.
* route:qdisc: add MQPRIO QdiscVolodymyr Bendiuga2018-07-261-0/+2
| | | | | | | More about Qdisc mqprio can be found at: http://man7.org/linux/man-pages/man8/tc-mqprio.8.html Signed-off-by: Volodymyr Bendiuga <volodymyr.bendiuga@westermo.se>
* Add support for cloning cgroup filter object.d0u92018-06-251-1/+2
| | | | | | | | | | | In this commit, we implement ematch_tree_clone(), which is basis of cgroup_clone() interface. The whole ematch tree is deep-copied except the e_ops filed. Also, a new unit test is added for testing the interface, which named as check-ematch-tree-clone.c located in tests directory. https://github.com/thom311/libnl/pull/176
* route:cls: add matchall classifierVolodymyr Bendiuga2018-04-111-1/+3
| | | | | | | This simple classifier allows any traffic pass through. Useful as an example for port mirroring. Signed-off-by: Volodymyr Bendiuga <volodymyr.bendiuga@westermo.se>
* build: sort entries in Makefile.am and .gitignore by nameThomas Haller2018-04-061-22/+24
|
* add demo program for listen conntrack eventsLukáš Karas2018-04-061-0/+3
|
* lib/rtnl: rename public define RTNL_GENEVE_ID_MAXThomas Haller2018-02-121-2/+2
| | | | | Public defines must have a libnl3 related prefix. Rename GENEVE_ID_MAX to RTNL_GENEVE_ID_MAX.
* link: add Geneve support.Wang Jian2018-02-121-1/+6
| | | | Signed-off-by: Wang Jian <jianjian.wang1@gmail.com>
* tests: Add test to {de}activate loopback interfaceMarcos Paulo de Souza2018-01-161-1/+4
| | | | | | | | | | This tests is much more like an example of how to do it, and also works as a test to check if rtnl_link_change is working as expected when it comes to loopback interface. Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> https://github.com/thom311/libnl/pull/161
* build: add missing headers for issue #152Jeroen Roovers2017-09-211-1/+4
| | | | | | | Also, sort all headers. https://github.com/thom311/libnl/issues/152 https://github.com/thom311/libnl/pull/153
* build: add new include/netlink-private/route/*.h files to Makefile.amThomas Haller2017-08-181-0/+2
|
* route: Add support for MPLS encapDavid Ahern2017-08-181-0/+1
| | | | | | Add support for MPLS lwtunnel encapsulation. Signed-off-by: David Ahern <dsahern@gmail.com>
* route: Add support for lwtunnel encapsulationsDavid Ahern2017-08-181-0/+1
| | | | | | | | | | Add framework to support lwtunnel encapsulations per nexthop. Encapsulations types are expected to fill in the nh_encap_ops for building and parsing messages, compare encapsulations in routes, dumping the encapsulations and freeing memory. Signed-off-by: David Ahern <dsahern@gmail.com>
* addr: Add implementations for mpls_ntop and mpls_ptonDavid Ahern2017-08-181-1/+2
| | | | | | Implementations of mpls_ntop and mpls_pton taken from iproute2. Signed-off-by: David Ahern <dsahern@gmail.com>
* build: add include/linux-private/linux/mpls.h to Makefile.amThomas Haller2017-08-181-0/+1
|
* build: don't build cli libraries by defaultThomas Haller2017-05-121-1/+1
| | | | | | | | | | | When configuring with --enable-cli=no, we should not build the libraries related the cli. This fixes commit 3cb2853 (build: enable building cli during tests) which enables building of cli during `make check`. However, during regular build, these libraries should not get build. Signed-off-by: Thomas Haller <thaller@redhat.com>
* route: Add support for netconfDavid Ahern2017-05-121-0/+2
| | | | | | | | | | | | Add route/netconf cache type to monitor RTM_*NETCONF messages. v2 - change get methods to return 0/error and take 'int *val' which is set to the value requested Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: Balakrishnan Raman <ramanb@cumulusnetworks.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
* build: fix creating directories for generated sourcesThomas Haller2017-02-271-4/+4
| | | | Fixes: a572196366cfc1938596052f8e16121d0d374164
* build: pass --disable-dependency-tracking to `make distcheck`Thomas Haller2017-02-271-0/+3
|
* build: ensure build directory for generated sources existThomas Haller2017-02-271-8/+8
| | | | | | For out-of-tree builds, we must ensure that the build directory for the generated sources exists. We do that by adding a dependency to the .dirstamp file.
* build: enable more warningsThomas Haller2017-02-271-1/+6
|
* all: enable -Wmissing-prototype warning for all componentsThomas Haller2017-02-271-2/+2
|
* build: move compiler warning flags to separate autoconf variableThomas Haller2017-02-271-4/+7
|
* build: enable building cli during testsThomas Haller2017-02-271-6/+15
| | | | | | The cli programs don't have any additional external dependencies. So, during a `make check`, we should always build them, even if they were disabled during configure and won't be installed.
* build: merge src/Makefile.am into top-level makefileThomas Haller2017-02-271-7/+175
|
* build: merge src/lib/Makefile.am into top-level makefileThomas Haller2017-02-271-5/+51
|
* build: merge tests/Makefile.am into top-level makefileThomas Haller2017-02-271-2/+128
|
* build: merge python/Makefile.am into top-level makefileThomas Haller2017-02-271-1/+39
|
* build: merge man/Makefile.am into top-level makefileThomas Haller2017-02-271-1/+10
|
* build: merge lib/Makefile.am into top-level makefileThomas Haller2017-02-271-2/+302
|
* build: merge include/Makefile.am into top-level makefileThomas Haller2017-02-271-2/+210
|
* build: cleanup top-level Makefile.amThomas Haller2017-02-261-10/+20
|
* build: add linker scripts for libnl-cli-3.so libraryThomas Haller2015-02-021-0/+1
| | | | | | | libnl-cli-3.so was unversioned previously. This is an ABI change (but backward compatible). Signed-off-by: Thomas Haller <thaller@redhat.com>
* build: add individual linker version scripts for shared librariesThomas Haller2015-02-021-1/+7
| | | | | | | | | | 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>
* build: generate libnl-idiag-3.0.pcSébastien Barré2014-09-221-1/+2
| | | | | | | | | | That file was not generated due to a missing line in Makefile.am and configure.ac http://lists.infradead.org/pipermail/libnl/2014-September/001649.html Signed-off-by: Sébastien Barré <sebastien.barre@uclouvain.be> Signed-off-by: Thomas Haller <thaller@redhat.com>
* xfrm: add xfrm supportSruthi Yellamraju2014-07-201-1/+2
| | | | | Signed-off-by: Sruthi Yellamraju <ysruthi@gmail.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
* make: automake provides a cscope target these daysThomas Graf2012-12-211-4/+0
| | | | Signed-off-by: Thomas Graf <tgraf@suug.ch>
* Don't include doc/ in toplevel distThomas Graf2012-10-221-1/+0
| | | | | | | On a second thought, don't include doc/ in dist at all and distribute it separately. The doc source files are available in the git tree anyway. Signed-off-by: Thomas Graf <tgraf@redhat.com>
* Only include doc/ in distThomas Graf2012-10-191-1/+2
|
* tests: Convert tests/Makefile to use automakeThomas Graf2012-04-211-1/+1
|
* build: simplify optional dirs/files in Makefile.am processingJan Engelhardt2011-11-111-11/+7
|
* Add libnl-cli-3.0 to pkg-config toolJiří Župka2011-10-101-1/+5
| | | | Signed-off-by: Jiří Župka <jzupka@redhat.com>
* Fix a73cb2f26 fallout to allow building in separate directoryThomas Graf2011-09-131-1/+1
| | | | | Commit a73cb2f26932d90a2d47a28e9c524e7f33dcffbd missed to change the EXTRA_DATA section
* Switch to libtool versioning systemThomas Graf2011-09-131-4/+4
| | | | | | | | | | | | | | | | | | It has been a request that multiple libnl versions should be installabe in parallel. In order to achieve this, the basename of the library was changed to libnl-3 which reflects the 3rd generation of libnl APIs. It also means that release based library versioning is left behind and libtool versioning is used instead. Projects using pkgconfig will automatically link against the new library basename and will not notice a difference. The SO versioning is based on the glib model: current := 100 * minor + micro - revision revision := revision age := age (number of backwards compatible versions)
* build: always install files into /etc/libnlJan Engelhardt2011-09-131-2/+2
| | | | | | I observed that with the RedHat build target in the Open Build Service, files were put into /etc rather than /etc/libnl. Self-referential variables are a bad idea, and so just avoid this.