···29static DEFINE_SPINLOCK(ip_ftp_lock);3031#define MAX_PORTS 832-static int ports[MAX_PORTS];33static int ports_c;34-module_param_array(ports, int, &ports_c, 0400);3536static int loose;37module_param(loose, int, 0600);···450}451452static struct ip_conntrack_helper ftp[MAX_PORTS];453-static char ftp_names[MAX_PORTS][10];454455/* Not __exit: called from init() */456static void fini(void)
···29static DEFINE_SPINLOCK(ip_ftp_lock);3031#define MAX_PORTS 832+static short ports[MAX_PORTS];33static int ports_c;34+module_param_array(ports, short, &ports_c, 0400);3536static int loose;37module_param(loose, int, 0600);···450}451452static struct ip_conntrack_helper ftp[MAX_PORTS];453+static char ftp_names[MAX_PORTS][sizeof("ftp-65535")];454455/* Not __exit: called from init() */456static void fini(void)
+3-3
net/ipv4/netfilter/ip_conntrack_irc.c
···34#include <linux/moduleparam.h>3536#define MAX_PORTS 837-static int ports[MAX_PORTS];38static int ports_c;39static int max_dcc_channels = 8;40static unsigned int dcc_timeout = 300;···52MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>");53MODULE_DESCRIPTION("IRC (DCC) connection tracking helper");54MODULE_LICENSE("GPL");55-module_param_array(ports, int, &ports_c, 0400);56MODULE_PARM_DESC(ports, "port numbers of IRC servers");57module_param(max_dcc_channels, int, 0400);58MODULE_PARM_DESC(max_dcc_channels, "max number of expected DCC channels per IRC session");···240}241242static struct ip_conntrack_helper irc_helpers[MAX_PORTS];243-static char irc_names[MAX_PORTS][10];244245static void fini(void);246
···34#include <linux/moduleparam.h>3536#define MAX_PORTS 837+static short ports[MAX_PORTS];38static int ports_c;39static int max_dcc_channels = 8;40static unsigned int dcc_timeout = 300;···52MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>");53MODULE_DESCRIPTION("IRC (DCC) connection tracking helper");54MODULE_LICENSE("GPL");55+module_param_array(ports, short, &ports_c, 0400);56MODULE_PARM_DESC(ports, "port numbers of IRC servers");57module_param(max_dcc_channels, int, 0400);58MODULE_PARM_DESC(max_dcc_channels, "max number of expected DCC channels per IRC session");···240}241242static struct ip_conntrack_helper irc_helpers[MAX_PORTS];243+static char irc_names[MAX_PORTS][sizeof("irc-65535")];244245static void fini(void);246