D | DnsPacket.java | 263 public final String dName; field in DnsPacket.DnsRecord 290 dName = DnsRecordParser.parseName(buf, 0 /* Parse depth */, in DnsRecord() 292 if (dName.length() > MAXNAMESIZE) { in DnsRecord() 294 "Parse name fail, name size is too long: " + dName.length()); in DnsRecord() 352 public static DnsRecord makeAOrAAAARecord(int rType, @NonNull String dName, in makeAOrAAAARecord() argument 355 return new DnsRecord(rType, dName, nsType, nsClass, ttl, address, null /* rDataStr */); in makeAOrAAAARecord() 373 public static DnsRecord makeCNameRecord(int rType, @NonNull String dName, int nsClass, in makeCNameRecord() argument 375 return new DnsRecord(rType, dName, TYPE_CNAME, nsClass, ttl, null /* address */, in makeCNameRecord() 382 public static DnsRecord makeQuestion(@NonNull String dName, int nsType, int nsClass) { in makeQuestion() argument 383 return new DnsRecord(dName, nsType, nsClass); in makeQuestion() [all …]
|