summaryrefslogtreecommitdiffstats
path: root/include/linux
Commit message (Collapse)AuthorAgeFilesLines
* bridge: Support the new bridging attributesThomas Graf2013-02-072-15/+250
| | | | | | | | | | | | | 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>
* link: add carrier supportFlavio Leitner2013-01-112-0/+7
| | | | | Signed-off-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
* Re-adding #defines for __aligned_be64 for older kernelsRich Fought2012-12-132-0/+8
|
* netfilter: update local header filesThomas Graf2012-12-115-280/+425
| | | | | | Needed to NF_CT_EXPECT_PERMANENT etc. Signed-off-by: Thomas Graf <tgraf@suug.ch>
* can: provide local copy of <linux/can/netlink.h>Thomas Graf2012-12-111-0/+122
| | | | Signed-off-by: Thomas Graf <tgraf@suug.ch>
* Merge branch 'master' of https://github.com/rmfought/libnlThomas Graf2012-10-264-194/+340
|\
| * Updated nfnetlink includes; removed ifdefs; added delete exp programRich Fought2012-10-164-194/+340
| |
* | link: Support IFLA_PROMISCUITY link attributeThomas Graf2012-10-091-0/+18
|/ | | | | | | * read-only attribute * dumped in details sections "promisc-mode (N users)" Signed-off-by: Thomas Graf <tgraf@redhat.com>
* Support plug qdisc - queue traffic until explicit releaseShriram Rajagopalan2012-02-141-0/+21
| | | | | | | | | | | | | | | | | | | | | | | 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>
* Support for NLM_F_INTRThomas Graf2011-07-141-0/+1
| | | | Check if a dump was interrupted and needs to be redone
* Update local copies of include/linuxThomas Graf2011-06-098-149/+165
|
* use linux/netlink.h instead of netlink/netlink-kernel.hThomas Graf2011-03-161-1/+220
|
* Tons of documentationThomas Graf2010-11-271-94/+0
|
* link: AF_INET link moduleThomas Graf2010-11-162-0/+44
| | | | | | | | Note: The code for this is not upstream yet. Extends the link api to allow address family modules to fill a link message and implements a AF_INET address family link module which uses the new interface.
* link: Support for IFLA_AF_SPECThomas Graf2010-11-131-0/+19
| | | | | | | | This feature isn't upstream yet. It's required to test a patch in my local tree. Makes the link parser understand IFLA_AF_SPEC and call the address family specific parser.
* Add local copies of linux/ipv6.h and linux/snmp.hThomas Graf2010-11-112-0/+389
|
* link: Support IFLA_IFALIAS attributeThomas Graf2010-11-111-5/+14
| | | | | | | | - parse IFLA_IFALIAS if available - provides API to access/change ifalias rtnl_link_get_ifalias(link) rtnl_link_set_ifalias(link, alias) - extends nl-link-set to test functionality
* Support for meta matchThomas Graf2010-10-311-0/+89
| | | | | Syntax: meta(pktlen > 768)
* routing rules: adapt to unified routing rulesThomas Graf2010-10-291-0/+69
| | | | | | - Use FRA_ definitions - Removed obsoleted fields - Added fwmask and goto support
* Update include/linux header copiesThomas Graf2010-10-2112-244/+432
| | | | | Adapts ratespec code taking into account that the kernel now takes care of overhead calculations.
* Generic Netlink multicast groups supportdima2010-10-141-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | I have a patch against commit d378220c96c3c8b6f27dca33e7d8ba03318f9c2d extending libnl with a facility to receive generic netlink messages sent to multicast groups. Essentially it add one new function genl_ctrl_resolve_grp which prototype looks like this int genl_ctrl_resolve_grp(struct nl_sock *sk, const char *family_name, const char *grp_name) It resolves the family name and the group name to group id. Then the returned id can be used in nl_socket_add_membership to subscribe to multicast messages. Besides that it adds two more functions uint32_t nl_socket_get_peer_groups(struct nl_sock *sk) void nl_socket_set_peer_groups(struct nl_sock *sk, uint32_t groups) allowing to modify the socket peer groups field. So it's possible to multicast messages from the user space using the legacy interface. Looks like there is no way (or I was not able to find one?) to modify the netlink socket destination group from the user space, when the group id is greater then 32.
* - Reworked the classifier interface.Thomas Graf2009-09-021-5/+73
| | | | | | - Added initial ematch support - Added support for the basic classifier - Added support for the cgroup classifier
* Update linux/rtnetlink.h to upstream versionThomas Graf2008-05-261-2/+3
|
* Update local copy of linux/rtnetlink.hThomas Graf2008-03-051-1/+43
|
* [LIBNL]: nfnetlink_log: support NUFLA_GID attributePatrick McHardy2008-02-071-0/+1
| | | | | | | The NUFLA_GID attribute (currently only in net-2.6.25) contains the gid of the sending process for locally generated packets. Signed-off-by: Patrick McHardy <kaber@trash.net>
* [LIBNL]: Add nfnetlink_queue supportPatrick McHardy2008-02-071-0/+94
| | | | Signed-off-by: Patrick McHardy <kaber@trash.net>
* [LIBNL]: Generic netfilter stuffPatrick McHardy2008-02-071-0/+39
| | | | | | Add some generic helper functions for netfilter. Signed-off-by: Patrick McHardy <kaber@trash.net>
* [LIBNL]: Add if_vlan.hPatrick McHardy2008-02-071-0/+61
| | | | | | | vlan support needs VLAN_FLAG_REORDER_HDR, which is not available in older if_vlan.h versions. Add the current version from the kernel. Signed-off-by: Patrick McHardy <kaber@trash.net>
* Link info interface and vlan supportThomas Graf2008-01-081-0/+48
| | | | | Adds an external interface to implement link info types and implements the type vlan.
* Support link operstate and linkmodeThomas Graf2007-12-191-3/+32
|
* Initial importThomas Graf2007-09-1416-0/+2781