Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service/native/libs/libclat/
Dclatutils.cpp79 uint32_t ipv4 = ntohl(ip.s_addr); in selectIpv4AddressInternal() local
80 const uint32_t first_ipv4 = ipv4; in selectIpv4AddressInternal()
81 const uint32_t prefix = ipv4 & mask; in selectIpv4AddressInternal()
86 if (isIpv4AddressFreeFunc(htonl(ipv4))) return htonl(ipv4); in selectIpv4AddressInternal()
87 ipv4 = prefix | ((ipv4 + 1) & ~mask); in selectIpv4AddressInternal()
88 } while (ipv4 != first_ipv4); in selectIpv4AddressInternal()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfUtils.java77 public static void attachProgram(@NonNull String iface, boolean downstream, boolean ipv4) in attachProgram() argument
91 if (ipv4) { in attachProgram()
119 public static void detachProgram(@NonNull String iface, boolean ipv4) throws IOException { in detachProgram() argument
125 if (ipv4) { in detachProgram()
/packages/modules/Connectivity/bpf_progs/
DdscpPolicy.c45 static inline __always_inline void match_policy(struct __sk_buff* skb, bool ipv4) { in DEFINE_BPF_MAP_GRW()
67 if (ipv4) { in DEFINE_BPF_MAP_GRW()
132 if (ipv4) { in DEFINE_BPF_MAP_GRW()
156 if (ipv4) { in DEFINE_BPF_MAP_GRW()
212 if (ipv4) { in DEFINE_BPF_MAP_GRW()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DInetAddressUtilsTest.java58 InetAddress ipv4 = InetAddress.getByName("192.0.2.1"); in testParcelUnparcelIpv4Address() local
59 assertEquals(ipv4, parcelUnparcelAddress(ipv4)); in testParcelUnparcelIpv4Address()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/
DWifiP2pInfoTest.java40 byte[] ipv4 = {(byte) 192, (byte) 168, (byte) 49, (byte) 1}; in setUp()
41 mGroupOnwerIpv4Address = InetAddress.getByAddress(ipv4); in setUp()
/packages/modules/Connectivity/Tethering/apishim/common/com/android/networkstack/tethering/apishim/common/
DBpfCoordinatorShim.java182 boolean ipv4); in attachProgram() argument
192 public abstract boolean detachProgram(@NonNull String iface, boolean ipv4); in detachProgram() argument
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java412 public boolean attachProgram(String iface, boolean downstream, boolean ipv4) { in attachProgram() argument
414 BpfUtils.attachProgram(iface, downstream, ipv4); in attachProgram()
423 public boolean detachProgram(String iface, boolean ipv4) { in detachProgram() argument
425 BpfUtils.detachProgram(iface, ipv4); in detachProgram()
/packages/modules/Connectivity/Tethering/apishim/30/com/android/networkstack/tethering/apishim/api30/
DBpfCoordinatorShimImpl.java168 public boolean attachProgram(String iface, boolean downstream, boolean ipv4) { in attachProgram() argument
174 public boolean detachProgram(String iface, boolean ipv4) { in detachProgram() argument
/packages/modules/Connectivity/clatd/
DBUGS5 …- assumes the nat64 gateway has the ipv4 address in the last 32 bits of the ipv6 address (that it …
DAndroid.bp45 "ipv4.c",
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DInternetAddresses.h138 explicit IPAddress(const in_addr& ipv4) in IPAddress() argument
139 : mData({AF_INET, IPV4_ADDR_BITS, 0U, 0U, {.v4 = ipv4}}) {} in IPAddress()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DIpConnectivityMetricsTest.java611 NetworkAgentInfo makeNai(int netId, boolean ipv4, boolean ipv6, long transports) { in makeNai() argument
623 if (ipv4) { in makeNai()
DIpConnectivityEventBuilderTest.java195 ev.ipv4 = true; in testDefaultNetworkEventSerialization()
/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java395 private static String getIPv4AddressString(ByteBuffer ipv4) { in getIPv4AddressString() argument
396 return getIpAddressString(ipv4, IPV4_ADDR_LEN); in getIPv4AddressString()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java1522 final boolean ipv4 = false, ipv6 = true; in testDnsParsing()
1527 doTestDnsParsing(true, ipv4, "googlecast.tcp.local", "googlecast.tcp.local"); in testDnsParsing()
1529 doTestDnsParsing(false, ipv4, "googlecast.tcp.lozal", "googlecast.tcp.local"); in testDnsParsing()
1531 doTestDnsParsing(false, ipv4, "googlecast.udp.local", "googlecast.tcp.local"); in testDnsParsing()
1537 doTestDnsParsing(true, ipv4, "googlecast.tcp.local", in testDnsParsing()
1539 doTestDnsParsing(false, ipv4, "googlecast.tcp.local", in testDnsParsing()
1543 doTestDnsParsing(false, ipv4, "veryverylongservicename.tcp.local", in testDnsParsing()
/packages/modules/Virtualization/docs/
Dcustom_vm.md255 sysctl net.ipv4.ip_forward=1
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...