HomeSort by relevance Sort by last modified time
    Searched refs:Port (Results 1 - 25 of 40) sorted by null

1 2

  /external/chromium/third_party/libjingle/source/talk/p2p/base/
p2ptransportchannel.h 45 #include "talk/p2p/base/port.h"
53 // Adds the port on which the candidate originated.
56 RemoteCandidate(const Candidate& c, Port* origin_port)
59 Port* origin_port() { return origin_port_; }
62 Port* origin_port_;
113 bool CreateConnections(const Candidate &remote_candidate, Port* origin_port,
115 bool CreateConnection(Port* port, const Candidate& remote_candidate,
116 Port* origin_port, bool readable);
118 Port* origin_port)
    [all...]
rawtransportchannel.h 46 class Port;
75 // port we should send to the other client. This will send
99 Port* port_;
103 // Called when the allocator creates another port.
104 void OnPortReady(PortAllocatorSession* session, Port* port);
110 // Called once we have chosen the port to use for communication with the
111 // other client. This will send its address and prepare the port for use.
112 void SetPort(Port* port);
    [all...]
port.h 76 class Port : public talk_base::MessageHandler, public sigslot::has_slots<> {
78 Port(talk_base::Thread* thread, const std::string& type,
81 virtual ~Port();
83 // The thread on which this port performs its I/O.
86 // The factory used to create the sockets of this port.
92 // Each port is identified by a name (for debugging purposes).
96 // In order to establish a connection to this Port (so that real data can be
111 // A value in [0,1] that indicates the preference for this port versus other
116 // Identifies the port type.
119 // Identifies network that this port was allocated on
279 Port* port() { return port_; } function in class:cricket::Connection
280 const Port* port() const { return port_; } function in class:cricket::Connection
    [all...]
p2ptransportchannel.cc 66 cricket::Port::CandidateOrigin GetOrigin(cricket::Port* port,
67 cricket::Port* origin_port) {
69 return cricket::Port::ORIGIN_MESSAGE;
70 else if (port == origin_port)
71 return cricket::Port::ORIGIN_THIS_PORT;
73 return cricket::Port::ORIGIN_OTHER_PORT;
80 ASSERT(a->local_candidate().preference() == a->port()->preference());
81 ASSERT(b->local_candidate().preference() == b->port()->preference())
    [all...]
udpport.cc 42 : Port(thread, LOCAL_PORT_TYPE, factory, network, ip, min_port, max_port),
113 Port::OnReadPacket(data, size, remote_addr);
port.cc 28 #include "talk/p2p/base/port.h"
102 // The delay before we begin checking if this port is useless.
127 Port::Port(talk_base::Thread* thread, const std::string& type,
144 LOG_J(LS_INFO, this) << "Port created";
147 Port::~Port() {
163 Connection* Port::GetConnection(const talk_base::SocketAddress& remote_addr) {
171 void Port::AddAddress(const talk_base::SocketAddress& address,
190 void Port::AddConnection(Connection* conn)
    [all...]
rawtransportchannel.cc 34 #include "talk/p2p/base/port.h"
86 // TODO: allow these to be set before we have a port
133 // We can write once we have a port and a remote address.
148 // Code to classify our NAT type and use the relay port if we are behind an
157 PortAllocatorSession* session, Port* port) {
160 if (port->type() == STUN_PORT_TYPE) {
161 stun_port_ = static_cast<StunPort*>(port);
167 } else if (port->type() == RELAY_PORT_TYPE) {
168 relay_port_ = static_cast<RelayPort*>(port);
    [all...]
udpport.h 33 #include "talk/p2p/base/port.h"
45 // Communicates using a local UDP port.
46 class UDPPort : public Port {
52 UDPPort* port = new UDPPort(thread, factory, network, local
54 if (!port->Init()) {
55 delete port;
56 port = NULL;
58 return port;
81 // Dispatches the given packet to the port or connection as appropriate.
portallocator.h 35 #include "talk/p2p/base/port.h"
39 // PortAllocator is responsible for allocating Port types for a given
40 // P2PSocket. It also handles port freeing.
42 // Clients can override this class to control port allocation, including
71 sigslot::signal2<PortAllocatorSession*, Port*> SignalPortReady;
105 // Gets/Sets the port range to use when choosing client ports.
relayport.h 36 #include "talk/p2p/base/port.h"
45 // Communicates using an allocated port on the relay server. For each
51 class RelayPort : public Port {
98 // Dispatches the given packet to the port or connection as appropriate.
stunport.h 47 class StunPort : public Port {
54 StunPort* port = new StunPort(thread, factory, network, local
56 if (!port->Init()) {
57 delete port;
58 port = NULL;
60 return port;
77 // address for this port (which may be the same as the first address).
tcpport.h 34 #include "talk/p2p/base/port.h"
42 // Communicates using a local TCP port.
48 class TCPPort : public Port {
55 TCPPort* port = new TCPPort(thread, factory, network, local
57 if (!port->Init()) {
58 delete port;
59 port = NULL;
61 return port;
117 TCPConnection(TCPPort* port, const Candidate& candidate,
stunport.cc 46 StunPortBindingRequest(StunPort* port, bool keep_alive,
48 : port_(port), keep_alive_(keep_alive), server_addr_(addr) {
69 talk_base::SocketAddress addr(addr_attr->ip(), addr_attr->port());
132 : Port(thread, STUN_PORT_TYPE, factory, network, ip, min_port, max_port),
222 Port::OnReadPacket(data, size, remote_addr);
tcpport.cc 40 : Port(thread, LOCAL_PORT_TYPE, factory, network, ip, min_port, max_port),
173 Port::OnReadPacket(data, size, remote_addr);
181 TCPConnection::TCPConnection(TCPPort* port, const Candidate& candidate,
183 : Connection(port, 0, candidate), socket_(socket), error_(0) {
188 socket_ = port->socket_factory()->CreateClientTcpSocket(
190 candidate.address(), port->proxy(), port->user_agent(),
204 ASSERT(socket_->GetLocalAddress(NULL).ip() == port->ip_);
  /external/ppp/pppd/plugins/radius/etc/
dictionary.compat 5 ATTRIBUTE Client-Port-Id 5 integer
11 ATTRIBUTE Login-Port 16 integer
13 ATTRIBUTE Port-Message 18 string
27 ATTRIBUTE NAS-Port 5 integer
31 ATTRIBUTE Client-Port-DNIS 30 string
dictionary 50 ATTRIBUTE NAS-Port-Id 5 integer
61 ATTRIBUTE Login-TCP-Port 16 integer
86 ATTRIBUTE NAS-Port-Type 61 integer
87 ATTRIBUTE Port-Limit 62 integer
102 ATTRIBUTE Add-Port-To-IP-Address 1037 integer
185 # NAS Port Types, available in 3.3.1 and later
187 VALUE NAS-Port-Type Async 0
188 VALUE NAS-Port-Type Sync 1
189 VALUE NAS-Port-Type ISDN 2
190 VALUE NAS-Port-Type ISDN-V120
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
base_unittest.py 49 output = "OUTPUT %s %s %s" % (base.Port._WDIFF_DEL, base.Port._WDIFF_ADD, base.Port._WDIFF_END)
50 html = base.Port()._format_wdiff_output_as_html(output)
55 port = base.Port()
56 port._path_to_wdiff = lambda: "/path/to/wdiff"
57 command = port._wdiff_command("/actual/path", "/expected/path")
76 port = base.Port(executive=executive_mock.MockExecutive2(exception=OSError)
    [all...]
  /external/webkit/Source/JavaScriptCore/wtf/url/src/
URLSegments.h 47 Port,
67 // Note that this can get a little funny for the port, query, and fragment
73 // delimited components that is present (the port and query) and one that
84 // *Port: 10 11 <-
97 URLComponent port; member in class:WTF::URLSegments
URLSegments.cpp 76 if (port.isValid()) {
77 if (type < Port || (type == Port && includeDelimiter))
78 return port.begin() - 1; // Back over delimiter.
79 if (type == Port)
80 return port.begin(); // Don't want delimiter counted.
81 current = port.end();
  /external/chromium/third_party/libjingle/source/talk/p2p/client/
basicportallocator.h 70 // Returns the best (highest preference) phase that has produced a port that
79 // phase that the corresponding port was created in.
122 // Starts the process of getting the port configurations.
125 // Adds a port configuration that is now ready. Once we have one for each
139 void AddAllocatedPort(Port* port, AllocationSequence* seq, float pref,
141 void OnAddressReady(Port* port);
143 void OnPortDestroyed(Port* port);
159 Port* port; member in struct:cricket::BasicPortAllocatorSession::PortData
    [all...]
basicportallocator.cc 37 #include "talk/p2p/base/port.h"
72 // Returns the phase in which a given local candidate (or rather, the port that
234 delete it->port;
260 ports_[i].port->Start();
393 void BasicPortAllocatorSession::AddAllocatedPort(Port* port,
397 if (!port)
400 port->set_name(name_);
401 port->set_preference(pref);
402 port->set_generation(generation())
666 Port* port = UDPPort::Create(session_->network_thread(), local
681 Port* port = TCPPort::Create(session_->network_thread(), local
706 Port* port = StunPort::Create(session_->network_thread(), local
734 RelayPort* port = RelayPort::Create(session_->network_thread(), local
    [all...]
  /external/webkit/Tools/iExploder/iexploder-1.3.2/htdocs/
webserver.rb 37 port = ARGV[0].to_i
39 port = 2000
42 puts "* iExploder #{$VERSION} will be available at http://localhost:#{port}"
46 s = HTTPServer.new( :Port => port )
  /external/openssh/regress/
ssh-com.sh 35 # Port and ListenAddress are not used.
37 Port 4343
  /packages/apps/Phone/src/com/android/phone/sip/
SipEditor.java 85 Port(R.string.port, R.string.default_port, R.string.default_port),
333 case Port:
341 } else if (key == PreferenceKey.Port) {
342 int port = Integer.parseInt(PreferenceKey.Port.getValue()); local
343 if ((port < 1000) || (port > 65534)) {
424 .setPort(Integer.parseInt(PreferenceKey.Port.getValue()))
  /external/chromium/chrome/browser/safe_browsing/
safe_browsing_test.cc 144 cmd_line.AppendSwitchASCII("port", StringPrintf("%d", kPort_));
177 static int Port() {
308 SafeBrowsingTestServer::Port());
449 void WaitTillServerReady(const char* host, int port) {
452 host, port, kDBResetPath));
466 net::URLRequestStatus::Status FetchDBToVerify(const char* host, int port,
472 host, port, kDBVerifyPath, test_step));
477 net::URLRequestStatus::Status FetchUrlsToVerify(const char* host, int port,
481 host, port, kUrlVerifyPath, test_step));
488 net::URLRequestStatus::Status VerifyTestComplete(const char* host, int port,
    [all...]

Completed in 290 milliseconds

1 2