| #ifndef __LINUX_GENERIC_NETLINK_H |
| #define __LINUX_GENERIC_NETLINK_H |
| #include <linux/netlink.h> |
| #define GENL_NAMSIZ 16 /* length of family name */ |
| #define GENL_MIN_ID NLMSG_MIN_TYPE |
| #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) |
| * List of reserved static generic netlink identifiers: |
| #define GENL_ID_GENERATE 0 |
| #define GENL_ID_CTRL NLMSG_MIN_TYPE |
| /************************************************************************** |
| **************************************************************************/ |
| #define CTRL_CMD_MAX (__CTRL_CMD_MAX - 1) |
| #define CTRL_ATTR_MAX (__CTRL_ATTR_MAX - 1) |
| #endif /* __LINUX_GENERIC_NETLINK_H */ |