summaryrefslogtreecommitdiffstats
path: root/include/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* build: move copy of linux headers to private directoryThomas Haller2014-09-241-31/+31
| | | | | | | | | | | | | | | | | | | libnl3 contains a private copy of some kernel header files. Normally, users are expected to install libnl and specify -I$PREFIX/include/libnl3 as include path. As the private kernel header files are not installed, this works fine. However, it can be convenient to build against the libnl source directory, without installing libnl. In this case, the private kernel header files shaddow the system provided ones. This is undesired. Move these files to a different directory to avoid this clash. http://lists.infradead.org/pipermail/libnl/2014-September/001645.html Signed-off-by: Thomas Haller <thaller@redhat.com> Acked-by: Thomas Graf <tgraf@suug.ch>
* qdisc: add hfsc qdisc supportCong Wang2014-07-301-0/+1
| | | | | | | | Cc: Thomas Graf <tgraf@suug.ch> Cc: Thomas Haller <thaller@redhat.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: Thomas Haller <thaller@redhat.com>
* link/inet6: add link IPv6 address generation mode supportDan Williams2014-07-301-0/+1
| | | | | Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
* xfrm: add xfrm supportSruthi Yellamraju2014-07-201-1/+8
| | | | | Signed-off-by: Sruthi Yellamraju <ysruthi@gmail.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
* build: fix error in include/Makefile.amThomas Haller2014-06-161-1/+1
| | | | | | | Just introduced by me, as an oversight from commit 11f9cc0914aef697c1f49bca7353117cb65fd318. Signed-off-by: Thomas Haller <thaller@redhat.com>
* ip6tnl: introduce ip6 tunnel supportSusant Sahani2014-06-161-0/+1
| | | | | | | | This patch adds support for ip6 tunnel that works with the ip6_tunnel kernel module. Signed-off-by: Susant Sahani <susant@redhat.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
* tunnel: add a copy of include/linux/if_tunnel.hCong Wang2014-05-121-0/+1
| | | | | | | | | | | | | | | | | | This should fix the following compile error: route/link/ipip.c:52: error: ‘IFLA_IPTUN_MAX’ undeclared here (not in a function) route/link/ipip.c:53: error: ‘IFLA_IPTUN_LINK’ undeclared here (not in a function) route/link/ipip.c:53: error: array index in initializer not of integer type route/link/ipip.c:53: error: (near initialization for ‘ipip_policy’) route/link/ipip.c:53: error: field name not in record or union initializer route/link/ipip.c:53: error: (near initialization for ‘ipip_policy’) ... Reported-by: Vinson Lee <vlee@twitter.com> Cc: Susant Sahani <susant@redhat.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: Thomas Haller <thaller@redhat.com>
* lib/socket: retry generate local port in nl_connect on ADDRINUSEThomas Haller2014-05-061-0/+1
| | | | | | | | | | | | | | | | | | | | | It can easily happen that the generated local netlink port is alrady in use. In that case bind will fail with ADDRINUSE. Users of libnl3 could workaround this, by managing the local ports themselves, but sometimes these users are libraries too and they also don't know which ports might be used by other components. This patch changes that nl_socket_alloc() no longer initilizes the local port id immediately. Instead it will be initialized when the user calls nl_socket_get_local_port() the first time and thereby shows interest in the value. If bind() fails with ADDRINUSE, check if the user ever cared about the local port, i.e. whether the local port is still unset. If it is still unset, assume that libnl should choose a suitable port and retry until an unused port can be found. Signed-off-by: Thomas Haller <thaller@redhat.com>
* ipvti: introduce vti tunnel supportSusant Sahani2014-05-061-0/+1
| | | | | | Signed-off-by: Susant Sahani <susant@redhat.com> [thaller@redhat.com: some whitespace fixes] Signed-off-by: Thomas Haller <thaller@redhat.com>
* introduce sit tunnel supportSusant Sahani2014-05-051-0/+1
| | | | | | | | | This patch introduces sit tunnel support Signed-off-by: Susant Sahani <susant@redhat.com> Acked-by: Thomas Graf <tgraf@suug.ch> [thaller@redhat.com: change WS to TAB, fix code doc] Signed-off-by: Thomas Haller <thaller@redhat.com>
* introduce gre tunnel supportSusant Sahani2014-05-051-0/+1
| | | | | | | | | This patch introduces gre tunnel support Signed-off-by: Susant Sahani <susant@redhat.com> Acked-by: Thomas Graf <tgraf@suug.ch> [thaller@redhat.com: change WS to TAB, fix code doc] Signed-off-by: Thomas Haller <thaller@redhat.com>
* introduce ipip tunnel supportSusant Sahani2014-05-051-0/+1
| | | | | | | | | | This patch introduces ipip tunnel support. This works with kernel module ipip. Signed-off-by: Susant Sahani <susant@redhat.com> Acked-by: Thomas Graf <tgraf@suug.ch> [thaller@redhat.com: change WS to TAB, fix code doc] Signed-off-by: Thomas Haller <thaller@redhat.com>
* route: rename internal copy of kernel header file 'inetdevice.h' to 'ip.h'Thomas Haller2014-03-211-1/+1
| | | | | | | | | | libnl used 'inetdevice.h' for the IPV4_DEVCONF_* names, which the kernel in the meantime moved to public user space API and are now defined in 'ip.h'. As a first step, rename the file 'inetdevice.h'. Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: Thomas Haller <thaller@redhat.com>
* add fq_codel qdiscCong Wang2013-11-221-0/+1
| | | | | | Cc: Thomas Graf <tgraf@suug.ch> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
* fix linux/pkt_act.h inclusionCong Wang2013-11-111-0/+1
| | | | | | | We should copy and use the kernel header linux/tc_act/tc_mirred.h. Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
* add veth.h into include/Makefile.amCong Wang2013-11-091-0/+1
| | | | | Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
* add mirred tc actionCong Wang2013-11-091-0/+1
| | | | | Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
* add initial tc action supportCong Wang2013-11-091-0/+1
| | | | | Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
* include: Provide <netlink/route/link/vxlan.h> in distributionThomas Graf2013-10-231-3/+4
| | | | | Reported-by: Jeroen Roovers <jer@gentoo.org> Signed-off-by: Thomas Graf <tgraf@suug.ch>
* Add support for inet diag Netlink protocol.Joe Damato2013-07-191-2/+6
| | | | | | | | | | | | | - Inet diag allows users to gather low-level socket information. - This library provides a higher-level API for creating inetdiag requests (via idiagnl_connect and idiagnl_send_simple) and parsing the replies (via idiagnl_msg_parse). A cache is also provided (via idiagnl_msg_alloc_cache). - Request and message objects provide APIs for accessing and setting the various properties of each. - This library also allows the user to parse the inetdiag response attributes which contain information about traffic class, TOS, congestion, socket memory info, and more depending on the kernel version used. - Includes doxygen documentation.
* Add macvlan supportMichael Braun2013-05-161-0/+1
| | | | | | This patch add support for kernel macvlan interfaces. Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
* bridge: Support the new bridging attributesThomas Graf2013-02-071-0/+2
| | | | | | | | | | | | | This provides support for the new bridging attributes provided in IFLA_PROTINFO while maintaining backwards compatibility with older kernels. A set of new API functions are exported to access the bridging information. rtnl_link_bridge_has_ext_info() can be used to check whether a bridge object has been constructed based on the newly available attributes or the old message format. Signed-off-by: Thomas Graf <tgraf@suug.ch>
* can: Include "linux/can/netlink.h" in the distributionThomas Graf2013-02-011-0/+1
| | | | | | Needed to compile if local kernel headers are outdated. Signed-off-by: Thomas Graf <tgraf@suug.ch>
* Provide compat headers for removed private APIThomas Graf2013-01-241-1/+7
| | | | | | | | | | Some projects seem to have mistakenly included the private API headers without actually needing them. Provide dummy headers referring to the real headers to provide backwards compatibility. Signed-off-by: Thomas Graf <tgraf@suug.ch>
* Move private header files to <netlink-private/*>Thomas Graf2013-01-241-9/+8
| | | | | | | This clarifies the seperation between public and private header files. Signed-off-by: Thomas Graf <tgraf@suug.ch>
* No longer install module API headersThomas Graf2013-01-231-6/+6
| | | | | | | | | | | | | | | Various header files providing an API to implement own cache and object types or implement link types have been available in the past. Their API is marked unstable in the documentation and nobody is using them so far. Technically they have been causing ABI breakages in at least two 3.2.x releases. In order to avoid future accidental breakage, no longer install these and require module developers to clone the git tree and build modules off the git tree directly to make sure that the API is unstable at this point. Signed-off-by: Thomas Graf <tgraf@suug.ch>
* fix include/Makefile.amThomas Graf2013-01-081-2/+3
| | | | Signed-off-by: Thomas Graf <tgraf@suug.ch>
* build: Fix distribution to include 'nfnetlink_conntrack.h'Otavio Salvador2013-01-081-1/+2
| | | | | | | | The header has not been included in the headers list so it has been been distributed in the tarball making it fail to build in old kernels. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Thomas Graf <tgraf@suug.ch>
* Add <netlink/route/link/can.h> to dist targetThomas Graf2013-01-041-0/+1
| | | | Signed-off-by: Thomas Graf <tgraf@suug.ch>
* Include the newly added header files in next releaseThomas Graf2012-11-231-0/+3
| | | | Signed-off-by: Thomas Graf <tgraf@suug.ch>
* Checkpoint before compilation attemptRich Fought2012-10-081-0/+1
|
* Support plug qdisc - queue traffic until explicit releaseShriram Rajagopalan2012-02-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | The plug qdisc supports two operations - plug and unplug. When the qdisc receives a plug ("buffer") command via netlink request, packets arriving henceforth are buffered until a corresponding unplug command is received. Depending on the type of unplug ("release_one" or "release_indefinite"), the queue can be unplugged indefinitely or selectively. The plug qdisc allows a user to implement network output buffering (aka output commit), used commonly in checkpoint based fault tolerance systems. It also supports a general purpose queue plug/unplug functionality. The associated kernel module is available in David Miller's net-next tree, commit: c3059be16c9ef29c05f0876a9df5fea21f29724f This patch introduces userspace tools and API, to control the qdisc via netlink messages. Signed-off-by: Shriram Rajagopalan <rshriram@cs.ubc.ca> Signed-off-by: Thomas Graf <tgraf@redhat.com>
* Don't install CLI header files when --disable-cli has been configured.Michael Altizer2011-10-101-11/+15
| | | | Signed-off-by: Michael Altizer <xiche@verizon.net>
* bonding: Install <netlink/route/link/bonding.h>Thomas Graf2011-09-161-0/+1
|
* Install headers in ${includedir}/libnl3Thomas Graf2011-09-131-1/+3
| | | | | This allows for multiple major versions to be installed in parallel. Pkg-config files are adapted to provide appropriate cflags to find new header locations.
* Expose <netlink/route/link/inet.h>Thomas Graf2011-04-201-0/+1
|
* Fix "make distcheck".Thierry Reding2011-03-231-0/+50
| | | | | | | | | This commit adds some missing files (some header files, the files below /etc and the bison/flex files) to the distribution tarball to ensure that libnl can be built from the tarballs created using "make dist". It also adds some incantations to properly generate the flex and bison output since the generated output is no longer shipped in the tarball.
* rename sch -> qdiscThomas Graf2011-03-211-9/+9
|
* Unified TC APIThomas Graf2011-03-211-3/+1
| | | | | | | | Finally got rid of all the qdisc/class/cls code duplication in the tc module API. The API takes care of allocation/freeing the tc object specific data. I hope I got it right this time.
* Don't install private header files.Thomas Graf2010-04-191-5/+1
|
* Move to automake-based buildJan Engelhardt2009-06-221-0/+67
Issues solved: * PACKAGE_VERSION was abused for SOVERSION * unneeded DEP stage * did not support out-of-tree builds * no way to turn off silent mode * overriding CFLAGS at make time was not supported * no static libs were provided Signed-off-by: Jan Engelhardt <jengelh@medozas.de>