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

1 2 3 4 5 6

  /external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/
inet.py 20 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])
reversename.py 18 @var ipv4_reverse_domain: The DNS IPv4 reverse-map domain, in-addr.arpa.
26 import dns.ipv4
32 """Convert an IPv4 or IPv6 address in textual form into a Name object whose
34 @param text: an IPv4 or IPv6 address in textual form (e.g. '127.0.0.1',
43 parts = ['%d' % ord(byte) for byte in dns.ipv4.inet_aton(text)]
50 @param name: an IPv4 or IPv6 address in reverse-map form.
60 return dns.ipv4.inet_ntoa(dns.ipv4.inet_aton(text))
ipv6.py 21 import dns.ipv4
79 # We have an embedded IPv4 address
84 hex = prefix + dns.ipv4.inet_ntoa(address[12:])
  /external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/IN/
A.py 17 import dns.ipv4
24 @ivar address: an IPv4 address
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)
WKS.py 19 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/webpagereplay/third_party/ipaddr/
ipaddr_test.py 34 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
    [all...]
  /external/avahi/avahi-daemon/
avahi-daemon.conf 25 use-ipv4=yes
54 #publish-aaaa-on-ipv4=yes
  /system/extras/tests/net_test/
net_test.sh 12 echo "0 65536" > /proc/sys/net/ipv4/ping_group_range
  /external/avahi/avahi-core/
addr-util.c 42 memcpy(&ret_addr->data.ipv4, &((const struct sockaddr_in*) sa)->sin_addr, sizeof(ret_addr->data.ipv4));
85 uint32_t n = ntohl(a->data.ipv4.address);
  /external/android-clat/
Android.mk 4 LOCAL_SRC_FILES:=clatd.c dump.c checksum.c translate.c icmp.c ipv4.c ipv6.c config.c dns64.c logging.c getaddr.c netlink_callbacks.c netlink_msg.c setif.c mtu.c tun.c ring.c
33 LOCAL_SRC_FILES := clatd_test.cpp checksum.c translate.c icmp.c ipv4.c ipv6.c logging.c config.c tun.c
config.c 95 * locates the config item, parses the ipv4 address, and returns the pointer ret_val_ptr, or NULL on failure
112 logmsg(ANDROID_LOG_FATAL,"invalid IPv4 address specified for %s: %s", item_name, tmp);
190 * picks a random interface ID that is checksum neutral with the IPv4 address and the NAT64 prefix
192 * ipv4_local_subnet - clat IPv4 address
201 // checksum(Local IPv4 | Remote IPv4) = checksum(Local IPv6 | Remote IPv6)
202 // in other words (because remote IPv6 = NAT64 prefix | Remote IPv4):
203 // checksum(Local IPv4) = checksum(Local IPv6 | NAT64 prefix)
240 * picks a free IPv4 address, starting from ip and trying all addresses in the prefix in order
243 * returns: the IPv4 address, or INADDR_NONE if no addresses were availabl
255 in_addr_t ipv4 = ntohl(ip->s_addr); local
    [all...]
  /external/parameter-framework/asio-1.10.6/include/asio/ip/
address.hpp 42 /// Construct an address from an IPv4 address.
60 /// Assign from an IPv4 address.
71 return type_ == ipv4;
92 /// Create an address from an IPv4 address string in dotted decimal form,
96 /// Create an address from an IPv4 address string in dotted decimal form,
101 /// Create an address from an IPv4 address string in dotted decimal form,
105 /// Create an address from an IPv4 address string in dotted decimal form,
151 enum { ipv4, ipv6 } type_; enumerator in enum:asio::ip::address::__anon22750
153 // The underlying IPv4 address.
  /external/wpa_supplicant_8/wpa_supplicant/examples/
p2p-action-udhcp.sh 58 sysctl net.ipv4.ip_forward=1
65 sysctl net.ipv4.ip_forward=0
p2p-action.sh 85 sysctl net.ipv4.ip_forward=1
92 sysctl net.ipv4.ip_forward=0
  /external/avahi/avahi-common/
address.h 40 AVAHI_PROTO_INET = 0, /**< IPv4 */
59 /** An IPv4 address */
75 AvahiIPv4Address ipv4; /**< Address when IPv4 */ member in union:AvahiAddress::__anon7078
100 /** Generate the DNS reverse lookup name for an IPv4 or IPv6 address. */
112 /** Return a textual representation of the specified protocol number. i.e. "IPv4", "IPv6" or "UNSPEC" */
  /external/c-ares/
inet_net_pton.c 58 * convert IPv4 network number from presentation to network format.
64 * not an IPv4 network specification.
290 int ipv4; local
304 ipv4 = 0;
340 ipv4 = 1;
359 if (ipv4)
  /external/guava/guava-tests/test/com/google/common/net/
InetAddressesTest.java 175 // Don't need to test IPv4 much; it just calls getHostAddress().
384 * from an "IPv4 mapped" IPv6 address. Our String-based method can
445 InetAddress ipv4 = InetAddresses.forString(ipv4Str); local
448 assertEquals(ipv4, InetAddresses.get6to4IPv4Address((Inet6Address) ip));
501 InetAddress ipv4 = InetAddresses.forString("1.2.3.4"); local
522 assertEquals("checking '" + validIsatapAddresses[i] + "'", ipv4,
552 InetAddress ipv4 = InetAddresses.forString("1.2.3.4"); local
553 assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp));
558 ipv4 = InetAddresses.forString("1.2.3.4");
559 assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp))
    [all...]
  /external/curl/tests/
serverhelp.pm 110 $ipver = (not $ipver) ? 'ipv4' : lc($ipver);
112 ($ipver =~ /^(4|6|ipv4|ipv6|-ipv4|-ipv6|unix)$/));
  /prebuilts/go/darwin-x86/src/net/
hosts_test.go 38 "testdata/ipv4-hosts", // see golang.org/issue/8996
90 "testdata/ipv4-hosts", // see golang.org/issue/8996
  /prebuilts/go/linux-x86/src/net/
hosts_test.go 38 "testdata/ipv4-hosts", // see golang.org/issue/8996
90 "testdata/ipv4-hosts", // see golang.org/issue/8996
  /libcore/luni/src/test/java/libcore/java/nio/channels/
DatagramChannelTest.java 141 InetAddress bindAddress = getNonLoopbackNetworkInterfaceAddress(true /* ipv4 */);
146 InetAddress bindAddress = getNonLoopbackNetworkInterfaceAddress(false /* ipv4 */);
256 private static InetAddress getNonLoopbackNetworkInterfaceAddress(boolean ipv4) throws IOException {
266 if ( (ipv4 && inetAddress instanceof Inet4Address)
267 || (!ipv4 && inetAddress instanceof Inet6Address)) {
  /external/webrtc/webrtc/base/
ipaddress.cc 94 // IPv4 is 'less than' IPv6
232 in_addr ipv4; local
233 ::memcpy(&ipv4.s_addr, &in6.s6_addr[12], sizeof(ipv4.s_addr));
234 return ipv4;
  /development/scripts/
reverse_tether.sh 156 sudo sysctl -w net.ipv4.ip_forward=1
171 sudo sysctl -w net.ipv4.ip_forward=0
  /external/iproute2/ip/
ifcfg 5 sbase=/proc/sys/net/ipv4/conf
  /hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
loc_eng_agps.h 204 // ipv4 address for routing
304 unsigned int ipv4, char* ipv6) :
305 Subscriber(ipv4, stateMachine)

Completed in 1082 milliseconds

1 2 3 4 5 6