/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
SSLSocketFactoryTest.java | 66 int sport = startServer("test_createSocket()"); local 72 Socket st = new Socket("localhost", sport); 73 Socket s = sf.createSocket(st, "localhost", sport, false); 76 st = new Socket("localhost", sport); 77 s = sf.createSocket(st, "localhost", sport, true); 82 sf.createSocket(null, "localhost", sport, true); 96 st = new Socket("1.2.3.4hello", sport); 97 s = sf.createSocket(st, "1.2.3.4hello", sport, false);
|
SSLSocketTest.java | 63 int sport = startServer("Cons InetAddress,I"); local 66 SSLSocket ssl = getSSLSocket(InetAddress.getLocalHost(), sport); 68 assertEquals(sport, ssl.getPort()); 72 getSSLSocket(InetAddress.getLocalHost(), sport + 1); local 91 int sport = startServer("Cons InetAddress,I,InetAddress,I"); local 93 SSLSocket ssl = getSSLSocket(InetAddress.getLocalHost(), sport, 96 assertEquals(sport, ssl.getPort()); 106 getSSLSocket(InetAddress.getLocalHost(), -1, InetAddress.getLocalHost(), sport + 1); local 111 getSSLSocket(InetAddress.getLocalHost(), sport, InetAddress.getLocalHost(), -1); local 118 InetAddress.getLocalHost(), sport + 1) local 126 getSSLSocket(InetAddress.getLocalHost(), sport, local 138 int sport = startServer("Cons String,I"); local 172 int sport = startServer("Cons String,I,InetAddress,I"); local 194 getSSLSocket(InetAddress.getLocalHost().getHostName(), sport, local 525 int sport; field in class:SSLSocketTest.TestServer [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ |
SocketFactoryTest.java | 60 int sport = new ServerSocket(0).getLocalPort(); local 63 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport); 65 assertTrue("Failed to create socket", s.getPort() == sport); 68 sf.createSocket("1.2.3.4hello", sport); 97 int sport = new ServerSocket(0).getLocalPort(); local 100 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport); 102 assertTrue("Failed to create socket", s.getPort() == sport); 128 int sport = new ServerSocket(0).getLocalPort(); local 131 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport, 134 assertTrue("1: Failed to create socket", s.getPort() == sport); 146 sf.createSocket(InetAddress.getLocalHost(), sport, local 154 sf.createSocket(InetAddress.getLocalHost(), sport, local 174 int sport = new ServerSocket(0).getLocalPort(); local 196 sf.createSocket(InetAddress.getLocalHost().getHostName(), sport, local [all...] |
/system/core/libnetutils/ |
packet.h | 22 uint32_t saddr, uint32_t daddr, uint32_t sport, uint32_t dport);
|
/external/tcpdump/ |
print-udp.c | 303 udpipaddr_print(const struct ip *ip, int sport, int dport) 315 if (sport == -1) { 322 udpport_string(sport), 327 if (sport != -1) { 329 udpport_string(sport), 337 if (sport == -1) { 344 udpport_string(sport), 349 if (sport != -1) { 351 udpport_string(sport), 366 u_int16_t sport, dport, ulen local [all...] |
print-tcp.c | 160 u_int16_t sport, dport, win, urp; local 185 sport = EXTRACT_16BITS(&tp->th_sport); 195 tcpport_string(sport), 200 tcpport_string(sport), tcpport_string(dport)); 208 tcpport_string(sport), 213 tcpport_string(sport), tcpport_string(dport)); 260 if (sport > dport) 262 else if (sport == dport) { 269 tha.port = dport << 16 | sport; 273 tha.port = sport << 16 | dport [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldSocketTest.java | 75 int sport = startServer("Cons String,I"); local 76 s = new Socket(InetAddress.getLocalHost().getHostName(), sport); 77 assertTrue("Failed to create socket", s.getPort() == sport); 105 socket = new Socket(InetAddress.getByName(null), sport); 116 int sport = startServer("Cons String,I,InetAddress,I"); local 117 s = new Socket(InetAddress.getLocalHost().getHostName(), sport, 119 assertTrue("Failed to create socket", s.getPort() == sport); 123 int sport = startServer("Cons String,I,InetAddress,I"); local 124 Socket s1 = new Socket(InetAddress.getLocalHost(), sport, null, 0); 126 Socket s2 = new Socket(InetAddress.getLocalHost(), sport, null, s1.getLocalPort()) 144 int sport = startServer("Cons String,I,Z"); local 153 int sport = startServer("Cons InetAddress,I"); local 162 int sport = startServer("Cons InetAddress,I,InetAddress,I"); local 169 int sport = startServer("Cons InetAddress,I,Z"); local 178 int sport = startServer("SServer close"); local 196 int sport = startServer("SServer getInetAddress"); local 216 int sport = startServer("SServer getKeepAlive"); local 248 int sport = startServer("SServer getLocAddress"); local 264 int sport = startServer("SServer getLocalPort"); local 275 int sport = startServer("SServer getOutputStream"); local 306 int sport = startServer("SServer getPort"); local 313 int sport = startServer("SServer getSoLinger"); local 340 int sport = startServer("SServer getReceiveBufferSize"); local 364 int sport = startServer("SServer setSendBufferSize"); local 410 int sport = startServer("SServer getTcpNoDelay"); local 440 int sport = startServer("SServer setKeepAlive"); local 486 int sport = startServer("SServer setSendBufferSizeI"); local 509 int sport = startServer("SServer setReceiveBufferSizeI"); local 533 int sport = startServer("SServer setSoLingerZI"); local 558 int sport = startServer("SServer setTcpNoDelayZ"); local 583 int sport = startServer("SServer toString"); local 661 int sport = startServer("SServer getLocSocketAddress"); local 699 int sport = startServer("SServer getLocRemoteAddress"); local [all...] |
/bionic/libc/kernel/uapi/linux/netfilter_bridge/ |
ebt_ip.h | 44 __u16 sport[2]; member in struct:ebt_ip_info
|
ebt_ip6.h | 46 __u16 sport[2]; member in union:ebt_ip6_info::__anon714
|
/development/ndk/platforms/android-21/include/linux/netfilter_bridge/ |
ebt_ip.h | 44 __u16 sport[2]; member in struct:ebt_ip_info
|
ebt_ip6.h | 46 __u16 sport[2]; member in union:ebt_ip6_info::__anon1776
|
/external/kernel-headers/original/uapi/linux/netfilter_bridge/ |
ebt_ip.h | 10 * added ip-sport and ip-dport 40 __u16 sport[2]; member in struct:ebt_ip_info
|
ebt_ip6.h | 41 __u16 sport[2]; member in union:ebt_ip6_info::__anon11381
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/netfilter_bridge/ |
ebt_ip.h | 10 * added ip-sport and ip-dport 39 uint16_t sport[2]; member in struct:ebt_ip_info
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter_bridge/ |
ebt_ip.h | 10 * added ip-sport and ip-dport 40 __u16 sport[2]; member in struct:ebt_ip_info
|
ebt_ip6.h | 41 __u16 sport[2]; member in union:ebt_ip6_info::__anon32963
|
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/linux/netfilter_bridge/ |
ebt_ip.h | 44 __u16 sport[2]; member in struct:ebt_ip_info
|
ebt_ip6.h | 46 __u16 sport[2]; member in union:ebt_ip6_info::__anon60693
|
/prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/linux/netfilter_bridge/ |
ebt_ip.h | 44 __u16 sport[2]; member in struct:ebt_ip_info
|
ebt_ip6.h | 46 __u16 sport[2]; member in union:ebt_ip6_info::__anon61460
|
/prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/linux/netfilter_bridge/ |
ebt_ip.h | 44 __u16 sport[2]; member in struct:ebt_ip_info
|
ebt_ip6.h | 46 __u16 sport[2]; member in union:ebt_ip6_info::__anon62239
|
/prebuilts/ndk/9/platforms/android-21/arch-mips64/usr/include/linux/netfilter_bridge/ |
ebt_ip.h | 44 __u16 sport[2]; member in struct:ebt_ip_info
|
ebt_ip6.h | 46 __u16 sport[2]; member in union:ebt_ip6_info::__anon63017
|
/prebuilts/ndk/9/platforms/android-21/arch-x86/usr/include/linux/netfilter_bridge/ |
ebt_ip.h | 44 __u16 sport[2]; member in struct:ebt_ip_info
|