Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ip_vs_ftp.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/skbuff.h>
#include <linux/in.h>
#include <linux/ip.h>
#include <linux/netfilter.h>
#include <net/netfilter/nf_conntrack.h>
#include <net/netfilter/nf_conntrack_expect.h>
#include <net/netfilter/nf_nat.h>
#include <net/netfilter/nf_nat_helper.h>
#include <linux/gfp.h>
#include <net/protocol.h>
#include <net/tcp.h>
#include <asm/unaligned.h>
#include <net/ip_vs.h>

Go to the source code of this file.

Macros

#define KMSG_COMPONENT   "IPVS"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 
#define SERVER_STRING   "227 "
 
#define CLIENT_STRING   "PORT"
 

Functions

 module_param_array (ports, ushort,&ports_count, 0444)
 
 MODULE_PARM_DESC (ports,"Ports to monitor for FTP control commands")
 
 module_init (ip_vs_ftp_init)
 
 module_exit (ip_vs_ftp_exit)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define CLIENT_STRING   "PORT"

Definition at line 48 of file ip_vs_ftp.c.

#define KMSG_COMPONENT   "IPVS"

Definition at line 25 of file ip_vs_ftp.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 26 of file ip_vs_ftp.c.

#define SERVER_STRING   "227 "

Definition at line 47 of file ip_vs_ftp.c.

Function Documentation

module_exit ( ip_vs_ftp_exit  )
module_init ( ip_vs_ftp_init  )
MODULE_LICENSE ( "GPL"  )
module_param_array ( ports  ,
ushort  ,
ports_count,
0444   
)
MODULE_PARM_DESC ( ports  ,
"Ports to monitor for FTP control commands  
)