Home
last modified time | relevance | path

Searched refs:ipv4 (Results 1 – 25 of 66) sorted by relevance

123

/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/ipaddr/
Dipaddr_test.py34 self.ipv4 = ipaddr.IPv4Network('1.2.3.4/24')
39 del(self.ipv4)
163 self.assertEqual(int(self.ipv4.network), 16909056)
164 self.assertEqual(str(self.ipv4.network), '1.2.3.0')
217 self.assertEqual(self.ipv4.ip, ipaddr.IPv4Network(16909060).ip)
223 ipv4 = ipaddr.IPNetwork('1.2.3.4')
225 self.assertEqual(ipv4, ipaddr.IPNetwork(int(ipv4)))
235 self.assertEqual(ipaddr.IPNetwork(self.ipv4.ip).version, 4)
241 self.assertEqual(self.ipv4.ip,
259 self.assertEqual(int(self.ipv4.ip), 16909060)
[all …]
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/IN/
DA.py17 import dns.ipv4
32 junk = dns.ipv4.inet_aton(address)
46 file.write(dns.ipv4.inet_aton(self.address))
49 address = dns.ipv4.inet_ntoa(wire[current : current + rdlen])
55 sa = dns.ipv4.inet_aton(self.address)
56 oa = dns.ipv4.inet_aton(other.address)
DWKS.py19 import dns.ipv4
88 file.write(dns.ipv4.inet_aton(self.address))
94 address = dns.ipv4.inet_ntoa(wire[current : current + 4])
104 sa = dns.ipv4.inet_aton(self.address)
105 oa = dns.ipv4.inet_aton(other.address)
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/
Dinet.py20 import dns.ipv4
50 return dns.ipv4.inet_aton(text)
68 return dns.ipv4.inet_ntoa(address)
83 junk = dns.ipv4.inet_aton(text)
100 first = ord(dns.ipv4.inet_aton(text)[0])
Dreversename.py26 import dns.ipv4
43 parts = ['%d' % ord(byte) for byte in dns.ipv4.inet_aton(text)]
60 return dns.ipv4.inet_ntoa(dns.ipv4.inet_aton(text))
Dipv6.py21 import dns.ipv4
84 hex = prefix + dns.ipv4.inet_ntoa(address[12:])
/external/android-clat/
Dconfig.c255 in_addr_t ipv4 = ntohl(ip->s_addr); in config_select_ipv4_address() local
256 in_addr_t first_ipv4 = ipv4; in config_select_ipv4_address()
257 in_addr_t prefix = ipv4 & mask; in config_select_ipv4_address()
262 if (config_is_ipv4_address_free(htonl(ipv4))) { in config_select_ipv4_address()
263 chosen = htonl(ipv4); in config_select_ipv4_address()
266 ipv4 = prefix | ((ipv4 + 1) & ~mask); in config_select_ipv4_address()
267 } while (ipv4 != first_ipv4); in config_select_ipv4_address()
DAndroid.mk4 LOCAL_SRC_FILES:=clatd.c dump.c checksum.c translate.c icmp.c ipv4.c ipv6.c config.c dns64.c loggin…
33 LOCAL_SRC_FILES := clatd_test.cpp checksum.c translate.c icmp.c ipv4.c ipv6.c logging.c config.c tu…
DBUGS5 …- assumes the nat64 gateway has the ipv4 address in the last 32 bits of the ipv6 address (that it …
/external/parameter-framework/asio-1.10.6/include/asio/ip/impl/
Daddress.ipp29 : type_(ipv4),
36 : type_(ipv4),
81 type_ = ipv4;
97 if (type_ != ipv4)
154 tmp.type_ = ipv4;
175 return (type_ == ipv4)
182 return (type_ == ipv4)
189 return (type_ == ipv4)
/external/avahi/avahi-core/
Daddr-util.c42 …memcpy(&ret_addr->data.ipv4, &((const struct sockaddr_in*) sa)->sin_addr, sizeof(ret_addr->data.ip… in avahi_address_from_sockaddr()
85 uint32_t n = ntohl(a->data.ipv4.address); in avahi_address_is_link_local()
Diface.c217 …mcast_join_ipv4(i->monitor->server->fd_ipv4, &i->local_mcast_address.data.ipv4, i->hardware->index… in interface_mdns_mcast_join()
599 …re->index, p, i->mcast_joined ? &i->local_mcast_address.data.ipv4 : NULL, a ? &a->data.ipv4 : NULL… in avahi_interface_send_packet_unicast()
793 if ((ntohl(a->data.ipv4.address) & m) == (ntohl(ia->address.data.ipv4.address) & m)) in avahi_interface_address_on_link()
/external/guava/guava-tests/test/com/google/common/net/
DInetAddressesTest.java445 InetAddress ipv4 = InetAddresses.forString(ipv4Str); in test6to4Addresses() local
448 assertEquals(ipv4, InetAddresses.get6to4IPv4Address((Inet6Address) ip)); in test6to4Addresses()
501 InetAddress ipv4 = InetAddresses.forString("1.2.3.4"); in testIsatapAddresses() local
522 assertEquals("checking '" + validIsatapAddresses[i] + "'", ipv4, in testIsatapAddresses()
552 InetAddress ipv4 = InetAddresses.forString("1.2.3.4"); in testGetEmbeddedIPv4ClientAddress() local
553 assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp)); in testGetEmbeddedIPv4ClientAddress()
558 ipv4 = InetAddresses.forString("1.2.3.4"); in testGetEmbeddedIPv4ClientAddress()
559 assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp)); in testGetEmbeddedIPv4ClientAddress()
565 ipv4 = InetAddresses.forString("192.0.2.45"); in testGetEmbeddedIPv4ClientAddress()
566 assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp)); in testGetEmbeddedIPv4ClientAddress()
/external/iproute2/
DREADME.lnstat12 (ipv4, ipv6, atm, decnet)
14 (ipv4)
16 (ipv4)
/external/c-ares/
Dinet_net_pton.c290 int ipv4; in inet_net_pton_ipv6() local
304 ipv4 = 0; in inet_net_pton_ipv6()
340 ipv4 = 1; in inet_net_pton_ipv6()
359 if (ipv4) in inet_net_pton_ipv6()
/external/wpa_supplicant_8/wpa_supplicant/examples/
Dp2p-action-udhcp.sh58 sysctl net.ipv4.ip_forward=1
65 sysctl net.ipv4.ip_forward=0
Dp2p-action.sh85 sysctl net.ipv4.ip_forward=1
92 sysctl net.ipv4.ip_forward=0
/external/parameter-framework/asio-1.10.6/include/asio/ip/
Daddress.hpp71 return type_ == ipv4; in is_v4()
151 enum { ipv4, ipv6 } type_; enumerator
/external/webrtc/webrtc/base/
Dipaddress.cc232 in_addr ipv4; in ExtractMappedAddress() local
233 ::memcpy(&ipv4.s_addr, &in6.s6_addr[12], sizeof(ipv4.s_addr)); in ExtractMappedAddress()
234 return ipv4; in ExtractMappedAddress()
/external/avahi/avahi-daemon/
Davahi-daemon.conf25 use-ipv4=yes
Davahi-service.dtd6 <!ATTLIST service protocol (ipv4|ipv6|any) "any">
/external/autotest/client/site_tests/platform_OSLimits/
Dcontrol24 - net/ipv4/tcp_syncookies
65 - net/ipv4/tcp_syncookies: make sure weird inbound TCP flooding is safe.
/external/autotest/client/tests/ltp/patches/
Dsysctl.patch200 +#define TEST_SYSCTL_PATH "/proc/sys/net/ipv4/ip_local_port_range"
244 policy = "allow_read /proc/sys/net/ipv4/ip_local_port_range";
252 policy = "allow_write /proc/sys/net/ipv4/ip_local_port_range";
260 policy = "allow_read/write /proc/sys/net/ipv4/ip_local_port_range";
/external/avahi/avahi-common/
Daddress.h75 AvahiIPv4Address ipv4; /**< Address when IPv4 */ member
/external/iproute2/examples/
Ddhcp-client-script347 if [ -d /proc/sys/net/ipv4/conf/$interface ]; then
350 if [ -d /proc/sys/net/ipv4/conf/$interface ]; then

123