Home
last modified time | relevance | path

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

/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/webrtc/p2p/base/
Dbasicpacketsocketfactory.cc49 uint16_t max_port) { in CreateUdpSocket() argument
57 if (BindSocket(socket, address, min_port, max_port) < 0) { in CreateUdpSocket()
69 uint16_t max_port, in CreateServerTcpSocket() argument
84 if (BindSocket(socket, local_address, min_port, max_port) < 0) { in CreateServerTcpSocket()
185 uint16_t max_port) { in BindSocket() argument
187 if (min_port == 0 && max_port == 0) { in BindSocket()
192 for (int port = min_port; ret < 0 && port <= max_port; ++port) { in BindSocket()
Dstunport.h53 uint16_t max_port, in Create() argument
59 new UDPPort(thread, factory, network, ip, min_port, max_port, username, in Create()
115 uint16_t max_port,
235 uint16_t max_port, in Create() argument
241 ip, min_port, max_port, in Create()
263 uint16_t max_port, in StunPort() argument
273 max_port, in StunPort()
Dbasicpacketsocketfactory.h31 uint16_t max_port) override;
34 uint16_t max_port,
48 uint16_t max_port);
Drelayport.h43 uint16_t max_port, in Create() argument
46 return new RelayPort(thread, factory, network, ip, min_port, max_port, in Create()
81 uint16_t max_port,
Dportallocator.h208 int max_port() const { return max_port_; } in max_port() function
209 bool SetPortRange(int min_port, int max_port) { in SetPortRange() argument
210 if (min_port > max_port) { in SetPortRange()
215 max_port_ = max_port; in SetPortRange()
Dpacketsocketfactory.h34 uint16_t max_port) = 0;
38 uint16_t max_port,
Dtcpport.h36 uint16_t max_port, in Create() argument
41 max_port, username, password, allow_listen); in Create()
68 uint16_t max_port,
Dturnport.h62 uint16_t max_port, in Create() argument
69 return new TurnPort(thread, factory, network, ip, min_port, max_port, in Create()
172 uint16_t max_port,
Dtcpport.cc80 uint16_t max_port, in TCPPort() argument
90 max_port, in TCPPort()
106 rtc::SocketAddress(ip(), 0), min_port(), max_port(), in Init()
Dstunport.cc191 uint16_t max_port, in UDPPort() argument
202 max_port, in UDPPort()
218 rtc::SocketAddress(ip(), 0), min_port(), max_port()); in Init()
Drelayport.cc186 uint16_t max_port, in RelayPort() argument
195 max_port, in RelayPort()
492 port_->min_port(), port_->max_port()); in Connect()
Dport.h130 uint16_t max_port,
265 uint16_t max_port() { return max_port_; } in max_port() function
Dturnport.cc217 uint16_t max_port, in TurnPort() argument
230 max_port, in TurnPort()
323 rtc::SocketAddress(ip(), 0), min_port(), max_port()); in CreateTurnClientSocket()
Dport.cc164 uint16_t max_port, in Port() argument
174 max_port_(max_port), in Port()
Dport_unittest.cc106 uint16_t max_port, in TestPort() argument
115 max_port, in TestPort()
921 uint16_t max_port) override { in CreateUdpSocket() argument
930 uint16_t max_port, in CreateServerTcpSocket() argument
/external/webrtc/webrtc/p2p/client/
Dfakeportallocator.h34 uint16_t max_port, in Create() argument
40 max_port, username, password, origin, in Create()
64 uint16_t max_port, in TestUDPPort() argument
74 max_port, in TestUDPPort()
Dbasicportallocator.cc731 session_->allocator()->max_port())); in Init()
890 session_->allocator()->min_port(), session_->allocator()->max_port(), in CreateUDPPorts()
926 session_->allocator()->max_port(), in CreateTCPPorts()
956 session_->allocator()->max_port(), in CreateStunPorts()
1001 session_->allocator()->max_port(), in CreateGturnPort()
1059 session_->allocator()->max_port(), in CreateTurnPort()
Dportallocator_unittest.cc138 bool SetPortRange(int min_port, int max_port) { in SetPortRange() argument
139 return allocator_->SetPortRange(min_port, max_port); in SetPortRange()
227 int min_port, int max_port) { in CheckPort() argument
228 return (addr.port() >= min_port && addr.port() <= max_port); in CheckPort()
/external/tensorflow/tensorflow/core/grappler/
Dmutable_graph_view.cc132 absl::string_view to_node_name, int max_port) { in SwapRegularFanoutInputs() argument
135 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()
692 const int max_port = in SwapNodeNames() local
694 for (int i = 0; i <= max_port; ++i) { in SwapNodeNames()
1498 const int max_port = gtl::FindWithDefault(max_regular_output_port(), node, in CheckNodesCanBeDeleted() local
1500 for (int i = Graph::kControlSlot; i <= max_port; ++i) { in CheckNodesCanBeDeleted()
1613 const int max_port = in RemoveFanoutsInternal() local
1615 for (int i = Graph::kControlSlot; i <= max_port; ++i) { in RemoveFanoutsInternal()
/external/selinux/python/sepolicy/sepolicy/
Dgenerate.py168 max_port = 2 ** 16
186 if p < 1 or p > max_port:
191 raise ValueError(_("Ports must be numbers or ranges of numbers from 1 to %d ") % max_port)