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

/external/openssh/openbsd-compat/
H A Dgetrrsetbyname.c194 struct rrsetinfo *rrset = NULL; local
265 /* initialize rrset */
266 rrset = calloc(1, sizeof(struct rrsetinfo));
267 if (rrset == NULL) {
271 rrset->rri_rdclass = response->query->class;
272 rrset->rri_rdtype = response->query->type;
273 rrset->rri_ttl = response->answer->ttl;
274 rrset->rri_nrdatas = response->header.ancount;
279 rrset->rri_flags |= RRSET_VALIDATED;
283 rrset
351 freerrset(struct rrsetinfo *rrset) argument
[all...]
/external/smack/src/org/xbill/DNS/
H A DZone.java101 RRset rrset = oneRRset(originNode, Type.SOA);
102 if (rrset == null || rrset.size() != 1)
105 Iterator it = rrset.rrs();
273 addRRset(Name name, RRset rrset) { argument
278 data.put(name, rrset);
281 int rtype = rrset.getType();
287 list.set(i, rrset);
291 list.add(rrset);
295 data.put(name, rrset);
458 addRRset(RRset rrset) argument
[all...]
H A DSetResponse.java68 SetResponse(int type, RRset rrset) { argument
72 this.data = rrset;
105 addRRset(RRset rrset) { argument
109 l.add(rrset);
H A DUpdate.java66 * Inserts a prerequisite that the specified rrset exists; that is, there
121 * Inserts a prerequisite that the specified rrset does not exist; that is,
168 * Indicates that all of the records in the rrset should be inserted into the
172 add(RRset rrset) { argument
173 for (Iterator it = rrset.rrs(); it.hasNext(); )
235 * Indicates that all of the records in the rrset should be deleted from the
239 delete(RRset rrset) { argument
240 for (Iterator it = rrset.rrs(); it.hasNext(); )
290 * Indicates that all of the records in the rrset should be inserted into the
294 replace(RRset rrset) { argument
[all...]
H A DRRset.java46 RRset(RRset rrset) { argument
47 synchronized (rrset) {
48 rrs = (List) ((ArrayList)rrset.rrs).clone();
49 nsigs = rrset.nsigs;
50 position = rrset.position;
77 "rrset");
215 * @throws IllegalStateException if the rrset is empty
220 throw new IllegalStateException("rrset is empty");
H A DCache.java53 CacheRRset(RRset rrset, int cred, long maxttl) { argument
54 super(rrset);
56 this.expire = limitExpire(rrset.getTTL(), maxttl);
346 * @param rrset The RRset to be added
351 addRRset(RRset rrset, int cred) { argument
352 long ttl = rrset.getTTL();
353 Name name = rrset.getName();
354 int type = rrset.getType();
364 if (rrset instanceof CacheRRset)
365 crrset = (CacheRRset) rrset;
570 markAdditional(RRset rrset, Set names) argument
[all...]
H A DDNSSEC.java128 * @param rrsig The RRSIG record used to sign/verify the rrset.
129 * @param rrset The data to be signed/verified.
133 digestRRset(RRSIGRecord rrsig, RRset rrset) { argument
137 int size = rrset.size();
140 Iterator it = rrset.rrs();
141 Name name = rrset.getName();
155 header.writeU16(rrset.getType());
156 header.writeU16(rrset.getDClass());
176 * @param sig The SIG record used to sign the rrset.
778 * @param rrset Th
790 verify(RRset rrset, RRSIGRecord rrsig, DNSKEYRecord key) argument
898 sign(RRset rrset, DNSKEYRecord key, PrivateKey privkey, Date inception, Date expiration) argument
920 sign(RRset rrset, DNSKEYRecord key, PrivateKey privkey, Date inception, Date expiration, String provider) argument
[all...]

Completed in 183 milliseconds