Searched refs:port_range (Results 1 – 6 of 6) sorted by relevance
/external/webrtc/tools/network_emulator/ |
D | emulate.py | 117 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])
|
D | network_emulator.py | 43 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/ |
D | xtoptions.c | 634 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/ |
D | libxt_conntrack.c | 467 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/ |
D | xtables.h | 156 uint16_t u16, u16_range[2], port, port_range[2]; member
|
/external/iptables/include/ |
D | xtables.h | 156 uint16_t u16, u16_range[2], port, port_range[2]; member
|