diff options
author | Arend van Spriel <aspriel@gmail.com> | 2015-05-10 10:20:06 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-05-12 11:26:15 (GMT) |
commit | ff6467135e39f9a50bfff787098ff3f51e1d1662 (patch) | |
tree | 59b5b0e58032c2b33123aa15a314250e02337c6f /python | |
parent | a4a75227df4edd5ed7e16db52cc3abf24c29eeb4 (diff) | |
download | libnl-ff6467135e39f9a50bfff787098ff3f51e1d1662.zip libnl-ff6467135e39f9a50bfff787098ff3f51e1d1662.tar.gz libnl-ff6467135e39f9a50bfff787098ff3f51e1d1662.tar.bz2 |
python: capi: expose multicast membership functions
Adding functions to add/drop membership to single multicast group.
Signed-off-by: Arend van Spriel <aspriel@gmail.com>
Diffstat (limited to 'python')
-rw-r--r-- | python/netlink/capi.i | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/netlink/capi.i b/python/netlink/capi.i index e208ec4..f59effa 100644 --- a/python/netlink/capi.i +++ b/python/netlink/capi.i @@ -187,6 +187,9 @@ extern void nl_socket_set_peer_groups(struct nl_sock *sk, uint32_t groups); extern int nl_socket_set_buffer_size(struct nl_sock *, int, int); extern void nl_socket_set_cb(struct nl_sock *, struct nl_cb *); +extern int nl_socket_add_membership(struct nl_sock *, int); +extern int nl_socket_drop_membership(struct nl_sock *, int); + extern int nl_send_auto_complete(struct nl_sock *, struct nl_msg *); extern int nl_recvmsgs(struct nl_sock *, struct nl_cb *); |