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

1 2

  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLSocketFactoryTest.java 69 int sport = startServer("test_createSocket()"); local
74 Socket st = new Socket("localhost", sport);
75 Socket s = sf.createSocket(st, "localhost", sport, false);
81 Socket st = new Socket("localhost", sport);
82 Socket s = sf.createSocket(st, "localhost", sport, true);
89 sf.createSocket(null, "localhost", sport, true);
106 Socket st = new Socket("bla-bla", sport);
107 Socket s = sf.createSocket(st, "bla-bla", sport, false);
SSLSocketTest.java 64 int sport = startServer("Cons InetAddress,I"); local
67 SSLSocket ssl = getSSLSocket(InetAddress.getLocalHost(), sport);
69 assertEquals(sport, ssl.getPort());
73 getSSLSocket(InetAddress.getLocalHost(), sport + 1); local
92 int sport = startServer("Cons InetAddress,I,InetAddress,I"); local
95 SSLSocket ssl = getSSLSocket(InetAddress.getLocalHost(), sport,
98 assertEquals(sport, ssl.getPort());
109 getSSLSocket(InetAddress.getLocalHost(), -1, InetAddress.getLocalHost(), sport + 1); local
114 getSSLSocket(InetAddress.getLocalHost(), sport, InetAddress.getLocalHost(), -1); local
121 InetAddress.getLocalHost(), sport + 1) local
129 getSSLSocket(InetAddress.getLocalHost(), sport, local
141 int sport = startServer("Cons String,I"); local
175 int sport = startServer("Cons String,I,InetAddress,I"); local
200 getSSLSocket(InetAddress.getLocalHost().getHostName(), sport, local
534 int sport; field in class:SSLSocketTest.TestServer
    [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);
  /libcore/luni/src/test/java/tests/api/javax/net/
SocketFactoryTest.java 86 int sport = startServer("Cons String,I"); local
90 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport);
92 assertTrue("Failed to create socket", s.getPort() == sport);
98 Socket s = sf.createSocket("bla-bla", sport);
138 int sport = startServer("Cons InetAddress,I"); local
142 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport);
144 assertTrue("Failed to create socket", s.getPort() == sport);
182 int sport = startServer("Cons InetAddress,I,InetAddress,I"); local
186 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport,
189 assertTrue("1: Failed to create socket", s.getPort() == sport);
240 int sport = startServer("Cons String,I,InetAddress,I"); local
    [all...]
  /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...]
  /prebuilt/linux-x86/toolchain/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
  /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);
106 socket = new Socket(InetAddress.getByName(null), sport);
117 int sport = startServer("Cons String,I,InetAddress,I"); local
119 s = new Socket(InetAddress.getLocalHost().getHostName(), sport,
121 assertTrue("Failed to create socket", s.getPort() == sport);
146 int sport = startServer("Cons String,I,Z"); local
147 s = new Socket(InetAddress.getLocalHost().getHostName(), sport, true);
148 assertTrue("Failed to create socket", s.getPort() == sport);
155 int sport = startServer("Cons InetAddress,I"); local
164 int sport = startServer("Cons InetAddress,I,InetAddress,I"); local
173 int sport = startServer("Cons InetAddress,I,Z"); local
182 int sport = startServer("SServer close"); local
201 int sport = startServer("SServer getInetAddress"); local
222 int sport = startServer("SServer getKeepAlive"); local
256 int sport = startServer("SServer getLocAddress"); local
273 int sport = startServer("SServer getLocalPort"); local
284 int sport = startServer("SServer getOutputStream"); local
318 int sport = startServer("SServer getPort"); local
327 int sport = startServer("SServer getSoLinger"); local
356 int sport = startServer("SServer getReceiveBufferSize"); local
382 int sport = startServer("SServer setSendBufferSize"); local
431 int sport = startServer("SServer getTcpNoDelay"); local
463 int sport = startServer("SServer setKeepAlive"); local
511 int sport = startServer("SServer setSendBufferSizeI"); local
535 int sport = startServer("SServer setReceiveBufferSizeI"); local
560 int sport = startServer("SServer setSoLingerZI"); local
586 int sport = startServer("SServer setTcpNoDelayZ"); local
612 int sport = startServer("SServer toString"); local
694 int sport = startServer("SServer getLocSocketAddress"); local
749 int sport = startServer("SServer getLocRemoteAddress"); local
    [all...]
OldDatagramSocketTest.java 1708 int sport = ports[0]; local
    [all...]
  /external/ipsec-tools/src/racoon/
nattraversal.h 71 u_int16_t sport; member in struct:ph2natt
  /external/iproute2/ip/
ipxfrm.c 477 fprintf(fp, "sport %u ", ntohs(sel->sport));
483 /* type/code is stored at sport/dport in selector */
485 fprintf(fp, "type %u ", ntohs(sel->sport));
491 fprintf(fp, "type %u ", ntohs(sel->sport));
728 fprintf(fp, "sport %u ", ntohs(e->encap_sport));
1110 } else if (strcmp(*argv, "sport") == 0) {
1115 if (get_u16(&sel->sport, *argv, 0))
1117 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,
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
xfrm.h 54 __be16 sport; member in struct:xfrm_selector
rtnetlink.h 377 __u16 sport; member in struct:rta_session::__anon20955::__anon20956
  /bionic/libc/kernel/common/linux/
rtnetlink.h 325 __u16 sport; member in struct:rta_session::__anon413::__anon414
  /external/iproute2/include/linux/
rtnetlink.h 391 __u16 sport; member in struct:rta_session::__anon6391::__anon6392
xfrm.h 51 __be16 sport; member in struct:xfrm_selector
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DatagramSocketTest.java 1367 int sport = ports[0]; local
    [all...]
  /development/ndk/platforms/android-3/include/linux/
rtnetlink.h 307 __u16 sport; member in struct:rta_session::__anon1023::__anon1024
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/
rtnetlink.h 307 __u16 sport; member in struct:rta_session::__anon21569::__anon21570

Completed in 4099 milliseconds

1 2