1 #include "net/genetlink.h"
3 #include <linux/version.h>
4 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
6 /* We fix grp->id to 32 so that it doesn't collide with any of the multicast
7 * groups selected by openvswitch_mod, which uses groups 16 through 31.
8 * Collision isn't fatal--multicast listeners should check that the family is
9 * the one that they want and discard others--but it wastes time and memory to
10 * receive unwanted messages. */
11 int genl_register_mc_group(struct genl_family *family,
12 struct genl_multicast_group *grp)
20 #endif /* kernel < 2.6.23 */