Home
last modified time | relevance | path

Searched refs:port_range (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/tools/network_emulator/
Demulate.py117 if isinstance(options.port_range, str):
118 options.port_range = tuple(int(port) for port in
119 options.port_range.split(','))
120 if len(options.port_range) != 2:
155 options.port_range)
184 options.port_range[0], options.port_range[1])
Dnetwork_emulator.py43 def __init__(self, connection_config, port_range): argument
53 self._port_range = port_range
103 port_range): argument
121 _run_ipfw_command(add_part + ['src-port', '%s-%s' % port_range],
123 _run_ipfw_command(add_part + ['dst-port', '%s-%s' % port_range],
/external/iptables/libxtables/
Dxtoptions.c634 cb->val.port_range[0] = 0; in xtopt_parse_mport()
635 cb->val.port_range[1] = UINT16_MAX; in xtopt_parse_mport()
655 if (cb->nvals < ARRAY_SIZE(cb->val.port_range)) in xtopt_parse_mport()
656 cb->val.port_range[cb->nvals] = value; in xtopt_parse_mport()
661 cb->val.port_range[1] = cb->val.port_range[0]; in xtopt_parse_mport()
665 memcpy(XTOPT_MKPTR(cb), cb->val.port_range, sizeof(uint16_t) * in xtopt_parse_mport()
/external/iptables/extensions/
Dlibxt_conntrack.c467 info->origsrc_port = cb->val.port_range[0]; in conntrack_mt_parse()
468 info->origsrc_port_high = cb->val.port_range[cb->nvals >= 2]; in conntrack_mt_parse()
474 info->origdst_port = cb->val.port_range[0]; in conntrack_mt_parse()
475 info->origdst_port_high = cb->val.port_range[cb->nvals >= 2]; in conntrack_mt_parse()
481 info->replsrc_port = cb->val.port_range[0]; in conntrack_mt_parse()
482 info->replsrc_port_high = cb->val.port_range[cb->nvals >= 2]; in conntrack_mt_parse()
488 info->repldst_port = cb->val.port_range[0]; in conntrack_mt_parse()
489 info->repldst_port_high = cb->val.port_range[cb->nvals >= 2]; in conntrack_mt_parse()
/external/iproute2/include/
Dxtables.h156 uint16_t u16, u16_range[2], port, port_range[2]; member
/external/iptables/include/
Dxtables.h156 uint16_t u16, u16_range[2], port, port_range[2]; member