Home
last modified time | relevance | path

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

/external/chromium/third_party/libjingle/source/talk/base/
Dbasicpacketsocketfactory.cc54 const SocketAddress& address, int min_port, int max_port) { in CreateUdpSocket() argument
61 if (BindSocket(socket, address, min_port, max_port) < 0) { in CreateUdpSocket()
71 const SocketAddress& local_address, int min_port, int max_port, in CreateServerTcpSocket() argument
79 if (BindSocket(socket, local_address, min_port, max_port) < 0) { in CreateServerTcpSocket()
138 int min_port, int max_port) { in BindSocket() argument
140 if (min_port == 0 && max_port == 0) { in BindSocket()
145 for (int port = min_port; ret < 0 && port <= max_port; ++port) { in BindSocket()
Dbasicpacketsocketfactory.h47 const SocketAddress& local_address, int min_port, int max_port);
49 const SocketAddress& local_address, int min_port, int max_port,
57 int min_port, int max_port);
Dpacketsocketfactory.h43 const SocketAddress& address, int min_port, int max_port) = 0;
45 const SocketAddress& local_address, int min_port, int max_port,
/external/chromium/third_party/libjingle/source/talk/p2p/base/
Dportallocator.h106 int min_port() const { return min_port_; } in min_port() function
108 bool SetPortRange(int min_port, int max_port) { in SetPortRange() argument
109 if (min_port > max_port) { in SetPortRange()
113 min_port_ = min_port; in SetPortRange()
Dudpport.h51 uint32 ip, int min_port, int max_port) { in Create() argument
53 ip, min_port, max_port); in Create()
71 talk_base::Network* network, uint32 ip, int min_port, int max_port);
Dstunport.h52 uint32 ip, int min_port, int max_port, in Create() argument
55 ip, min_port, max_port, server_addr); in Create()
87 talk_base::Network* network, uint32 ip, int min_port, int max_port,
Drelayport.h58 talk_base::Network* network, uint32 ip, int min_port, int max_port, in Create() argument
61 return new RelayPort(thread, factory, network, ip, min_port, max_port, in Create()
88 talk_base::Network*, uint32 ip, int min_port, int max_port,
Dtcpport.h53 uint32 ip, int min_port, int max_port, in Create() argument
56 ip, min_port, max_port, allow_listen); in Create()
75 talk_base::Network* network, uint32 ip, int min_port, int max_port,
Dudpport.cc41 uint32 ip, int min_port, int max_port) in UDPPort() argument
42 : Port(thread, LOCAL_PORT_TYPE, factory, network, ip, min_port, max_port), in UDPPort()
Dstunport.cc130 uint32 ip, int min_port, int max_port, in StunPort() argument
132 : Port(thread, STUN_PORT_TYPE, factory, network, ip, min_port, max_port), in StunPort()
Dtcpport.cc39 int min_port, int max_port, bool allow_listen) in TCPPort() argument
40 : Port(thread, LOCAL_PORT_TYPE, factory, network, ip, min_port, max_port), in TCPPort()
Drelayport.cc190 talk_base::Network* network, uint32 ip, int min_port, int max_port, in RelayPort() argument
193 : Port(thread, RELAY_PORT_TYPE, factory, network, ip, min_port, max_port), in RelayPort()
Dport.h80 uint32 ip, int min_port, int max_port);
Dport.cc129 uint32 ip, int min_port, int max_port) in Port() argument
135 min_port_(min_port), in Port()
/external/chromium/third_party/libjingle/source/talk/p2p/client/
Dbasicportallocator.cc669 session_->allocator()->min_port(), in CreateUDPPorts()
684 session_->allocator()->min_port(), in CreateTCPPorts()
709 session_->allocator()->min_port(), in CreateStunPorts()
737 session_->allocator()->min_port(), in CreateRelayPorts()
/external/dnsmasq/src/
Dnetwork.c487 unsigned int ports_avail = 65536u - (unsigned short)daemon->min_port; in random_sock()
500 if (daemon->min_port != 0) in random_sock()
501 port = htons(daemon->min_port + (port % ((unsigned short)ports_avail))); in random_sock()
Ddnsmasq.h625 int port, query_port, min_port; member
Doption.c1546 if (!atoi_check16(arg, &daemon->min_port)) in one_opt()
/external/dnsmasq/
DCHANGELOG352 Change implementation of min_port to work even if min-port