Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
net_dropmon.h File Reference
#include <linux/types.h>
#include <linux/netlink.h>

Go to the source code of this file.

Data Structures

struct  net_dm_drop_point
 
struct  net_dm_config_entry
 
struct  net_dm_config_msg
 
struct  net_dm_alert_msg
 
struct  net_dm_user_msg
 

Macros

#define is_drop_point_hw(x)
 
#define NET_DM_CFG_VERSION   0
 
#define NET_DM_CFG_ALERT_COUNT   1
 
#define NET_DM_CFG_ALERT_DELAY   2
 
#define NET_DM_CFG_MAX   3
 
#define NET_DM_CMD_MAX   (_NET_DM_CMD_MAX - 1)
 
#define NET_DM_GRP_ALERT   1
 

Enumerations

enum  {
  NET_DM_CMD_UNSPEC = 0, NET_DM_CMD_ALERT, NET_DM_CMD_CONFIG, NET_DM_CMD_START,
  NET_DM_CMD_STOP, _NET_DM_CMD_MAX
}
 

Macro Definition Documentation

#define is_drop_point_hw (   x)
Value:
do {\
int ____i, ____j;\
for (____i = 0; ____i < 8; i ____i++)\
____j |= x[____i];\
____j;\
} while (0)

Definition at line 12 of file net_dropmon.h.

#define NET_DM_CFG_ALERT_COUNT   1

Definition at line 20 of file net_dropmon.h.

#define NET_DM_CFG_ALERT_DELAY   2

Definition at line 21 of file net_dropmon.h.

#define NET_DM_CFG_MAX   3

Definition at line 22 of file net_dropmon.h.

#define NET_DM_CFG_VERSION   0

Definition at line 19 of file net_dropmon.h.

#define NET_DM_CMD_MAX   (_NET_DM_CMD_MAX - 1)

Definition at line 58 of file net_dropmon.h.

#define NET_DM_GRP_ALERT   1

Definition at line 63 of file net_dropmon.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
NET_DM_CMD_UNSPEC 
NET_DM_CMD_ALERT 
NET_DM_CMD_CONFIG 
NET_DM_CMD_START 
NET_DM_CMD_STOP 
_NET_DM_CMD_MAX 

Definition at line 49 of file net_dropmon.h.