Home
last modified time | relevance | path

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

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
DBUGS5 …- assumes the nat64 gateway has the ipv4 address in the last 32 bits of the ipv6 address (that it …
/external/chromium_org/ppapi/tests/
Dtest_network_monitor.cc75 PP_NetAddress_IPv4 ipv4; in VerifyNetworkList() local
76 ASSERT_TRUE(addresses[i].DescribeAsIPv4Address(&ipv4)); in VerifyNetworkList()
80 for (size_t j = 0; j < sizeof(ipv4.addr); ++j) { in VerifyNetworkList()
81 if (ipv4.addr[j] != 0) { in VerifyNetworkList()
89 ASSERT_TRUE(ipv4.port == 0); in VerifyNetworkList()
Dtest_net_address_private.cc233 PP_NetAddress_Private ipv4 = MakeIPv4NetAddress(localhost_ip, 80); in TestGetFamily() local
234 ASSERT_EQ(NetAddressPrivate::GetFamily(ipv4), in TestGetFamily()
308 PP_NetAddress_Private ipv4 = MakeIPv4NetAddress(localhost_ip, 80); in TestGetScopeID() local
309 ASSERT_EQ(0, NetAddressPrivate::GetScopeID(ipv4)); in TestGetScopeID()
/external/guava/guava-tests/test/com/google/common/net/
DInetAddressesTest.java423 InetAddress ipv4 = InetAddresses.forString(ipv4Str); in test6to4Addresses() local
426 assertEquals(ipv4, InetAddresses.get6to4IPv4Address((Inet6Address) ip)); in test6to4Addresses()
471 InetAddress ipv4 = InetAddresses.forString("1.2.3.4"); in testIsatapAddresses() local
492 assertEquals("checking '" + validIsatapAddresses[i] + "'", ipv4, in testIsatapAddresses()
522 InetAddress ipv4 = InetAddresses.forString("1.2.3.4"); in testGetEmbeddedIPv4ClientAddress() local
523 assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp)); in testGetEmbeddedIPv4ClientAddress()
528 ipv4 = InetAddresses.forString("1.2.3.4"); in testGetEmbeddedIPv4ClientAddress()
529 assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp)); in testGetEmbeddedIPv4ClientAddress()
535 ipv4 = InetAddresses.forString("192.0.2.45"); in testGetEmbeddedIPv4ClientAddress()
536 assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp)); in testGetEmbeddedIPv4ClientAddress()
/external/iproute2/
DREADME.lnstat12 (ipv4, ipv6, atm, decnet)
14 (ipv4)
16 (ipv4)
/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/chromium_org/media/cast/test/utility/
Dshadow.sh78 lxc.network.ipv4 = $SHADOWIP/$MASK_BITS
79 lxc.network.ipv4.gateway = $IP
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/
Dsocket_node.cc152 PP_NetAddress_IPv4 ipv4; in ResourceToSockAddr() local
155 if (PP_TRUE == NetInterface()->DescribeAsIPv4Address(addr, &ipv4)) { in ResourceToSockAddr()
158 addr4.sin_port = ipv4.port; in ResourceToSockAddr()
159 memcpy(&addr4.sin_addr, ipv4.addr, sizeof(ipv4.addr)); in ResourceToSockAddr()
/external/chromium_org/chromeos/network/
Dhost_resolver_impl_chromeos.cc180 net::IPAddressNumber ipv4; in ResolveLocalIPAddress() local
181 if (net::ParseIPLiteralToNumber(ipv4_address_, &ipv4)) in ResolveLocalIPAddress()
182 addresses->push_back(net::IPEndPoint(ipv4, 0)); in ResolveLocalIPAddress()
/external/chromium_org/cloud_print/gcp20/prototype/
Dprinter.cc836 net::IPAddressNumber ipv4; in StartDnsServer() local
841 ipv4 = GetLocalIp("", false); in StartDnsServer()
849 if (ipv4.empty() && ipv6.empty()) { in StartDnsServer()
856 VLOG_IF(0, !ipv4.empty()) in StartDnsServer()
857 << "Local IPv4 address: " << net::IPAddressToStringWithPort(ipv4, port); in StartDnsServer()
862 if (!ipv4.empty()) in StartDnsServer()
863 service_name_prefix += net::IPAddressToString(ipv4); in StartDnsServer()
878 ipv4, in StartDnsServer()
/external/chromium_org/third_party/webrtc/base/
Dipaddress.cc223 in_addr ipv4; in ExtractMappedAddress() local
224 ::memcpy(&ipv4.s_addr, &in6.s6_addr[12], sizeof(ipv4.s_addr)); in ExtractMappedAddress()
225 return ipv4; in ExtractMappedAddress()
/external/guava/guava/src/com/google/common/net/
DInetAddresses.java146 InetAddress ipv4 = InetAddress.getByAddress(bytes); in getInet4Address() local
147 if (!(ipv4 instanceof Inet4Address)) { in getInet4Address()
150 ipv4.getHostAddress())); in getInet4Address()
153 return (Inet4Address) ipv4; in getInet4Address()
/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
/external/sepolicy/
Ddhcp.te14 # For /proc/sys/net/ipv4/conf/*/promote_secondaries
/external/iproute2/ip/
Difcfg5 sbase=/proc/sys/net/ipv4/conf
/external/iptables/extensions/
Dlibipt_ULOG.man1 This is the deprecated ipv4-only predecessor of the NFLOG target.
/external/chromium_org/third_party/boringssl/src/crypto/bio/
Dconnect.c107 static void maybe_copy_ipv4_address(uint8_t *ipv4, in maybe_copy_ipv4_address() argument
116 memcpy(ipv4, &sin->sin_addr, 4); in maybe_copy_ipv4_address()
/external/iptables/
Dconfigure.ac36 AC_ARG_ENABLE([ipv4], optenable
37 AS_HELP_STRING([--disable-ipv4], [Do not build iptables]),
/external/mdnsresponder/mDNSPosix/
DIdentify.c131 mprintf("%##s %s %.4a\n", answer->name->c, DNSTypeName(answer->rrtype), &answer->rdata->u.ipv4); in InfoCallback()
133 hostaddr.ip.v4 = answer->rdata->u.ipv4; in InfoCallback()
/external/skia/experimental/webtry/
DREADME.md70 sudo bash -c 'echo 60 > /proc/sys/net/ipv4/tcp_keepalive_time'
/external/chromium_org/third_party/skia/experimental/webtry/
DREADME.md70 sudo bash -c 'echo 60 > /proc/sys/net/ipv4/tcp_keepalive_time'
/external/mdnsresponder/mDNSCore/
DDNSCommon.c185 case kDNSType_A: mDNS_snprintf(buffer+length, RemSpc, "%.4a", &rd->ipv4); break; in GetRRDisplayString_rdb()
1401 case kDNSType_A: return(sizeof(rd->ipv4)); in GetRDLength()
1655 *ptr++ = rdb->ipv4.b[0]; in putRData()
1656 *ptr++ = rdb->ipv4.b[1]; in putRData()
1657 *ptr++ = rdb->ipv4.b[2]; in putRData()
1658 *ptr++ = rdb->ipv4.b[3]; in putRData()
2207 rdb->ipv4.b[0] = ptr[0]; in GetLargeResourceRecord()
2208 rdb->ipv4.b[1] = ptr[1]; in GetLargeResourceRecord()
2209 rdb->ipv4.b[2] = ptr[2]; in GetLargeResourceRecord()
2210 rdb->ipv4.b[3] = ptr[3]; in GetLargeResourceRecord()

12