Files
openflow/datapath/linux-2.6/compat-2.6/genetlink.c
T
2008-03-04 13:12:53 -08:00

16 lines
284 B
C

#include "net/genetlink.h"
#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
int genl_register_mc_group(struct genl_family *family,
struct genl_multicast_group *grp)
{
grp->id = 1;
grp->family = family;
return 0;
}
#endif /* kernel < 2.6.23 */