libnl/include/netlink
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
..
cli CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
fib_lookup Rename struct nl_handle to struct nl_sock 2008-05-15 13:26:32 +02: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 Packet Location Interface 2010-07-02 14:06:59 +02:00
.gitignore ignore more temporary files 2008-05-05 17:13:02 +02:00
addr.h Remove obsolete nla_get_addr() and nla_get_data() 2008-05-14 18:26:47 +02:00
attr.h - Reworked the classifier interface. 2009-09-02 18:31:14 +02:00
cache-api.h Rename struct nl_handle to struct nl_sock 2008-05-15 13:26:32 +02:00
cache.h add user data to change_func_t for caches 2010-10-13 13:41:57 +02:00
data.h Remove obsolete nla_get_addr() and nla_get_data() 2008-05-14 18:26:47 +02:00
errno.h Packet Location Interface 2010-07-02 14:06:59 +02:00
handlers.h Declare struct ucred in handlers.h and netlink.h 2009-07-20 11:47:22 +02:00
list.h - Reworked the classifier interface. 2009-09-02 18:31:14 +02:00
msg.h Replace NL_KEEP code with proper message reference counting 2008-10-14 19:26:44 +02:00
netlink-compat.h Initial import 2007-09-15 01:28:01 +02:00
netlink-kernel.h Initial import 2007-09-15 01:28:01 +02:00
netlink.h Fix compile warning in nl.c 2010-07-03 15:15:12 +02:00
object-api.h object: fix attribute comparison 2010-04-19 12:51:24 +02:00
object.h nl_object_priv() is inline, so define it in the header 2009-04-16 12:29:13 +02:00
socket.h Generic Netlink multicast groups support 2010-10-14 13:46:02 +02:00
types.h Remove XML dumping 2008-06-17 03:04:19 +02:00
utils.h Extend nl_time2int() and rename it to nl_str2msec() 2008-06-16 13:54:57 +02:00
version.h.in version.h.in should be in tree not the generated version 2008-04-30 18:52:28 +02:00