dect
/
libnl
Archived
13
0
Fork 0
Commit Graph

53 Commits

Author SHA1 Message Date
Patrick McHardy d2b5cbd88a Merge git://git.infradead.org/users/tgr/libnl
Signed-off-by: Patrick McHardy <kaber@trash.net>

Conflicts:
	include/linux/netlink.h
	lib/Makefile.am
	lib/error.c
	libnl-3.0.pc.in
	src/Makefile.am
2013-04-01 11:44:59 +02:00
Thomas Graf fd19dae352 bridge: Support the new bridging attributes
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>
2013-02-07 11:39:27 +01:00
Flavio Leitner 3540e44b15 link: add carrier support
Signed-off-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2013-01-11 13:44:47 +01:00
Rich Fought 25c407c71f Re-adding #defines for __aligned_be64 for older kernels 2012-12-13 14:23:28 -08:00
Thomas Graf 7c85b8a53b netfilter: update local header files
Needed to NF_CT_EXPECT_PERMANENT etc.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
2012-12-11 18:06:29 +01:00
Thomas Graf 913a689de3 can: provide local copy of <linux/can/netlink.h>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2012-12-11 17:59:30 +01:00
Thomas Graf 609b47961b Merge branch 'master' of https://github.com/rmfought/libnl 2012-10-26 12:48:22 +02:00
Rich Fought 2d707513c6 Updated nfnetlink includes; removed ifdefs; added delete exp program 2012-10-16 12:13:33 -07:00
Thomas Graf 6ac07179e5 link: Support IFLA_PROMISCUITY link attribute
* read-only attribute
 * dumped in details sections "promisc-mode (N users)"

Signed-off-by: Thomas Graf <tgraf@redhat.com>
2012-10-09 18:15:50 +02:00
Shriram Rajagopalan a17970b974 Support plug qdisc - queue traffic until explicit release
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>
2012-02-14 12:02:04 +01:00
Patrick McHardy 94cd080452 dect: transceiver: resync kernel header for P64 definitions
Signed-off-by: Patrick McHardy <kaber@trash.net>
2012-02-09 20:41:07 +01:00
Patrick McHardy c2fdebea42 libnl: resync netlink.h with kernel
Signed-off-by: Patrick McHardy <kaber@trash.net>
2012-02-09 20:37:20 +01:00
Thomas Graf 21d52eabba Support for NLM_F_INTR
Check if a dump was interrupted and needs to be redone
2011-07-14 10:51:49 +02:00
Patrick McHardy 4cec8d361c packet 2011-07-06 04:39:35 +02:00
Patrick McHardy 68915b1292 dect: add support for MBC statistics
Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-06-18 06:04:58 +02:00
Patrick McHardy 450d03b24b headers: resync netlink.h
Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-06-18 06:04:51 +02:00
Thomas Graf 053c93fa8a Update local copies of include/linux 2011-06-09 12:56:52 +02:00
Patrick McHardy 29abe5d86f dect: support transceiver features attribute
Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-04-12 02:54:23 +02:00
Erik Tews 3c6622aeb8 dect: llme: implemented setting the multiframe number
Patch from Eric: "Implemented setting the multiframe number using
nl_dect_llme_mac_info_set_mfn".

Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-03-19 02:26:40 +01:00
Patrick McHardy 2a591b7b2b Merge 192.168.0.100:/repos/git/libnl
Conflicts:
	include/netlink-types.h
	lib/Makefile.am
	src/.gitignore
	src/Makefile.am

Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-03-19 00:47:14 +01:00
Thomas Graf 82fe785820 use linux/netlink.h instead of netlink/netlink-kernel.h 2011-03-16 12:53:14 +01:00
Thomas Graf 5644578190 Tons of documentation 2010-11-27 10:18:07 +01:00
Thomas Graf 53015f8381 link: AF_INET link module
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.
2010-11-16 12:41:43 +01:00
Thomas Graf 2e3ca4db0c link: Support for IFLA_AF_SPEC
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.
2010-11-13 01:38:13 +01:00
Thomas Graf 407e9eb05d Add local copies of linux/ipv6.h and linux/snmp.h 2010-11-11 22:36:48 +01:00
Thomas Graf 8970c5cde6 link: Support IFLA_IFALIAS attribute
- 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
2010-11-11 13:57:10 +01:00
Thomas Graf 7903d6ab4b Support for meta match
Syntax:
	meta(pktlen > 768)
2010-10-31 23:13:01 +01:00
Thomas Graf f703192a4f routing rules: adapt to unified routing rules
- Use FRA_ definitions
- Removed obsoleted fields
- Added fwmask and goto support
2010-10-29 12:48:46 +02:00
Thomas Graf b9d965b01b Update include/linux header copies
Adapts ratespec code taking into account that the kernel now takes
care of overhead calculations.
2010-10-21 19:47:14 +02:00
Patrick McHardy ac50c84f8c Merge branch 'master' of /repos/git/libnl
Conflicts:
	lib/Makefile.am
	src/Makefile.am

Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-10-15 04:16:08 +02:00
dima 2dbc1ca76c Generic Netlink multicast groups support
I have a patch against commit d378220c96
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.
2010-10-14 13:46:02 +02:00
Patrick McHardy 2dc8bc1921 dect: show Z-CRC errors in transceiver statistics
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-10 16:49:00 +02:00
Patrick McHardy edaf9cac24 dect: support monitor mode
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-19 18:41:56 +02:00
Patrick McHardy a9886abe70 dect: rename DECT_HLC_ACCESS_RIGHT_REQUESTS to DECT_HLC_ACCESS_RIGHTS_REQUESTS
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-04 22:48:23 +02:00
Patrick McHardy 44fde8fcbb dect: adapt capability handling to latest kernel changes
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-03-08 04:02:53 +01:00
Patrick McHardy accc75c463 libnl: dect: add cell slave mode support
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-04 11:04:51 +01:00
Patrick McHardy 71f3690295 libnl: dect: add DECT_SLOT_SYNC flag
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-04 09:57:22 +01:00
Patrick McHardy f5b6c85296 dect: support DECTA_SLOT_FLAGS attribute
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-11-26 03:21:30 +01:00
Patrick McHardy c335c58b68 dect: add X-crc statistic
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-11-26 03:21:28 +01:00
Patrick McHardy 9a8cbfdf5a Merge branch 'master' of x2:/repos/git/libnl
Conflicts:

	include/Makefile
	lib/Makefile
	src/Makefile

Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-11-12 13:36:05 +01:00
Thomas Graf ef858fb492 - Reworked the classifier interface.
- Added initial ematch support
- Added support for the basic classifier
- Added support for the cgroup classifier
2009-09-02 18:31:14 +02:00
Patrick McHardy d9cf87a0bc dect: add crc error statistic
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-07-18 08:00:12 +02:00
Patrick McHardy 598dcf6c52 dect: resync netlink API with phase offset changes and display offset of each slot
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-10 15:10:12 +02:00
Patrick McHardy be93d3d46c libnl: import DECT support
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-06 18:55:44 +02:00
Thomas Graf b145f63312 Update linux/rtnetlink.h to upstream version 2008-05-26 15:10:36 +02:00
Thomas Graf 639b66b1f6 Update local copy of linux/rtnetlink.h 2008-03-05 11:31:41 +01:00
Patrick McHardy 3f48e49102 [LIBNL]: nfnetlink_log: support NUFLA_GID attribute
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>
2008-02-07 13:02:41 +01:00
Patrick McHardy e72cb033f2 [LIBNL]: Add nfnetlink_queue support
Signed-off-by: Patrick McHardy <kaber@trash.net>
2008-02-07 12:57:53 +01:00
Patrick McHardy 665b757809 [LIBNL]: Generic netfilter stuff
Add some generic helper functions for netfilter.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2008-02-07 12:53:03 +01:00
Patrick McHardy e91bb2ffb0 [LIBNL]: Add if_vlan.h
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>
2008-02-07 12:49:19 +01:00