| #include <linux/netlink.h> |
| struct net_dm_drop_point { |
| #define is_drop_point_hw(x) do {\ |
| for (____i = 0; ____i < 8; i ____i++)\ |
| #define NET_DM_CFG_VERSION 0 |
| #define NET_DM_CFG_ALERT_COUNT 1 |
| #define NET_DM_CFG_ALERT_DELAY 2 |
| struct net_dm_config_entry { |
| __u64 data __attribute__((aligned(8))); |
| struct net_dm_config_msg { |
| struct net_dm_config_entry options[0]; |
| struct net_dm_alert_msg { |
| struct net_dm_drop_point points[0]; |
| struct net_dm_config_msg user; |
| struct net_dm_alert_msg alert; |
| /* These are the netlink message types for this protocol */ |
| #define NET_DM_CMD_MAX (_NET_DM_CMD_MAX - 1) |
| #define NET_DM_GRP_ALERT 1 |