Home
last modified time | relevance | path

Searched refs:ports_c (Results 1 – 5 of 5) sorted by relevance

/linux/net/netfilter/
H A Dnf_conntrack_tftp.c31 static unsigned int ports_c; variable
32 module_param_array(ports, ushort, &ports_c, 0400);
109 nf_conntrack_helpers_unregister(tftp, ports_c * 2); in nf_conntrack_tftp_fini()
118 if (ports_c == 0) in nf_conntrack_tftp_init()
119 ports[ports_c++] = TFTP_PORT; in nf_conntrack_tftp_init()
121 for (i = 0; i < ports_c; i++) { in nf_conntrack_tftp_init()
132 ret = nf_conntrack_helpers_register(tftp, ports_c * 2); in nf_conntrack_tftp_init()
H A Dnf_conntrack_sane.c39 static unsigned int ports_c; variable
40 module_param_array(ports, ushort, &ports_c, 0400);
178 nf_conntrack_helpers_unregister(sane, ports_c * 2); in nf_conntrack_sane_fini()
187 if (ports_c == 0) in nf_conntrack_sane_init()
188 ports[ports_c++] = SANE_PORT; in nf_conntrack_sane_init()
192 for (i = 0; i < ports_c; i++) { in nf_conntrack_sane_init()
203 ret = nf_conntrack_helpers_register(sane, ports_c * 2); in nf_conntrack_sane_init()
H A Dnf_conntrack_irc.c26 static unsigned int ports_c; variable
50 module_param_array(ports, ushort, &ports_c, 0400);
288 if (ports_c == 0) in nf_conntrack_irc_init()
289 ports[ports_c++] = IRC_PORT; in nf_conntrack_irc_init()
291 for (i = 0; i < ports_c; i++) { in nf_conntrack_irc_init()
297 ret = nf_conntrack_helpers_register(&irc[0], ports_c); in nf_conntrack_irc_init()
309 nf_conntrack_helpers_unregister(irc, ports_c); in nf_conntrack_irc_fini()
H A Dnf_conntrack_ftp.c40 static unsigned int ports_c; variable
41 module_param_array(ports, ushort, &ports_c, 0400);
569 nf_conntrack_helpers_unregister(ftp, ports_c * 2); in nf_conntrack_ftp_fini()
578 if (ports_c == 0) in nf_conntrack_ftp_init()
579 ports[ports_c++] = FTP_PORT; in nf_conntrack_ftp_init()
583 for (i = 0; i < ports_c; i++) { in nf_conntrack_ftp_init()
594 ret = nf_conntrack_helpers_register(ftp, ports_c * 2); in nf_conntrack_ftp_init()
H A Dnf_conntrack_sip.c40 static unsigned int ports_c; variable
41 module_param_array(ports, ushort, &ports_c, 0400);
1667 nf_conntrack_helpers_unregister(sip, ports_c * 4); in nf_conntrack_sip_fini()
1676 if (ports_c == 0) in nf_conntrack_sip_init()
1677 ports[ports_c++] = SIP_PORT; in nf_conntrack_sip_init()
1679 for (i = 0; i < ports_c; i++) { in nf_conntrack_sip_init()
1698 ret = nf_conntrack_helpers_register(sip, ports_c * 4); in nf_conntrack_sip_init()