Home
last modified time | relevance | path

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

/Linux-v5.4/net/netfilter/
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()
Dnf_conntrack_sane.c43 static unsigned int ports_c; variable
44 module_param_array(ports, ushort, &ports_c, 0400);
177 nf_conntrack_helpers_unregister(sane, ports_c * 2); in nf_conntrack_sane_fini()
191 if (ports_c == 0) in nf_conntrack_sane_init()
192 ports[ports_c++] = SANE_PORT; in nf_conntrack_sane_init()
196 for (i = 0; i < ports_c; i++) { in nf_conntrack_sane_init()
207 ret = nf_conntrack_helpers_register(sane, ports_c * 2); in nf_conntrack_sane_init()
Dnf_conntrack_irc.c26 static unsigned int ports_c; variable
49 module_param_array(ports, ushort, &ports_c, 0400);
256 if (ports_c == 0) in nf_conntrack_irc_init()
257 ports[ports_c++] = IRC_PORT; in nf_conntrack_irc_init()
259 for (i = 0; i < ports_c; i++) { in nf_conntrack_irc_init()
265 ret = nf_conntrack_helpers_register(&irc[0], ports_c); in nf_conntrack_irc_init()
277 nf_conntrack_helpers_unregister(irc, ports_c); in nf_conntrack_irc_fini()
Dnf_conntrack_ftp.c44 static unsigned int ports_c; variable
45 module_param_array(ports, ushort, &ports_c, 0400);
570 nf_conntrack_helpers_unregister(ftp, ports_c * 2); in nf_conntrack_ftp_fini()
584 if (ports_c == 0) in nf_conntrack_ftp_init()
585 ports[ports_c++] = FTP_PORT; in nf_conntrack_ftp_init()
589 for (i = 0; i < ports_c; i++) { in nf_conntrack_ftp_init()
600 ret = nf_conntrack_helpers_register(ftp, ports_c * 2); in nf_conntrack_ftp_init()
Dnf_conntrack_sip.c40 static unsigned int ports_c; variable
41 module_param_array(ports, ushort, &ports_c, 0400);
1662 nf_conntrack_helpers_unregister(sip, ports_c * 4); in nf_conntrack_sip_fini()
1671 if (ports_c == 0) in nf_conntrack_sip_init()
1672 ports[ports_c++] = SIP_PORT; in nf_conntrack_sip_init()
1674 for (i = 0; i < ports_c; i++) { in nf_conntrack_sip_init()
1693 ret = nf_conntrack_helpers_register(sip, ports_c * 4); in nf_conntrack_sip_init()