how to send data using generic netlink?
hong zhang
henryzhang62 at yahoo.com
Tue Jul 7 14:42:27 EDT 2009
List,
I want to send data from user space to kernel, generic netlink message does not have place to hold data see below,
struct nl_msg
{
int nm_protocol;
int nm_flags;
struct sockaddr_nl nm_src;
struct sockaddr_nl nm_dst;
struct ucred nm_creds;
struct nlmsghdr * nm_nlh;
size_t nm_size;
int nm_refcnt;
};
Should I use nl_data to do it or any other way?
Thanks.
---henry
More information about the libnl
mailing list