/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLSocketFactoryTest.java | 66 int sport = startServer("test_createSocket()"); local 71 Socket st = new Socket("localhost", sport); 72 Socket s = sf.createSocket(st, "localhost", sport, false); 78 Socket st = new Socket("localhost", sport); 79 Socket s = sf.createSocket(st, "localhost", sport, true); 86 sf.createSocket(null, "localhost", sport, true); 103 Socket st = new Socket("bla-bla", sport); 104 Socket s = sf.createSocket(st, "bla-bla", 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/luni/src/test/java/tests/api/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("bla-bla", 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);
|
packet.c | 90 uint32_t saddr, uint32_t daddr, uint32_t sport, uint32_t dport) 113 udp.source = htons(sport);
|
/external/kernel-headers/original/linux/ |
random.h | 59 __u16 sport, __u16 dport); 61 __u16 sport, __u16 dport); 63 __u16 sport, __u16 dport);
|
/external/tcpdump/ |
print-udp.c | 364 udpipaddr_print(const struct ip *ip, int sport, int dport) 376 if (sport == -1) { 383 udpport_string(sport), 388 if (sport != -1) { 390 udpport_string(sport), 398 if (sport == -1) { 405 udpport_string(sport), 410 if (sport != -1) { 412 udpport_string(sport), 427 u_int16_t sport, dport, ulen local [all...] |
print-tcp.c | 199 u_int16_t sport, dport, win, urp; local 222 sport = EXTRACT_16BITS(&tp->th_sport); 241 sport == NFS_PORT) { 252 tcpport_string(sport), 257 tcpport_string(sport), tcpport_string(dport)); 265 tcpport_string(sport), 270 tcpport_string(sport), tcpport_string(dport)); 329 if (sport > dport) 331 else if (sport == dport) { 338 tha.port = dport << 16 | sport; [all...] |
print-pgm.c | 155 u_int16_t sport, dport; local 199 sport = EXTRACT_16BITS(&pgm->pgm_sport); 207 tcpport_string(sport), 212 tcpport_string(sport), tcpport_string(dport)); 220 tcpport_string(sport), 225 tcpport_string(sport), tcpport_string(dport));
|
print-dccp.c | 224 u_short sport, dport; local 249 sport = EXTRACT_16BITS(&dh->dccph_sport); 256 ip6addr_string(&ip6->ip6_src), sport, 262 ipaddr_string(&ip->ip_src), sport,
|
print-rx.c | 434 rx_print(register const u_char *bp, int length, int sport, int dport, 541 sport, &opcode)) { 543 switch (sport) { 616 rx_cache_find(const struct rx_header *rxh, const struct ip *ip, int sport, 633 rxent->dport == sport) { [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldSocketTest.java | 74 int sport = startServer("Cons String,I"); local 75 s = new Socket(InetAddress.getLocalHost().getHostName(), sport); 76 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); 143 int sport = startServer("Cons String,I,Z"); local 144 s = new Socket(InetAddress.getLocalHost().getHostName(), sport, true); 145 assertTrue("Failed to create socket", s.getPort() == sport); 152 int sport = startServer("Cons InetAddress,I"); local 161 int sport = startServer("Cons InetAddress,I,InetAddress,I"); local 168 int sport = startServer("Cons InetAddress,I,Z"); local 177 int sport = startServer("SServer close"); local 195 int sport = startServer("SServer getInetAddress"); local 215 int sport = startServer("SServer getKeepAlive"); local 247 int sport = startServer("SServer getLocAddress"); local 263 int sport = startServer("SServer getLocalPort"); local 274 int sport = startServer("SServer getOutputStream"); local 305 int sport = startServer("SServer getPort"); local 312 int sport = startServer("SServer getSoLinger"); local 339 int sport = startServer("SServer getReceiveBufferSize"); local 363 int sport = startServer("SServer setSendBufferSize"); local 409 int sport = startServer("SServer getTcpNoDelay"); local 439 int sport = startServer("SServer setKeepAlive"); local 485 int sport = startServer("SServer setSendBufferSizeI"); local 508 int sport = startServer("SServer setReceiveBufferSizeI"); local 532 int sport = startServer("SServer setSoLingerZI"); local 557 int sport = startServer("SServer setTcpNoDelayZ"); local 582 int sport = startServer("SServer toString"); local 660 int sport = startServer("SServer getLocSocketAddress"); local 698 int sport = startServer("SServer getLocRemoteAddress"); local [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/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/i686-linux-glibc2.7-4.6/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.7-4.6/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
|
/external/ipsec-tools/src/racoon/ |
nattraversal.h | 71 u_int16_t sport; member in struct:ph2natt
|
/external/libppp/src/ |
ip.c | 220 u_short sport, dport; /* src, dest port from packet if (gotinfo) */ local 280 sport = dport = 0; 309 sport = dport = 0; 316 sport = ih->icmp_type; 318 snprintf(dbuff, sizeof dbuff, "sport = %d", sport); 325 sport = ih6->icmp6_type; 327 snprintf(dbuff, sizeof dbuff, "sport = %d", sport); 354 sport = ntohs(uh->uh_sport) [all...] |
/external/iproute2/ip/ |
ipxfrm.c | 478 fprintf(fp, "sport %u ", ntohs(sel->sport)); 484 /* type/code is stored at sport/dport in selector */ 486 fprintf(fp, "type %u ", ntohs(sel->sport)); 493 (((__u32)ntohs(sel->sport)) << 16) + 498 fprintf(fp, "type %u ", ntohs(sel->sport)); 760 fprintf(fp, "sport %u ", ntohs(e->encap_sport)); 1178 } else if (strcmp(*argv, "sport") == 0) { 1183 if (get_u16(&sel->sport, *argv, 0)) 1185 sel->sport = htons(sel->sport) [all...] |
/external/ipsec-tools/src/libipsec/ |
pfkey_dump.c | 500 u_int16_t sport = 0, dport = 0; local 541 sport = 0; /*XXX*/ 543 sport = atoi(pbuf); 547 (u_int)sport, 582 str_upperspec((u_int)m_saddr->sadb_address_proto, (u_int)sport,
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
xfrm.h | 54 __be16 sport; member in struct:xfrm_selector
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
xfrm.h | 54 __be16 sport; member in struct:xfrm_selector
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
xfrm.h | 54 __be16 sport; member in struct:xfrm_selector
|
/bionic/libc/kernel/common/linux/ |
rtnetlink.h | 350 __u16 sport; member in struct:rta_session::__anon539::__anon540
|
/external/iproute2/include/linux/ |
rtnetlink.h | 392 __u16 sport; member in struct:rta_session::__anon19310::__anon19311
|
xfrm.h | 51 __be16 sport; member in struct:xfrm_selector
|