netlink-socket: add support for nl_lookup_genl_mcgroup()
authorNithin Raju <nithin@vmware.com>
Wed, 27 Aug 2014 03:17:03 +0000 (20:17 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 27 Aug 2014 15:08:28 +0000 (08:08 -0700)
commit4c484aca0d54cf6fe60225cf7616491e953de20f
tree8c79ab3f18f8b19b836da7d49c560a5c7b419516
parentbbb5e7e2b6c356b0be83ce0e80739b7e56fb3612
netlink-socket: add support for nl_lookup_genl_mcgroup()

While we work out whether nl_sock_join_mcgroup() will be the mechanism
to support VPORT events, it is easy to add support for
nl_lookup_genl_mcgroup() and make progress on the other commands.

In this patch, we implement support for nl_lookup_genl_mcgroup() only
for the VPORT family though, which is all what dpif-linux.c needs.

Validation:
- A ported dpif-linux.c with epoll code commented out went so far as
to call dp_enumerate! DP Dump commands can be implemented next.

Signed-off-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/netlink-socket.c