Home
last modified time | relevance | path

Searched refs:maxport (Results 1 – 4 of 4) sorted by relevance

/external/iptables/extensions/
Dlibipt_REDIRECT.c44 unsigned int port, maxport; in parse_ports() local
59 if (!xtables_strtoui(end + 1, NULL, &maxport, 0, UINT16_MAX) && in parse_ports()
60 (maxport = xtables_service_to_port(end + 1, NULL)) == (unsigned)-1) in parse_ports()
63 if (maxport < port) in parse_ports()
67 mr->range[0].max.tcp.port = htons(maxport); in parse_ports()
Dlibipt_SNAT.c104 int maxport; in parse_to() local
106 maxport = atoi(dash + 1); in parse_to()
107 if (maxport <= 0 || maxport > 65535) in parse_to()
110 if (maxport < port) in parse_to()
115 range.max.tcp.port = htons(maxport); in parse_to()
Dlibipt_DNAT.c104 int maxport; in parse_to() local
106 maxport = atoi(dash + 1); in parse_to()
107 if (maxport <= 0 || maxport > 65535) in parse_to()
110 if (maxport < port) in parse_to()
115 range.max.tcp.port = htons(maxport); in parse_to()
Dlibipt_MASQUERADE.c45 unsigned int port, maxport; in parse_ports() local
59 if (!xtables_strtoui(end + 1, NULL, &maxport, 0, UINT16_MAX)) in parse_ports()
62 if (maxport < port) in parse_ports()
66 mr->range[0].max.tcp.port = htons(maxport); in parse_ports()