D | DnsPacket.java | 253 public static class DnsRecord { class in DnsPacket 286 protected DnsRecord(@RecordType int rType, @NonNull ByteBuffer buf) in DnsRecord() method in DnsPacket.DnsRecord 317 public static DnsRecord parse(@RecordType int rType, @NonNull ByteBuffer buf) in parse() 333 return new DnsRecord(rType, buf); in parse() 352 public static DnsRecord makeAOrAAAARecord(int rType, @NonNull String dName, in makeAOrAAAARecord() 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() 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() 383 return new DnsRecord(dName, nsType, nsClass); in makeQuestion() [all …]
|