#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.
|
| 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) |
|
MODULE_ALIAS |
( |
"ip_conntrack_irc" |
| ) |
|
MODULE_ALIAS_NFCT_HELPER |
( |
"irc" |
| ) |
|
module_exit |
( |
nf_conntrack_irc_fini |
| ) |
|
module_init |
( |
nf_conntrack_irc_init |
| ) |
|
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 |
( |
dcc_timeout |
, |
|
|
"timeout on for unestablished DCC channels" |
|
|
) |
| |