Home
last modified time | relevance | path

Searched refs:IPV6_ADDR_LEN (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DStructInetDiagSockId.java23 import static com.android.net.module.util.NetworkStackConstants.IPV6_ADDR_LEN;
101 byteBuffer.position(byteBuffer.position() + (IPV6_ADDR_LEN - IPV4_ADDR_LEN)); in parse()
103 byteBuffer.position(byteBuffer.position() + (IPV6_ADDR_LEN - IPV4_ADDR_LEN)); in parse()
112 final byte[] srcAddrByte = new byte[IPV6_ADDR_LEN]; in parse()
113 final byte[] dstAddrByte = new byte[IPV6_ADDR_LEN]; in parse()
DStructNdOptRdnss.java19 import static com.android.net.module.util.NetworkStackConstants.IPV6_ADDR_LEN;
95 byte[] rawAddress = new byte[IPV6_ADDR_LEN]; in parse()
119 + servers.length * IPV6_ADDR_LEN); in toByteBuffer()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DNeighborPacketForwarder.java62 private static final int IPV6_ADDR_LEN = 16; field in NeighborPacketForwarder
145 IPV6_DST_ADDR_OFFSET, IPV6_DST_ADDR_OFFSET + IPV6_ADDR_LEN)); in getIpv6DestinationAddress()
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DNetworkConstants.h25 constexpr int IPV6_ADDR_LEN = 16; variable
DInternetAddresses.h90 const int cmp = std::memcmp(v6a.s6_addr, v6b.s6_addr, IPV6_ADDR_LEN);
/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java53 import static com.android.net.module.util.NetworkStackConstants.IPV6_ADDR_LEN;
320 final int minReq = RESERVED + IPV6_ADDR_LEN; in parseICMPv6NeighborMessage()
400 return getIpAddressString(ipv6, IPV6_ADDR_LEN); in getIPv6AddressString()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeTrafficSelector.java100 private static final int IPV6_ADDR_LEN = 16; field in IkeTrafficSelector
344 int expectedAddrLen = isTsIpv4 ? IPV4_ADDR_LEN : IPV6_ADDR_LEN; in decodeTrafficSelector()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkStackConstants.java126 public static final int IPV6_ADDR_LEN = 16; field in NetworkStackConstants
DDnsSvcbRecord.java387 super(KEY_IPV6HINT, buf, NetworkStackConstants.IPV6_ADDR_LEN); in SvcParamIpv6Hint()
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DInternetAddresses.cpp112 for (int i = which + 1; i < IPV6_ADDR_LEN; i++) { in IPPrefix()
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DRouterAdvertisementDaemonTest.java28 import static com.android.net.module.util.NetworkStackConstants.IPV6_ADDR_LEN;
247 byte[] rawAddress = new byte[IPV6_ADDR_LEN]; in isPacketMatched()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java102 import static com.android.net.module.util.NetworkStackConstants.IPV6_ADDR_LEN;
794 byte[] prefix = new byte[IPV6_ADDR_LEN]; in rioOptionToString()
962 addIgnoreSection(IPV6_ADDR_LEN); in Ra()
1008 addMatchSection(IPV6_ADDR_LEN); // The prefix itself in Ra()
1867 .addPacketCopy(ICMP6_NS_TARGET_IP_OFFSET, IPV6_ADDR_LEN) // src ip in generateNonDadNaTransmitLocked()
1868 .addPacketCopy(IPV6_SRC_ADDR_OFFSET, IPV6_ADDR_LEN); // dst ip in generateNonDadNaTransmitLocked()
1877 .addPacketCopy(ICMP6_NS_TARGET_IP_OFFSET, IPV6_ADDR_LEN) // target address in generateNonDadNaTransmitLocked()
DLegacyApfFilter.java38 import static com.android.net.module.util.NetworkStackConstants.IPV6_ADDR_LEN;
691 byte[] prefix = new byte[IPV6_ADDR_LEN]; in rioOptionToString()
894 addMatchSection(IPV6_ADDR_LEN); // The prefix itself in Ra()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinator.java313 final byte[] in6addr = Arrays.copyOf(ulp, NetworkConstants.IPV6_ADDR_LEN); in generateUniqueLocalPrefix()
DBpfCoordinator.java31 import static com.android.net.module.util.NetworkStackConstants.IPV6_ADDR_LEN;
1268 byte[] prefixBytes = Arrays.copyOf(ip64, IPV6_ADDR_LEN); in bytesToPrefix()