/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
SSLContext2Test.java | 131 assertEquals("Incorrect port", 0, sslE.getPeerPort()); 133 int port = 8080; local 134 sslE = sslC.createSSLEngine(host, port); 137 assertEquals("Incorrect port", sslE.getPeerPort(), port);
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLServerSocketImplTest.java | 116 * SSLServerSocketImpl(int port, SSLParameters sslParameters) method 180 * SSLServerSocketImpl(int port, int backlog, 244 * SSLServerSocketImpl(int port, int backlog, InetAddress iAddress, 625 private int port; field in class:SSLServerSocketImplTest.Client 627 public Client(int port) throws IOException { 629 this.port = port; 647 new InetSocketAddress("localhost", port));
|
/external/boringssl/src/crypto/bio/ |
connect.c | 97 unsigned short port; member in struct:bio_connect_st 411 *((int *)ptr) = data->port;
|
/external/boringssl/src/ssl/test/ |
test_config.h | 22 int port = 0; member in struct:TestConfig
|
/external/dnsmasq/src/ |
util.c | 325 /* returns port number from address */ 328 int port = 0; local 334 port = ntohs(addr->in.sin_port); 339 port = ntohs(addr->in6.sin6_port); 343 port = ntohs(addr->in.sin_port); 346 return port;
|
/external/guava/guava-tests/test/com/google/common/net/ |
HostAndPortTest.java | 48 // No port, bad default. 56 // Default port, but unused. 66 // Invalid port parts. 67 checkFromStringCase("google.com:port", 1, null, 99, false); 138 int port = hp2.getPort(); local 140 assertEquals(expectPort, port);
|
/external/ipsec-tools/src/racoon/ |
isakmp_xauth.h | 94 int port; member in struct:xauth_reply_arg 136 int port; member in struct:xauth_ldap_config
|
privsep.c | 509 int port; local 522 memcpy(&port, bufs[0], sizeof(port)); 526 memcpy(&inout, bufs[3], sizeof(port)); 528 if (port_check(port) != 0) 533 port, saddr2str(raddr), bufs[2]); 536 if (isakmp_cfg_accounting_system(port, 569 int port; local 580 memcpy(&port, bufs[0], sizeof(port)); 606 int port; local 651 int port; local [all...] |
remoteconf.c | 90 * don't use port number to search if its value is either IPSEC_PORT_ANY. 105 char addr[NI_MAXHOST], port[NI_MAXSERV]; local 113 * send us an acquire message for a destination that has a port set. 114 * If we do this port check here, we don't find the remote config. 117 * port, and the port could be a wildcard. That test could be used. 127 GETNAMEINFO(remote, addr, port); 130 withport ? port : "",
|
/external/javassist/src/main/javassist/tools/rmi/ |
ObjectImporter.java | 77 private int port, orgPort; field in class:ObjectImporter 93 orgPort = port = codebase.getPort(); 109 public ObjectImporter(String servername, int port) { 111 this.orgPort = this.port = port; 134 public void setHttpProxy(String host, int port) { 141 this.port = port; 155 Socket sock = new Socket(servername, port); 224 Socket sock = new Socket(servername, port); [all...] |
/external/jetty/src/java/org/eclipse/jetty/client/ |
RedirectListener.java | 150 int port = address.getPort(); local 153 if( !( ( port == 80 && !isHttps ) || ( port == 443 && isHttps ) ) ) 156 hostHeader.append( port );
|
/external/jetty/src/java/org/eclipse/jetty/server/ |
ShutdownMonitor.java | 36 * This thread listens on the port specified by the STOP.PORT system parameter (defaults to -1 for not listening) for request authenticated with the key given 39 * If the stop port is set to zero, then a random port is assigned and the port number is printed to stdout. 59 * Thread for listening to STOP.PORT for command to stop Jetty. 166 if (port < 0) 169 System.err.println("ShutdownMonitor not in use (port < 0): " + port); 175 serverSocket = new ServerSocket(port,1,InetAddress.getByName("127.0.0.1")) 208 private int port; field in class:ShutdownMonitor [all...] |
/external/libvncserver/libvncclient/ |
sockets.c | 298 * ConnectToTcpAddr connects to the given TCP port. 302 ConnectClientToTcpAddr(unsigned int host, int port) 312 addr.sin_port = htons(port); 341 ConnectClientToTcpAddr6(const char *hostname, int port) 353 snprintf(port_s, 10, "%d", port); 433 * FindFreeTcpPort tries to find unused TCP port in the range 440 int sock, port; local 455 for (port = TUNNEL_PORT_OFFSET + 99; port > TUNNEL_PORT_OFFSET; port--) [all...] |
/external/lldb/source/Plugins/Platform/gdb-server/ |
PlatformRemoteGDBServer.cpp | 363 uint16_t port = m_gdb_client.LaunchGDBserverAndGetPort(); local 365 if (port == 0) 401 port);
|
/external/netperf/ |
nettest_bsd.h | 40 int port; /* the port to which the recv side should bind member in struct:tcp_stream_request_struct 91 int port; /* the port to which the recv side should bind member in struct:tcp_maerts_request_struct 136 int port; /* the port to which the recv side should bind member in struct:tcp_rr_request_struct 181 int port; /* the port to which the recv side should bind member in struct:tcp_conn_rr_request_struct 227 int port; /* the port to which the recv side should bin member in struct:tcp_tran_rr_request_struct 271 int port; \/* the port to which the recv side should bind member in struct:udp_stream_request_struct 315 int port; \/* the port to which the recv side should bind member in struct:udp_rr_request_struct 360 int port; \/* the port to which the recv side should bind member in struct:tcp_cc_request_struct [all...] |
nettest_sctp.h | 31 int port; /* the to port to which recv side should bind member in struct:sctp_stream_request_struct 77 int port; /* the to port to which recv side should bind member in struct:sctp_rr_request_struct
|
nettest_sdp.h | 36 int port; /* the to port to which recv side should bind member in struct:sdp_stream_request_struct 82 int port; /* the to port to which recv side should bind member in struct:sdp_rr_request_struct 134 int port; /* the port to which the recv side should bind member in struct:sdp_maerts_request_struct
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
MessageProcessor.java | 81 * The port where I am listening 83 private int port; field in class:MessageProcessor 110 * @param port -- port where i am listening for incoming requests. 113 protected MessageProcessor( InetAddress ipAddress, int port, String transport, 116 this.initialize(ipAddress, port, transactionStack); 127 public final void initialize( InetAddress ipAddress, int port, 133 this.port = port; 136 this.sentByHostPort.setPort(port); 247 int port = Integer.parseInt(portStr); local [all...] |
UDPMessageProcessor.java | 60 * The Mapped port (in case STUN suport is enabled) 62 private int port; field in class:UDPMessageProcessor 98 SIPTransactionStack sipStack, int port) throws IOException { 99 super(ipAddress, port, "udp",sipStack); 105 this.port = port; 107 this.sock = sipStack.getNetworkLayer().createDatagramSocket(port, 137 * Get port on which to listen for incoming stuff. 139 * @return port on which I am listening. 142 return this.port; [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
SocketConnector.java | 232 int port = getEffectivePort(request.url()); local 233 String authority = (port == getDefaultPort("https")) ? host : (host + ":" + port); 235 .url(new URL("https", host, port, "/"))
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
HttpUrlTest.java | 235 // IPv6 colons don't interfere with port numbers or passwords. 236 assertEquals(8080, HttpUrl.parse("http://[::1]:8080/").port()); 247 @Test public void port() throws Exception { method in class:HttpUrlTest 250 assertEquals(65535, HttpUrl.parse("http://host:65535/").port());
|
SocksProxy.java | 166 int port = fromSource.readShort() & 0xffff; local 170 Socket toSocket = new Socket(toAddress, port);
|
/external/okhttp/samples/static-server/src/main/java/com/squareup/okhttp/sample/ |
SampleServer.java | 25 private final int port; field in class:SampleServer 27 public SampleServer(SSLContext sslContext, String root, int port) { 30 this.port = port; 37 server.start(port); 105 System.out.println("Usage: SampleServer <keystore> <password> <root file> <port>"); 112 int port = Integer.parseInt(args[3]); local 115 SampleServer server = new SampleServer(sslContext, root, port);
|
/external/openssh/ |
auth-options.c | 113 cp = "no-port-forwarding"; 115 auth_debug_add("Port forwarding disabled."); 306 int port; local 345 if (p == NULL || (port = permitopen_port(p)) < 0) { 346 debug("%.100s, line %lu: Bad permitopen port " 349 "Bad permitopen port", file, linenum); 354 channel_add_permitted_opens(host, port); 466 "permit-port-forwarding") == 0) {
|
canohost.c | 185 u_int16_t port; local 194 port = a6->sin6_port; 201 a4->sin_port = port; 369 /* Returns the local/remote port for the socket. */ 398 /* Non-inet sockets don't have a port number. */ 402 /* Return port number. */ 410 /* Returns remote/local port number for the current connection. */ 417 * intentionally chosen to be an unprivileged port number. 422 /* Get socket and return the port number. */
|