Searched defs:maxport (Results 1 - 4 of 4) sorted by relevance

/external/iptables/extensions/
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 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 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 163 milliseconds