Home
last modified time | relevance | path

Searched refs:rrset (Results 1 – 7 of 7) sorted by relevance

/external/openssh/openbsd-compat/
Dgetrrsetbyname.c194 struct rrsetinfo *rrset = NULL; in getrrsetbyname() local
266 rrset = calloc(1, sizeof(struct rrsetinfo)); in getrrsetbyname()
267 if (rrset == NULL) { in getrrsetbyname()
271 rrset->rri_rdclass = response->query->class; in getrrsetbyname()
272 rrset->rri_rdtype = response->query->type; in getrrsetbyname()
273 rrset->rri_ttl = response->answer->ttl; in getrrsetbyname()
274 rrset->rri_nrdatas = response->header.ancount; in getrrsetbyname()
279 rrset->rri_flags |= RRSET_VALIDATED; in getrrsetbyname()
283 rrset->rri_name = strdup(response->answer->name); in getrrsetbyname()
284 if (rrset->rri_name == NULL) { in getrrsetbyname()
[all …]
/external/smack/src/org/xbill/DNS/
DZone.java101 RRset rrset = oneRRset(originNode, Type.SOA); in validate() local
102 if (rrset == null || rrset.size() != 1) in validate()
105 Iterator it = rrset.rrs(); in validate()
273 addRRset(Name name, RRset rrset) { in addRRset() argument
278 data.put(name, rrset); in addRRset()
281 int rtype = rrset.getType(); in addRRset()
287 list.set(i, rrset); in addRRset()
291 list.add(rrset); in addRRset()
295 data.put(name, rrset); in addRRset()
299 list.add(rrset); in addRRset()
[all …]
DUpdate.java172 add(RRset rrset) { in add() argument
173 for (Iterator it = rrset.rrs(); it.hasNext(); ) in add()
239 delete(RRset rrset) { in delete() argument
240 for (Iterator it = rrset.rrs(); it.hasNext(); ) in delete()
294 replace(RRset rrset) { in replace() argument
295 delete(rrset.getName(), rrset.getType()); in replace()
296 for (Iterator it = rrset.rrs(); it.hasNext(); ) in replace()
DSetResponse.java68 SetResponse(int type, RRset rrset) { in SetResponse() argument
72 this.data = rrset; in SetResponse()
105 addRRset(RRset rrset) { in addRRset() argument
109 l.add(rrset); in addRRset()
DRRset.java46 RRset(RRset rrset) { in RRset() argument
47 synchronized (rrset) { in RRset()
48 rrs = (List) ((ArrayList)rrset.rrs).clone(); in RRset()
49 nsigs = rrset.nsigs; in RRset()
50 position = rrset.position; in RRset()
DDNSSEC.java133 digestRRset(RRSIGRecord rrsig, RRset rrset) { in digestRRset() argument
137 int size = rrset.size(); in digestRRset()
140 Iterator it = rrset.rrs(); in digestRRset()
141 Name name = rrset.getName(); in digestRRset()
155 header.writeU16(rrset.getType()); in digestRRset()
156 header.writeU16(rrset.getDClass()); in digestRRset()
790 verify(RRset rrset, RRSIGRecord rrsig, DNSKEYRecord key) throws DNSSECException in verify() argument
803 digestRRset(rrsig, rrset), rrsig.getSignature()); in verify()
898 sign(RRset rrset, DNSKEYRecord key, PrivateKey privkey, in sign() argument
901 return sign(rrset, key, privkey, inception, expiration, null); in sign()
[all …]
DCache.java53 CacheRRset(RRset rrset, int cred, long maxttl) { in CacheRRset() argument
54 super(rrset); in CacheRRset()
56 this.expire = limitExpire(rrset.getTTL(), maxttl); in CacheRRset()
351 addRRset(RRset rrset, int cred) { in addRRset() argument
352 long ttl = rrset.getTTL(); in addRRset()
353 Name name = rrset.getName(); in addRRset()
354 int type = rrset.getType(); in addRRset()
364 if (rrset instanceof CacheRRset) in addRRset()
365 crrset = (CacheRRset) rrset; in addRRset()
367 crrset = new CacheRRset(rrset, cred, maxcache); in addRRset()
[all …]