Home
last modified time | relevance | path

Searched refs:min_port (Results 1 – 25 of 28) sorted by relevance

12

/external/ltp/testcases/network/stress/ns-tools/
Dfind_portbundle89 min_port=$start_port
90 max_port=`expr $min_port + $port_quantity - 1`
108 min_port=`expr $line + 1`
109 max_port=`expr $min_port + $port_quantity - 1`
122 if [ $min_port -eq $max_port ]; then
123 echo "$min_port"
125 echo "$min_port-$max_port"
/external/webrtc/p2p/base/
Dbasic_packet_socket_factory.cc45 uint16_t min_port, in CreateUdpSocket() argument
53 if (BindSocket(socket, address, min_port, max_port) < 0) { in CreateUdpSocket()
63 uint16_t min_port, in CreateServerTcpSocket() argument
78 if (BindSocket(socket, local_address, min_port, max_port) < 0) { in CreateServerTcpSocket()
197 uint16_t min_port, in BindSocket() argument
200 if (min_port == 0 && max_port == 0) { in BindSocket()
205 for (int port = min_port; ret < 0 && port <= max_port; ++port) { in BindSocket()
Dbasic_packet_socket_factory.h32 uint16_t min_port,
35 uint16_t min_port,
50 uint16_t min_port,
Dstun_port.h60 uint16_t min_port, in Create() argument
69 new UDPPort(thread, factory, network, min_port, max_port, username, in Create()
125 uint16_t min_port,
271 uint16_t min_port,
285 uint16_t min_port,
Dfake_port_allocator.h36 uint16_t min_port, in Create() argument
43 new TestUDPPort(thread, factory, network, min_port, max_port, username, in Create()
56 uint16_t min_port, in TestUDPPort() argument
65 min_port, in TestUDPPort()
Dtcp_port.h38 uint16_t min_port, in Create() argument
44 return absl::WrapUnique(new TCPPort(thread, factory, network, min_port, in Create()
65 uint16_t min_port,
Dstun_port.cc190 uint16_t min_port, in UDPPort() argument
200 min_port, in UDPPort()
219 rtc::SocketAddress(Network()->GetBestIP(), 0), min_port(), max_port()); in Init()
615 uint16_t min_port, in Create() argument
623 auto port = absl::WrapUnique(new StunPort(thread, factory, network, min_port, in Create()
636 uint16_t min_port, in StunPort() argument
645 min_port, in StunPort()
Dturn_port.h93 uint16_t min_port,
107 new TurnPort(thread, factory, network, min_port, max_port, username,
117 uint16_t min_port,
129 return Create(thread, factory, network, min_port, max_port, username,
252 uint16_t min_port,
Dport_allocator.h477 int min_port() const { in min_port() function
487 bool SetPortRange(int min_port, int max_port) { in SetPortRange() argument
489 if (min_port > max_port) { in SetPortRange()
493 min_port_ = min_port; in SetPortRange()
Dtcp_port.cc88 uint16_t min_port, in TCPPort() argument
97 min_port, in TCPPort()
294 rtc::SocketAddress(Network()->GetBestIP(), 0), min_port(), max_port(), in TryCreateServerSocket()
Dport.h180 uint16_t min_port,
319 uint16_t min_port() { return min_port_; } in min_port() function
Dport.cc147 uint16_t min_port, in Port() argument
156 min_port_(min_port), in Port()
Dturn_port.cc248 uint16_t min_port, in TurnPort() argument
264 min_port, in TurnPort()
387 rtc::SocketAddress(Network()->GetBestIP(), 0), min_port(), max_port()); in CreateTurnClientSocket()
/external/webrtc/api/
Dpacket_socket_factory.h57 uint16_t min_port,
61 uint16_t min_port,
/external/webrtc/p2p/client/
Dturn_port_factory.cc37 int min_port, in Create() argument
40 args.network_thread, args.socket_factory, args.network, min_port, in Create()
Dturn_port_factory.h31 int min_port,
Drelay_port_factory_interface.h64 int min_port,
Dbasic_port_allocator.cc1239 session_->allocator()->min_port(), session_->allocator()->max_port())); in Init()
1415 session_->allocator()->min_port(), session_->allocator()->max_port(), in CreateUDPPorts()
1451 session_->allocator()->min_port(), session_->allocator()->max_port(), in CreateTCPPorts()
1479 session_->allocator()->min_port(), session_->allocator()->max_port(), in CreateStunPorts()
1568 args, session_->allocator()->min_port(), in CreateTurnPort()
Dbasic_port_allocator_unittest.cc194 bool SetPortRange(int min_port, int max_port) { in SetPortRange() argument
195 return allocator_->SetPortRange(min_port, max_port); in SetPortRange()
365 int min_port, in CheckPort() argument
367 return (addr.port() >= min_port && addr.port() <= max_port); in CheckPort()
/external/webrtc/rtc_tools/network_tester/
Dtest_controller.cc22 TestController::TestController(int min_port, in TestController() argument
36 rtc::SocketAddress(rtc::GetAnyIP(AF_INET), 0), min_port, max_port)); in TestController()
Dtest_controller.h50 TestController(int min_port,
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationServerPlatform.cpp45 GDBRemoteCommunicationServerPlatform::PortMap::PortMap(uint16_t min_port, in PortMap() argument
47 for (; min_port < max_port; ++min_port) in PortMap()
48 m_port_map[min_port] = LLDB_INVALID_PROCESS_ID; in PortMap()
DGDBRemoteCommunicationServerPlatform.h39 PortMap(uint16_t min_port, uint16_t max_port);
/external/dnsmasq/src/
Dnetwork.c586 unsigned int ports_avail = 65536u - (unsigned short) daemon->min_port; in random_sock()
598 if (daemon->min_port != 0) in random_sock()
599 port = htons(daemon->min_port + (port % ((unsigned short) ports_avail))); in random_sock()
Ddnsmasq.h599 int port, query_port, min_port; member

12