libnl/lib
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
..
fib_lookup restructure module documentation order 2008-12-10 18:12:30 +01:00
genl Generic Netlink multicast groups support 2010-10-14 13:46:02 +02:00
netfilter new function nfnl_queue_msg_send_verdict_payload() 2010-03-10 16:02:01 +01:00
route route_obj: don't add empty destination to nlmsg 2010-10-13 15:21:14 +02:00
.gitignore Build separate libraries for each netilnk family 2008-05-15 18:01:50 +02:00
addr.c restructure module documentation order 2008-12-10 18:12:30 +01:00
attr.c Introduce nla_strdup() to help parse strings attributes 2008-06-13 16:40:41 +02:00
cache.c add user data to change_func_t for caches 2010-10-13 13:41:57 +02:00
cache_mngr.c add user data to change_func_t for caches 2010-10-13 13:41:57 +02:00
cache_mngt.c restructure module documentation order 2008-12-10 18:12:30 +01:00
data.c restructure module documentation order 2008-12-10 18:12:30 +01:00
doc.c Documentation update 2008-12-03 19:58:41 +01:00
error.c Packet Location Interface 2010-07-02 14:06:59 +02:00
handlers.c restructure module documentation order 2008-12-10 18:12:30 +01:00
Makefile.am Don't include pktloc_syntax.h in BUILT_SOURCES 2010-10-13 16:50:33 +02:00
msg.c Patch for unexpectedly aligned messages 2009-09-02 18:43:03 +02:00
nl.c Generic Netlink multicast groups support 2010-10-14 13:46:02 +02:00
object.c Fix rule attribute comparison 2010-04-19 12:43:18 +02:00
socket.c Generic Netlink multicast groups support 2010-10-14 13:46:02 +02:00
utils.c Fix compile warning in utils.c 2010-07-03 15:17:04 +02:00