/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/ |
D | StructInetDiagSockId.java | 23 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()
|
D | StructNdOptRdnss.java | 19 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/ |
D | NeighborPacketForwarder.java | 62 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/ |
D | NetworkConstants.h | 25 constexpr int IPV6_ADDR_LEN = 16; variable
|
D | InternetAddresses.h | 90 const int cmp = std::memcmp(v6a.s6_addr, v6b.s6_addr, IPV6_ADDR_LEN);
|
/packages/modules/NetworkStack/src/android/net/util/ |
D | ConnectivityPacketSummary.java | 53 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/ |
D | IkeTrafficSelector.java | 100 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/ |
D | NetworkStackConstants.java | 126 public static final int IPV6_ADDR_LEN = 16; field in NetworkStackConstants
|
D | DnsSvcbRecord.java | 387 super(KEY_IPV6HINT, buf, NetworkStackConstants.IPV6_ADDR_LEN); in SvcParamIpv6Hint()
|
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/ |
D | InternetAddresses.cpp | 112 for (int i = which + 1; i < IPV6_ADDR_LEN; i++) { in IPPrefix()
|
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/ |
D | RouterAdvertisementDaemonTest.java | 28 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/ |
D | ApfFilter.java | 102 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()
|
D | LegacyApfFilter.java | 38 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/ |
D | IPv6TetheringCoordinator.java | 313 final byte[] in6addr = Arrays.copyOf(ulp, NetworkConstants.IPV6_ADDR_LEN); in generateUniqueLocalPrefix()
|
D | BpfCoordinator.java | 31 import static com.android.net.module.util.NetworkStackConstants.IPV6_ADDR_LEN; 1268 byte[] prefixBytes = Arrays.copyOf(ip64, IPV6_ADDR_LEN); in bytesToPrefix()
|