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

Go to the source code of this file.

Data Structures

struct  ftp_search
 

Macros

#define MAX_PORTS   8
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Rusty Russell <[email protected]>")
 
 MODULE_DESCRIPTION ("ftp connection tracking helper")
 
 MODULE_ALIAS ("ip_conntrack_ftp")
 
 MODULE_ALIAS_NFCT_HELPER ("ftp")
 
 module_param_array (ports, ushort,&ports_c, 0400)
 
 module_param (loose, bool, 0600)
 
 EXPORT_SYMBOL_GPL (nf_nat_ftp_hook)
 
 module_init (nf_conntrack_ftp_init)
 
 module_exit (nf_conntrack_ftp_fini)
 

Variables

unsigned int(* nf_nat_ftp_hook )(struct sk_buff *skb, enum ip_conntrack_info ctinfo, enum nf_ct_ftp_type type, unsigned int protoff, unsigned int matchoff, unsigned int matchlen, struct nf_conntrack_expect *exp)
 

Macro Definition Documentation

#define MAX_PORTS   8

Definition at line 40 of file nf_conntrack_ftp.c.

Function Documentation

EXPORT_SYMBOL_GPL ( nf_nat_ftp_hook  )
MODULE_ALIAS ( "ip_conntrack_ftp"  )
MODULE_ALIAS_NFCT_HELPER ( "ftp"  )
MODULE_AUTHOR ( "Rusty Russell <[email protected]>"  )
MODULE_DESCRIPTION ( "ftp connection tracking helper"  )
module_exit ( nf_conntrack_ftp_fini  )
module_init ( nf_conntrack_ftp_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( loose  ,
bool  ,
0600   
)
module_param_array ( ports  ,
ushort  ,
ports_c,
0400   
)

Variable Documentation

unsigned int(* nf_nat_ftp_hook)(struct sk_buff *skb, enum ip_conntrack_info ctinfo, enum nf_ct_ftp_type type, unsigned int protoff, unsigned int matchoff, unsigned int matchlen, struct nf_conntrack_expect *exp)

Definition at line 48 of file nf_conntrack_ftp.c.