Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
nf_conntrack_snmp.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/in.h>
#include <net/netfilter/nf_conntrack.h>
#include <net/netfilter/nf_conntrack_helper.h>
#include <net/netfilter/nf_conntrack_expect.h>

Go to the source code of this file.

Macros

#define SNMP_PORT   161
 

Functions

 MODULE_AUTHOR ("Jiri Olsa <[email protected]>")
 
 MODULE_DESCRIPTION ("SNMP service broadcast connection tracking helper")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_NFCT_HELPER ("snmp")
 
 module_param (timeout, uint, S_IRUSR)
 
 MODULE_PARM_DESC (timeout,"timeout for master connection/replies in seconds")
 
 EXPORT_SYMBOL_GPL (nf_nat_snmp_hook)
 
 module_init (nf_conntrack_snmp_init)
 
 module_exit (nf_conntrack_snmp_fini)
 

Variables

int(* nf_nat_snmp_hook )(struct sk_buff *skb, unsigned int protoff, struct nf_conn *ct, enum ip_conntrack_info ctinfo)
 

Macro Definition Documentation

#define SNMP_PORT   161

Definition at line 20 of file nf_conntrack_snmp.c.

Function Documentation

EXPORT_SYMBOL_GPL ( nf_nat_snmp_hook  )
MODULE_ALIAS_NFCT_HELPER ( "snmp"  )
MODULE_AUTHOR ( "Jiri Olsa <[email protected]>"  )
MODULE_DESCRIPTION ( "SNMP service broadcast connection tracking helper"  )
module_exit ( nf_conntrack_snmp_fini  )
module_init ( nf_conntrack_snmp_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( timeout  ,
uint  ,
S_IRUSR   
)
MODULE_PARM_DESC ( timeout  ,
"timeout for master connection/replies in seconds  
)

Variable Documentation

int(* nf_nat_snmp_hook)(struct sk_buff *skb, unsigned int protoff, struct nf_conn *ct, enum ip_conntrack_info ctinfo)

Definition at line 31 of file nf_conntrack_snmp.c.