Searched refs:maxport (Results 1 - 8 of 8) sorted by relevance

/external/iptables/extensions/
H A Dlibip6t_REDIRECT.c43 unsigned int port, maxport; local
58 if (!xtables_strtoui(end + 1, NULL, &maxport, 0, UINT16_MAX) &&
59 (maxport = xtables_service_to_port(end + 1, NULL)) == (unsigned)-1)
62 if (maxport < port)
66 range->max_proto.tcp.port = htons(maxport);
H A Dlibipt_REDIRECT.c44 unsigned int port, maxport; local
59 if (!xtables_strtoui(end + 1, NULL, &maxport, 0, UINT16_MAX) &&
60 (maxport = xtables_service_to_port(end + 1, NULL)) == (unsigned)-1)
63 if (maxport < port)
67 mr->range[0].max.tcp.port = htons(maxport);
H A Dlibip6t_MASQUERADE.c44 unsigned int port, maxport; local
58 if (!xtables_strtoui(end + 1, NULL, &maxport, 0, UINT16_MAX))
61 if (maxport < port)
65 r->max_proto.tcp.port = htons(maxport);
H A Dlibipt_MASQUERADE.c45 unsigned int port, maxport; local
59 if (!xtables_strtoui(end + 1, NULL, &maxport, 0, UINT16_MAX))
62 if (maxport < port)
66 mr->range[0].max.tcp.port = htons(maxport);
H A Dlibip6t_DNAT.c100 int maxport; local
102 maxport = atoi(dash + 1);
103 if (maxport <= 0 || maxport > 65535)
106 if (maxport < port)
111 range->max_proto.tcp.port = htons(maxport);
H A Dlibip6t_SNAT.c100 int maxport; local
102 maxport = atoi(dash + 1);
103 if (maxport <= 0 || maxport > 65535)
106 if (maxport < port)
111 range->max_proto.tcp.port = htons(maxport);
H A Dlibipt_DNAT.c104 int maxport; local
106 maxport = atoi(dash + 1);
107 if (maxport <= 0 || maxport > 65535)
110 if (maxport < port)
115 range.max.tcp.port = htons(maxport);
H A Dlibipt_SNAT.c104 int maxport; local
106 maxport = atoi(dash + 1);
107 if (maxport <= 0 || maxport > 65535)
110 if (maxport < port)
115 range.max.tcp.port = htons(maxport);

Completed in 1020 milliseconds