No description
Find a file
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
doc CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
etc Packet Location Interface 2010-07-02 14:06:59 +02:00
include Generic Netlink multicast groups support 2010-10-14 13:46:02 +02:00
lib Generic Netlink multicast groups support 2010-10-14 13:46:02 +02:00
m4 Move to automake-based build 2009-06-23 01:24:51 +02:00
src automake: add ${top_builddir}/include to AM_CFLAGS 2010-10-13 14:36:09 +02:00
tests - Reworked the classifier interface. 2009-09-02 18:31:14 +02:00
.gitignore Ignore vim swap files 2010-07-03 15:56:51 +02:00
autogen.sh Move to automake-based build 2009-06-23 01:24:51 +02:00
ChangeLog Pushed to pre8 due to wrong version string in pre7 2007-11-21 18:24:11 +01:00
configure.in libnl: optionally disable cli tools. 2010-10-13 13:10:48 +02:00
COPYING Initial import 2007-09-15 01:28:01 +02:00
libnl-2.0.pc.in Move to automake-based build 2009-06-23 01:24:51 +02:00
Makefile.am libnl: optionally disable cli tools. 2010-10-13 13:10:48 +02:00