/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);
|
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ |
SocketFactoryTest.java | 109 int sport = startServer("Cons String,I"); local 113 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport); 115 assertTrue("Failed to create socket", s.getPort() == sport); 121 Socket s = sf.createSocket("bla-bla", sport); 167 int sport = startServer("Cons InetAddress,I"); local 171 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport); 173 assertTrue("Failed to create socket", s.getPort() == sport); 217 int sport = startServer("Cons InetAddress,I,InetAddress,I"); local 221 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport, 224 assertTrue("1: Failed to create socket", s.getPort() == sport); 281 int sport = startServer("Cons String,I,InetAddress,I"); local [all...] |
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/ |
SSLSocketFactoryTest.java | 93 int sport = startServer("test_createSocket()"); local 98 Socket st = new Socket("localhost", sport); 99 Socket s = sf.createSocket(st, "localhost", sport, false); 105 Socket st = new Socket("localhost", sport); 106 Socket s = sf.createSocket(st, "localhost", sport, true); 113 sf.createSocket(null, "localhost", sport, true); 130 Socket st = new Socket("bla-bla", sport); 131 Socket s = sf.createSocket(st, "bla-bla", sport, false);
|
SSLSocketTest.java | 83 int sport = startServer("Cons InetAddress,I"); local 86 ssl = getSSLSocket(InetAddress.getLocalHost(), sport); 88 assertEquals(sport, ssl.getPort()); 91 ssl = getSSLSocket(InetAddress.getLocalHost(), sport + 1); 123 int sport = startServer("Cons InetAddress,I,InetAddress,I"); local 126 ssl = getSSLSocket(InetAddress.getLocalHost(), sport, 129 assertEquals(sport, ssl.getPort()); 141 InetAddress.getLocalHost(), sport + 1); 149 ssl = getSSLSocket(InetAddress.getLocalHost(), sport, 160 InetAddress.getLocalHost(), sport + 1) 241 int sport = startServer("Cons String,I"); local 290 int sport = startServer("Cons String,I,InetAddress,I"); local 813 int sport; field in class:SSLSocketTest.TestServer [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...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/net/ |
SocketTest.java | 129 int sport = startServer("Cons String,I"); local 130 s = new Socket(InetAddress.getLocalHost().getHostName(), sport); 131 assertTrue("Failed to create socket", s.getPort() == sport); 160 socket = new Socket(InetAddress.getByName(null), sport); 178 new Socket(InetAddress.getLocalHost().getHostName(), sport); local 203 int sport = startServer("Cons String,I,InetAddress,I"); local 205 s = new Socket(InetAddress.getLocalHost().getHostName(), sport, 207 assertTrue("Failed to create socket", s.getPort() == sport); 332 int sport = startServer("Cons String,I,Z"); local 333 s = new Socket(InetAddress.getLocalHost().getHostName(), sport, true) 341 new Socket(InetAddress.getLocalHost().getHostName(), sport, true); local 363 int sport = startServer("Cons InetAddress,I"); local 370 new Socket(InetAddress.getLocalHost(), sport); local 395 int sport = startServer("Cons InetAddress,I,InetAddress,I"); local 404 new Socket(InetAddress.getLocalHost().getHostName(), sport, local 427 int sport = startServer("Cons InetAddress,I,Z"); local 436 new Socket(InetAddress.getLocalHost(), sport, true); local 458 int sport = startServer("SServer close"); local 486 int sport = startServer("SServer getInetAddress"); local 525 int sport = startServer("SServer getKeepAlive"); local 568 int sport = startServer("SServer getLocAddress"); local 612 int sport = startServer("SServer getLocalPort"); local 632 int sport = startServer("SServer getOutputStream"); local 675 int sport = startServer("SServer getPort"); local 693 int sport = startServer("SServer getSoLinger"); local 731 int sport = startServer("SServer getReceiveBufferSize"); local 766 int sport = startServer("SServer setSendBufferSize"); local 803 int sport = startServer("SServer getSoTimeout"); local 839 int sport = startServer("SServer getTcpNoDelay"); local 880 int sport = startServer("SServer setKeepAlive"); local 960 int sport = startServer("SServer setSendBufferSizeI"); local 993 int sport = startServer("SServer setReceiveBufferSizeI"); local 1027 int sport = startServer("SServer setSoLingerZI"); local 1062 int sport = startServer("SServer seSoTimeoutI"); local 1096 int sport = startServer("SServer setTcpNoDelayZ"); local 1131 int sport = startServer("SServer toString"); local 1244 int sport = startServer("SServer getLocSocketAddress"); local 1340 int sport = startServer("SServer getLocRemoteAddress"); local [all...] |
/external/ipsec-tools/src/racoon/ |
nattraversal.h | 71 u_int16_t sport; member in struct:ph2natt
|
/external/iproute2/ip/ |
ipxfrm.c | 474 fprintf(fp, "sport %u ", ntohs(sel->sport)); 480 /* type/code is stored at sport/dport in selector */ 482 fprintf(fp, "type %u ", ntohs(sel->sport)); 488 fprintf(fp, "type %u ", ntohs(sel->sport)); 686 fprintf(fp, "sport %u ", ntohs(e->encap_sport)); 1065 } else if (strcmp(*argv, "sport") == 0) { 1070 if (get_u16(&sel->sport, *argv, 0)) 1072 sel->sport = htons(sel->sport); [all...] |
xfrm_policy.c | 68 fprintf(stderr, "UPSPEC := proto PROTO [ [ sport PORT ] [ dport PORT ] |\n"); 382 if ((xpinfo->sel.sport^filter.xpinfo.sel.sport)&filter.upspec_sport_mask)
|
/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,
|
/bionic/libc/kernel/common/linux/ |
rtnetlink.h | 328 __u16 sport; member in struct:rta_session::__anon364::__anon365
|
/external/iproute2/include/linux/ |
rtnetlink.h | 392 __u16 sport; member in struct:rta_session::__anon2575::__anon2576
|
xfrm.h | 54 __be16 sport; member in struct:xfrm_selector
|
/ndk/build/platforms/android-3/arch-arm/usr/include/linux/ |
rtnetlink.h | 307 __u16 sport; member in struct:rta_session::__anon9296::__anon9297
|
/ndk/build/platforms/android-4/arch-arm/usr/include/linux/ |
rtnetlink.h | 307 __u16 sport; member in struct:rta_session::__anon9650::__anon9651
|
/ndk/build/platforms/android-5/arch-arm/usr/include/linux/ |
rtnetlink.h | 307 __u16 sport; member in struct:rta_session::__anon10004::__anon10005
|
/ndk/build/platforms/android-5/arch-x86/usr/include/linux/ |
rtnetlink.h | 307 __u16 sport; member in struct:rta_session::__anon10423::__anon10424
|
/ndk/build/platforms/android-8/arch-arm/usr/include/linux/ |
rtnetlink.h | 307 __u16 sport; member in struct:rta_session::__anon10786::__anon10787
|
/ndk/build/platforms/android-8/arch-x86/usr/include/linux/ |
rtnetlink.h | 307 __u16 sport; member in struct:rta_session::__anon11210::__anon11211
|