Searched refs:maxport (Results 1 – 4 of 4) sorted by relevance
/external/iptables/extensions/ |
D | libipt_REDIRECT.c | 44 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()
|
D | libipt_SNAT.c | 104 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()
|
D | libipt_DNAT.c | 104 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()
|
D | libipt_MASQUERADE.c | 45 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()
|