int nl_sock_drain(struct nl_sock *);
void nl_sock_wait(const struct nl_sock *, short int events);
+short int nl_sock_woke(const struct nl_sock *);
+
+uint32_t nl_sock_pid(const struct nl_sock *);
/* Table dumping. */
struct nl_dump {
/* Miscellaneous */
int nl_lookup_genl_family(const char *name, int *number);
+int nl_lookup_genl_mcgroup(const char *family_name, const char *group_name,
+ unsigned int *multicast_group,
+ unsigned int fallback);
#endif /* netlink-socket.h */