/external/avahi/tests/ |
fuzz-mdns.py | 6 sendp(Ether(type=0x800, dst="ff:ff:ff:ff:ff:ff")/IP(dst="224.0.0.251")/fuzz(UDP(dport = 5353, sport = 5353)/DNS(qd = fuzz(DNSQR()))),loop=1, iface="realtek0")
|
/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 | 62 int sport = startServer("Cons InetAddress,I"); local 65 SSLSocket ssl = getSSLSocket(InetAddress.getLocalHost(), sport); 67 assertEquals(sport, ssl.getPort()); 71 getSSLSocket(InetAddress.getLocalHost(), sport + 1); local 90 int sport = startServer("Cons InetAddress,I,InetAddress,I"); local 92 SSLSocket ssl = getSSLSocket(InetAddress.getLocalHost(), sport, 95 assertEquals(sport, ssl.getPort()); 105 getSSLSocket(InetAddress.getLocalHost(), -1, InetAddress.getLocalHost(), sport + 1); local 110 getSSLSocket(InetAddress.getLocalHost(), sport, InetAddress.getLocalHost(), -1); local 117 InetAddress.getLocalHost(), sport + 1) local 125 getSSLSocket(InetAddress.getLocalHost(), sport, local 137 int sport = startServer("Cons String,I"); local 171 int sport = startServer("Cons String,I,InetAddress,I"); local 193 getSSLSocket(InetAddress.getLocalHost().getHostName(), sport, local 524 int sport; field in class:SSLSocketTest.TestServer [all...] |
/system/extras/tests/net_test/ |
packets.py | 56 def UDP(version, srcaddr, dstaddr, sport=0): 58 # Can't just use "if sport" because None has meaning (it means unspecified). 59 if sport == 0: 60 sport = RandomPort() 63 scapy.UDP(sport=sport, dport=53) / UDP_PAYLOAD) 65 def UDPWithOptions(version, srcaddr, dstaddr, sport=0): 68 scapy.UDP(sport=sport, dport=53) / 73 scapy.UDP(sport=sport, dport=53) [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 130 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport, 133 assertTrue("1: Failed to create socket", s.getPort() == sport); 136 sf.createSocket(InetAddress.getLocalHost(), sport, local 214 int sport = new ServerSocket(0).getLocalPort(); local 236 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/autotest/client/deps/lansim/src/py/ |
host.py | 191 sport = pkt.ip.tcp.sport 195 if (shost, sport, dport) in self._tcp_fwd_out: 196 fhost, fport, oport = self._tcp_fwd_out[(shost, sport, dport)] 198 pkt.ip.tcp.sport = oport 212 if (shost, sport, dport) in self._tcp_fwd_in: 213 lport = self._tcp_fwd_in[(shost, sport, dport)] 217 self._tcp_fwd_in[(shost, sport, dport)] = lport 218 self._tcp_fwd_out[(fhost, fport, lport)] = (shost, sport, dport) 221 pkt.ip.tcp.sport = lpor [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 408 int sport = startServer("SServer getTcpNoDelay"); local 438 int sport = startServer("SServer setKeepAlive"); local 484 int sport = startServer("SServer setSendBufferSizeI"); local 507 int sport = startServer("SServer setReceiveBufferSizeI"); local 531 int sport = startServer("SServer setSoLingerZI"); local 556 int sport = startServer("SServer setTcpNoDelayZ"); local 581 int sport = startServer("SServer toString"); local 659 int sport = startServer("SServer getLocSocketAddress"); local 697 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::__anon771
|
/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::__anon1878
|
/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::__anon13399
|
/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::__anon40767
|
/prebuilts/ndk/current/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::__anon55955
|
/prebuilts/ndk/current/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::__anon56722
|
/prebuilts/ndk/current/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::__anon57501
|
/prebuilts/ndk/current/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::__anon58279
|