Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
nf_conntrack_irc.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/skbuff.h>
#include <linux/in.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include <linux/netfilter.h>
#include <linux/slab.h>
#include <net/netfilter/nf_conntrack.h>
#include <net/netfilter/nf_conntrack_expect.h>
#include <net/netfilter/nf_conntrack_helper.h>
#include <linux/netfilter/nf_conntrack_irc.h>

Go to the source code of this file.

Macros

#define MAX_PORTS   8
 
#define MINMATCHLEN   5
 

Functions

 EXPORT_SYMBOL_GPL (nf_nat_irc_hook)
 
 MODULE_AUTHOR ("Harald Welte <[email protected]>")
 
 MODULE_DESCRIPTION ("IRC (DCC) connection tracking helper")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("ip_conntrack_irc")
 
 MODULE_ALIAS_NFCT_HELPER ("irc")
 
 module_param_array (ports, ushort,&ports_c, 0400)
 
 MODULE_PARM_DESC (ports,"port numbers of IRC servers")
 
 module_param (max_dcc_channels, uint, 0400)
 
 MODULE_PARM_DESC (max_dcc_channels,"max number of expected DCC channels per ""IRC session")
 
 module_param (dcc_timeout, uint, 0400)
 
 MODULE_PARM_DESC (dcc_timeout,"timeout on for unestablished DCC channels")
 
 module_init (nf_conntrack_irc_init)
 
 module_exit (nf_conntrack_irc_fini)
 

Variables

unsigned int(* nf_nat_irc_hook )(struct sk_buff *skb, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int matchoff, unsigned int matchlen, struct nf_conntrack_expect *exp) __read_mostly
 

Macro Definition Documentation

#define MAX_PORTS   8

Definition at line 25 of file nf_conntrack_irc.c.

#define MINMATCHLEN   5

Definition at line 60 of file nf_conntrack_irc.c.

Function Documentation

EXPORT_SYMBOL_GPL ( nf_nat_irc_hook  )
MODULE_ALIAS ( "ip_conntrack_irc"  )
MODULE_ALIAS_NFCT_HELPER ( "irc"  )
MODULE_AUTHOR ( "Harald Welte <[email protected]>"  )
MODULE_DESCRIPTION ( "IRC (DCC) connection tracking helper"  )
module_exit ( nf_conntrack_irc_fini  )
module_init ( nf_conntrack_irc_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( max_dcc_channels  ,
uint  ,
0400   
)
module_param ( dcc_timeout  ,
uint  ,
0400   
)
module_param_array ( ports  ,
ushort  ,
ports_c,
0400   
)
MODULE_PARM_DESC ( ports  ,
"port numbers of IRC servers"   
)
MODULE_PARM_DESC ( max_dcc_channels  ,
"max number of expected DCC channels per ""IRC session"   
)
MODULE_PARM_DESC ( dcc_timeout  ,
"timeout on for unestablished DCC channels  
)

Variable Documentation

unsigned int(* nf_nat_irc_hook)(struct sk_buff *skb, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int matchoff, unsigned int matchlen, struct nf_conntrack_expect *exp) __read_mostly

Definition at line 34 of file nf_conntrack_irc.c.