Home
last modified time | relevance | path

Searched refs:NAME_COMPRESSION (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DDnsPacketUtils.java19 import static com.android.net.module.util.DnsPacket.DnsRecord.NAME_COMPRESSION;
155 final int mask = len & NAME_COMPRESSION; in parseName()
158 } else if (mask != NAME_NORMAL && mask != NAME_COMPRESSION in parseName()
159 || (!isNameCompressionSupported && mask == NAME_COMPRESSION)) { in parseName()
161 } else if (mask == NAME_COMPRESSION) { in parseName()
163 final int offset = ((len & ~NAME_COMPRESSION) << 8) + Byte.toUnsignedInt(buf.get()); in parseName()
DDnsPacket.java259 public static final int NAME_COMPRESSION = 0xC0; field in DnsPacket.DnsRecord