Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
drop_monitor.c File Reference
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/string.h>
#include <linux/if_arp.h>
#include <linux/inetdevice.h>
#include <linux/inet.h>
#include <linux/interrupt.h>
#include <linux/netpoll.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/types.h>
#include <linux/workqueue.h>
#include <linux/netlink.h>
#include <linux/net_dropmon.h>
#include <linux/percpu.h>
#include <linux/timer.h>
#include <linux/bitops.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <net/genetlink.h>
#include <net/netevent.h>
#include <trace/events/skb.h>
#include <trace/events/napi.h>
#include <asm/unaligned.h>

Go to the source code of this file.

Data Structures

struct  per_cpu_dm_data
 
struct  dm_hw_stat_delta
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define TRACE_ON   1
 
#define TRACE_OFF   0
 

Functions

 module_init (init_net_drop_monitor)
 
 module_exit (exit_net_drop_monitor)
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_AUTHOR ("Neil Horman <[email protected]>")
 
 MODULE_ALIAS_GENL_FAMILY ("NET_DM")
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 7 of file drop_monitor.c.

#define TRACE_OFF   0

Definition at line 37 of file drop_monitor.c.

#define TRACE_ON   1

Definition at line 36 of file drop_monitor.c.

Function Documentation

MODULE_ALIAS_GENL_FAMILY ( "NET_DM"  )
MODULE_AUTHOR ( "Neil Horman <[email protected]>"  )
module_exit ( exit_net_drop_monitor  )
module_init ( init_net_drop_monitor  )
MODULE_LICENSE ( "GPL v2 )