diff options
author | jamal <hadi@cyberus.ca> | 2006-12-07 20:47:03 -0500 |
---|---|---|
committer | Stephen Hemminger <shemminger@osdl.org> | 2006-12-13 17:04:26 -0800 |
commit | 8cd09e61e349e94c9569d3bc33d5785d1f81961c (patch) | |
tree | 1d8127f95c24a2054609a023de6ad83599777604 /genl/genl_utils.h | |
parent | c9fd974bd88213d74fac0ec237c79a81aa8029fc (diff) |
make muticast group to bitmask conversion generic
[utils] make muticast group to bitmask conversion generic
Signed-off-by: J Hadi Salim <hadi@cyberus.ca>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Diffstat (limited to 'genl/genl_utils.h')
-rw-r--r-- | genl/genl_utils.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/genl/genl_utils.h b/genl/genl_utils.h index 22e9210f..85b51830 100644 --- a/genl/genl_utils.h +++ b/genl/genl_utils.h @@ -1,6 +1,7 @@ #ifndef _TC_UTIL_H_ #define _TC_UTIL_H_ 1 +#include "utils.h" #include "linux/genetlink.h" struct genl_util @@ -13,10 +14,4 @@ struct genl_util extern int genl_ctrl_resolve_family(const char *family); -/* seems to have dissapeared from netlink.h */ -static inline __u32 nl_mgrp(__u32 group) -{ - return group ? (1 << (group -1)) : 0; -} - #endif |