Home
last modified time | relevance | path

Searched refs:max_port (Results 1 – 25 of 26) sorted by relevance

12

/external/ltp/testcases/network/stress/ns-tools/
Dfind_portbundle90 max_port=`expr $min_port + $port_quantity - 1`
91 if [ ${max_port} -gt 65535 ]; then
107 if [ $line -le $max_port ]; then
109 max_port=`expr $min_port + $port_quantity - 1`
110 if [ $max_port -gt 65535 ]; then
122 if [ $min_port -eq $max_port ]; then
125 echo "$min_port-$max_port"
/external/webrtc/p2p/base/
Dbasic_packet_socket_factory.cc46 uint16_t max_port) { in CreateUdpSocket() argument
53 if (BindSocket(socket, address, min_port, max_port) < 0) { in CreateUdpSocket()
64 uint16_t max_port, in CreateServerTcpSocket() argument
78 if (BindSocket(socket, local_address, min_port, max_port) < 0) { in CreateServerTcpSocket()
198 uint16_t max_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.h33 uint16_t max_port) override;
36 uint16_t max_port,
51 uint16_t max_port);
Dstun_port.h61 uint16_t max_port, in Create() argument
69 new UDPPort(thread, factory, network, min_port, max_port, username, in Create()
126 uint16_t max_port,
272 uint16_t max_port,
286 uint16_t max_port,
Dfake_port_allocator.h37 uint16_t max_port, in Create() argument
43 new TestUDPPort(thread, factory, network, min_port, max_port, username, in Create()
57 uint16_t max_port, in TestUDPPort() argument
66 max_port, in TestUDPPort()
Dtcp_port.h39 uint16_t max_port, in Create() argument
45 max_port, username, password, in Create()
66 uint16_t max_port,
Dstun_port.cc191 uint16_t max_port, in UDPPort() argument
201 max_port, in UDPPort()
219 rtc::SocketAddress(Network()->GetBestIP(), 0), min_port(), max_port()); in Init()
616 uint16_t max_port, in Create() argument
624 max_port, username, password, in Create()
637 uint16_t max_port, in StunPort() argument
646 max_port, in StunPort()
Dturn_port.h94 uint16_t max_port,
107 new TurnPort(thread, factory, network, min_port, max_port, username,
118 uint16_t max_port,
129 return Create(thread, factory, network, min_port, max_port, username,
253 uint16_t max_port,
Dport_allocator.h482 int max_port() const { in max_port() function
487 bool SetPortRange(int min_port, int max_port) { in SetPortRange() argument
489 if (min_port > max_port) { in SetPortRange()
494 max_port_ = max_port; in SetPortRange()
Dtcp_port.cc89 uint16_t max_port, in TCPPort() argument
98 max_port, in TCPPort()
294 rtc::SocketAddress(Network()->GetBestIP(), 0), min_port(), max_port(), in TryCreateServerSocket()
Dport.h181 uint16_t max_port,
320 uint16_t max_port() { return max_port_; } in max_port() function
Dport.cc148 uint16_t max_port, in Port() argument
157 max_port_(max_port), in Port()
Dturn_port.cc249 uint16_t max_port, in TurnPort() argument
265 max_port, in TurnPort()
387 rtc::SocketAddress(Network()->GetBestIP(), 0), min_port(), max_port()); in CreateTurnClientSocket()
/external/webrtc/api/
Dpacket_socket_factory.h58 uint16_t max_port) = 0;
62 uint16_t max_port,
/external/webrtc/p2p/client/
Dturn_port_factory.cc38 int max_port) { in Create() argument
41 max_port, args.username, args.password, *args.server_address, in Create()
Dturn_port_factory.h32 int max_port) override;
Drelay_port_factory_interface.h65 int max_port) = 0;
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()
1569 session_->allocator()->max_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()
366 int max_port) { in CheckPort() argument
367 return (addr.port() >= min_port && addr.port() <= max_port); in CheckPort()
/external/webrtc/rtc_tools/network_tester/
Dtest_controller.cc23 int max_port, in TestController() argument
36 rtc::SocketAddress(rtc::GetAnyIP(AF_INET), 0), min_port, max_port)); in TestController()
Dtest_controller.h51 int max_port,
/external/tensorflow/tensorflow/core/grappler/
Dmutable_graph_view.cc133 absl::string_view to_node_name, int max_port) { in SwapRegularFanoutInputs() argument
136 for (int i = 0; i <= max_port; ++i) { in SwapRegularFanoutInputs()
391 int max_port = max_regular_output_port()[fanin.node]; in UpdateMaxRegularOutputPortForRemovedFanin() local
392 if (!fanin_fanouts.empty() || max_port != fanin.port_id) { in UpdateMaxRegularOutputPortForRemovedFanin()
695 const int max_port = in SwapNodeNames() local
697 for (int i = 0; i <= max_port; ++i) { in SwapNodeNames()
1501 const int max_port = gtl::FindWithDefault(max_regular_output_port(), node, in CheckNodesCanBeDeleted() local
1503 for (int i = Graph::kControlSlot; i <= max_port; ++i) { in CheckNodesCanBeDeleted()
1616 const int max_port = in RemoveFanoutsInternal() local
1618 for (int i = Graph::kControlSlot; i <= max_port; ++i) { in RemoveFanoutsInternal()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationServerPlatform.h39 PortMap(uint16_t min_port, uint16_t max_port);
DGDBRemoteCommunicationServerPlatform.cpp46 uint16_t max_port) { in PortMap() argument
47 for (; min_port < max_port; ++min_port) in PortMap()
/external/selinux/python/sepolicy/sepolicy/
Dgenerate.py167 max_port = 2 ** 16
185 if p < 1 or p > max_port:
190 raise ValueError(_("Ports must be numbers or ranges of numbers from 1 to %d ") % max_port)

12