Searched refs:ports (Results 1 - 25 of 131) sorted by relevance

123456

/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/netfilter_ipv4/
H A Dipt_mport.h12 /* every entry in ports[] except for the last one has one bit in pflags
16 * If 14 ports are used (last one does not have a pflag), the last port
17 * is repeated to fill the last entry in ports[] */
22 u_int16_t ports[IPT_MULTI_PORTS]; /* Ports */ member in struct:ipt_mport
H A Dipt_multiport.h18 u_int8_t count; /* Number of ports */
19 u_int16_t ports[IPT_MULTI_PORTS]; /* Ports */ member in struct:ipt_multiport
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/netfilter_ipv6/
H A Dip6t_multiport.h18 u_int8_t count; /* Number of ports */
19 u_int16_t ports[IP6T_MULTI_PORTS]; /* Ports */ member in struct:ip6t_multiport
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/netfilter_ipv4/
H A Dipt_mport.h12 /* every entry in ports[] except for the last one has one bit in pflags
16 * If 14 ports are used (last one does not have a pflag), the last port
17 * is repeated to fill the last entry in ports[] */
22 u_int16_t ports[IPT_MULTI_PORTS]; /* Ports */ member in struct:ipt_mport
H A Dipt_multiport.h18 u_int8_t count; /* Number of ports */
19 u_int16_t ports[IPT_MULTI_PORTS]; /* Ports */ member in struct:ipt_multiport
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/netfilter_ipv6/
H A Dip6t_multiport.h18 u_int8_t count; /* Number of ports */
19 u_int16_t ports[IP6T_MULTI_PORTS]; /* Ports */ member in struct:ip6t_multiport
/asus-wl-520gu-7.0.1.45/src/tools/upnp/igd/
H A Dmapmgr.c40 static map_set_t ports; variable
49 memset(&ports, 0, sizeof(ports));
54 if (m.match.dst.ports[0] == m.match.dst.ports[1]) {
55 FD_SET(i, &ports.map);
56 ports.count++;
96 if (!FD_ISSET(i, &ports.map) && !FD_ISSET(i, &ranges.map) ) {
137 return mapmgr_get_map(&ports, n, m);
147 if ((success = mapmgr_add_map(&ports,
[all...]
H A Dipt.c68 printf("wan ports:\t%ld - ",
69 (unsigned long)ntohs(nat_current->match.dst.ports[0]));
71 (unsigned long)ntohs(nat_current->match.dst.ports[1]));
74 printf("lan ports:\t%ld - ",
75 (unsigned long)ntohs(nat_current->ports[0]) );
77 (unsigned long)ntohs(nat_current->ports[1]));
95 if (e1->ports[1] < e2->ports[0])
97 if (e1->ports[0] > e2->ports[
[all...]
/asus-wl-520gu-7.0.1.45/src/router/rc/
H A Dfirewall.c49 filter.match.src.ports[1] = nat->match.src.ports[1];
52 filter.match.dst.ports[0] = nat->ports[0];
53 filter.match.dst.ports[1] = nat->ports[1];
232 filter.match.src.ports[1] = htons(0xffff);
233 filter.match.dst.ports[0] = filter.match.dst.ports[1] = htons(80);
240 filter.match.src.ports[
[all...]
/asus-wl-520gu-7.0.1.45/src/router/rc.orig/
H A Dfirewall.c49 filter.match.src.ports[1] = nat->match.src.ports[1];
52 filter.match.dst.ports[0] = nat->ports[0];
53 filter.match.dst.ports[1] = nat->ports[1];
232 filter.match.src.ports[1] = htons(0xffff);
233 filter.match.dst.ports[0] = filter.match.dst.ports[1] = htons(80);
240 filter.match.src.ports[
[all...]
/asus-wl-520gu-7.0.1.45/src/router/netconf/
H A Dmain.c68 if (fw->match.ipproto && valid_ports(fw->match.src.ports[0], fw->match.src.ports[1])) {
71 ntohs(fw->match.src.ports[0]));
72 if (fw->match.src.ports[1] != fw->match.src.ports[0])
73 printf("-%d", ntohs(fw->match.src.ports[1]));
87 if (fw->match.ipproto && valid_ports(fw->match.dst.ports[0], fw->match.dst.ports[1] != 0xffff)) {
90 ntohs(fw->match.dst.ports[0]));
91 if (fw->match.dst.ports[
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/
H A Dip_conntrack_tftp.c24 static int ports[MAX_PORTS]; variable
27 MODULE_PARM(ports, "1-" __MODULE_STRING(MAX_PORTS) "i");
28 MODULE_PARM_DESC(ports, "port numbers of tftp servers");
77 ports[i]);
87 if (!ports[0])
88 ports[0]=TFTP_PORT;
90 for (i = 0 ; (i < MAX_PORTS) && ports[i] ; i++) {
95 tftp[i].tuple.src.u.udp.port = htons(ports[i]);
105 if (ports[i] == TFTP_PORT)
111 DEBUGP("port #%d: %d\n", i, ports[
[all...]
H A Dip_conntrack_irc.c13 * insmod ip_conntrack_irc.o ports=port1,port2,...port<MAX_PORTS>
16 * please give the ports of all IRC servers You wish to connect to.
17 * If You don't specify ports, the default will be port 6667.
37 static int ports[MAX_PORTS]; variable
46 MODULE_PARM(ports, "1-" __MODULE_STRING(MAX_PORTS) "i");
47 MODULE_PARM_DESC(ports, "port numbers of IRC servers");
250 if (ports[0] == 0)
251 ports[0] = IRC_PORT;
253 for (i = 0; (i < MAX_PORTS) && ports[i]; i++) {
257 hlpr->tuple.src.u.tcp.port = htons(ports[
[all...]
H A Dip_conntrack_mms.c13 * insmod ip_conntrack_mms.o ports=port1,port2,...port<MAX_PORTS>
15 * Please give the ports of all MMS servers You wish to connect to.
16 * If you don't specify ports, the default will be TCP port 1755.
42 static int ports[MAX_PORTS]; variable
45 MODULE_PARM(ports, "1-" __MODULE_STRING(MAX_PORTS) "i");
244 for (i = 0; (i < MAX_PORTS) && ports[i]; i++) {
246 ports[i]);
256 if (ports[0] == 0)
257 ports[0] = MMS_PORT;
259 for (i = 0; (i < MAX_PORTS) && ports[
[all...]
H A Dip_nat_irc.c13 * insmod ip_nat_irc.o ports=port1,port2,...port<MAX_PORTS>
15 * please give the ports of all IRC servers You wish to connect to.
16 * If You don't specify ports, the default will be port 6667
34 static int ports[MAX_PORTS]; variable
41 MODULE_PARM(ports, "1-" __MODULE_STRING(MAX_PORTS) "i");
42 MODULE_PARM_DESC(ports, "port numbers of IRC servers");
223 ports[i]);
235 if (ports[0] == 0) {
236 ports[0] = IRC_PORT;
239 for (i = 0; (i < MAX_PORTS) && ports[
[all...]
H A Dip_nat_tftp.c38 static int ports[MAX_PORTS]; variable
41 MODULE_PARM(ports,"1-" __MODULE_STRING(MAX_PORTS) "i");
42 MODULE_PARM_DESC(ports, "port numbers of tftp servers");
138 DEBUGP("unregistering helper for port %d\n", ports[i]);
148 if (!ports[0])
149 ports[0] = TFTP_PORT;
151 for (i = 0 ; (i < MAX_PORTS) && ports[i] ; i++) {
155 tftp[i].tuple.src.u.udp.port = htons(ports[i]);
164 if (ports[i] == TFTP_PORT)
171 ports[
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter.noQoS/
H A Dip_conntrack_tftp.c24 static int ports[MAX_PORTS]; variable
27 MODULE_PARM(ports, "1-" __MODULE_STRING(MAX_PORTS) "i");
28 MODULE_PARM_DESC(ports, "port numbers of tftp servers");
77 ports[i]);
87 if (!ports[0])
88 ports[0]=TFTP_PORT;
90 for (i = 0 ; (i < MAX_PORTS) && ports[i] ; i++) {
95 tftp[i].tuple.src.u.udp.port = htons(ports[i]);
105 if (ports[i] == TFTP_PORT)
111 DEBUGP("port #%d: %d\n", i, ports[
[all...]
H A Dip_conntrack_irc.c13 * insmod ip_conntrack_irc.o ports=port1,port2,...port<MAX_PORTS>
16 * please give the ports of all IRC servers You wish to connect to.
17 * If You don't specify ports, the default will be port 6667.
37 static int ports[MAX_PORTS]; variable
46 MODULE_PARM(ports, "1-" __MODULE_STRING(MAX_PORTS) "i");
47 MODULE_PARM_DESC(ports, "port numbers of IRC servers");
250 if (ports[0] == 0)
251 ports[0] = IRC_PORT;
253 for (i = 0; (i < MAX_PORTS) && ports[i]; i++) {
257 hlpr->tuple.src.u.tcp.port = htons(ports[
[all...]
H A Dip_conntrack_mms.c13 * insmod ip_conntrack_mms.o ports=port1,port2,...port<MAX_PORTS>
15 * Please give the ports of all MMS servers You wish to connect to.
16 * If you don't specify ports, the default will be TCP port 1755.
42 static int ports[MAX_PORTS]; variable
45 MODULE_PARM(ports, "1-" __MODULE_STRING(MAX_PORTS) "i");
244 for (i = 0; (i < MAX_PORTS) && ports[i]; i++) {
246 ports[i]);
256 if (ports[0] == 0)
257 ports[0] = MMS_PORT;
259 for (i = 0; (i < MAX_PORTS) && ports[
[all...]
H A Dip_nat_irc.c13 * insmod ip_nat_irc.o ports=port1,port2,...port<MAX_PORTS>
15 * please give the ports of all IRC servers You wish to connect to.
16 * If You don't specify ports, the default will be port 6667
34 static int ports[MAX_PORTS]; variable
41 MODULE_PARM(ports, "1-" __MODULE_STRING(MAX_PORTS) "i");
42 MODULE_PARM_DESC(ports, "port numbers of IRC servers");
223 ports[i]);
235 if (ports[0] == 0) {
236 ports[0] = IRC_PORT;
239 for (i = 0; (i < MAX_PORTS) && ports[
[all...]
H A Dip_nat_tftp.c38 static int ports[MAX_PORTS]; variable
41 MODULE_PARM(ports,"1-" __MODULE_STRING(MAX_PORTS) "i");
42 MODULE_PARM_DESC(ports, "port numbers of tftp servers");
138 DEBUGP("unregistering helper for port %d\n", ports[i]);
148 if (!ports[0])
149 ports[0] = TFTP_PORT;
151 for (i = 0 ; (i < MAX_PORTS) && ports[i] ; i++) {
155 tftp[i].tuple.src.u.udp.port = htons(ports[i]);
164 if (ports[i] == TFTP_PORT)
171 ports[
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iptables/extensions/
H A Dlibipt_mport.c16 " --source-ports port[,port:port,port...]\n"
19 " --destination-ports port[,port:port,port...]\n"
22 " --ports port[,port:port,port]\n"
28 { "source-ports", 1, 0, '1' },
30 { "destination-ports", 1, 0, '2' },
32 { "ports", 1, 0, '3' },
81 "too many ports specified");
84 minfo->ports[i] = parse_port(cp, proto);
87 minfo->ports[++i] = parse_port(range, proto);
88 if (minfo->ports[
[all...]
H A Dlibip6t_multiport.c16 " --source-ports port[,port,port...]\n"
19 " --destination-ports port[,port,port...]\n"
22 " --ports port[,port,port]\n"
28 { "source-ports", 1, 0, '1' },
30 { "destination-ports", 1, 0, '2' },
32 { "ports", 1, 0, '3' },
61 parse_multi_ports(const char *portstring, u_int16_t *ports, const char *proto) argument
73 ports[i] = parse_port(cp, proto);
75 if (cp) exit_error(PARAMETER_PROBLEM, "too many ports specified");
117 multiinfo->ports, prot
[all...]
H A Dlibip6t_udp.c58 parse_udp_ports(const char *portstring, u_int16_t *ports) argument
65 ports[0] = ports[1] = parse_udp_port(buffer);
70 ports[0] = buffer[0] ? parse_udp_port(buffer) : 0;
71 ports[1] = cp[0] ? parse_udp_port(cp) : 0xFFFF;
73 if (ports[0] > ports[1])
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/host/
H A Dehci-hub.c66 int ports, i, retval = 1; local
71 ports = HCS_N_PORTS (ehci->hcs_params);
72 if (ports > 7) {
81 for (i = 0; i < ports; i++) {
112 int ports = HCS_N_PORTS (ehci->hcs_params); local
119 desc->bNbrPorts = ports;
120 temp = 1 + (ports / 8);
123 /* two bitmaps: ports removable, and usb 1.0 legacy PortPwrCtrlMask */
146 int ports = HCS_N_PORTS (ehci->hcs_params); local
171 if (!wIndex || wIndex > ports)
[all...]

Completed in 137 milliseconds

123456