Searched refs:maxport (Results 1 – 9 of 9) sorted by relevance
/external/iptables/extensions/ |
D | libip6t_REDIRECT.c | 43 unsigned int port, maxport; in parse_ports() local 58 if (!xtables_strtoui(end + 1, NULL, &maxport, 0, UINT16_MAX) && in parse_ports() 59 (maxport = xtables_service_to_port(end + 1, NULL)) == (unsigned)-1) in parse_ports() 62 if (maxport < port) in parse_ports() 66 range->max_proto.tcp.port = htons(maxport); in parse_ports()
|
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 | libip6t_DNAT.c | 100 int maxport; in parse_to() local 102 maxport = atoi(dash + 1); in parse_to() 103 if (maxport <= 0 || maxport > 65535) in parse_to() 106 if (maxport < port) in parse_to() 111 range->max_proto.tcp.port = htons(maxport); in parse_to()
|
D | libip6t_MASQUERADE.c | 44 unsigned int port, maxport; in parse_ports() local 58 if (!xtables_strtoui(end + 1, NULL, &maxport, 0, UINT16_MAX)) in parse_ports() 61 if (maxport < port) in parse_ports() 65 r->max_proto.tcp.port = htons(maxport); in parse_ports()
|
D | libip6t_SNAT.c | 103 int maxport; in parse_to() local 105 maxport = atoi(dash + 1); in parse_to() 106 if (maxport <= 0 || maxport > 65535) in parse_to() 109 if (maxport < port) in parse_to() 114 range->max_proto.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()
|
D | libipt_SNAT.c | 107 int maxport; in parse_to() local 109 maxport = atoi(dash + 1); in parse_to() 110 if (maxport <= 0 || maxport > 65535) in parse_to() 113 if (maxport < port) in parse_to() 118 range.max.tcp.port = htons(maxport); in parse_to()
|
/external/iproute2/ip/ |
D | iplink_vxlan.c | 160 __u16 minport, maxport; in vxlan_parse_opt() local 165 if (get_u16(&maxport, *argv, 0)) in vxlan_parse_opt() 168 range.high = htons(maxport); in vxlan_parse_opt()
|