Home | History | Annotate | Download | only in dist

Lines Matching refs:soa

91 	const char* id, xfrd_soa_type* soa, time_t* soatime)
105 !xfrd_read_i16(in, &soa->type) ||
106 !xfrd_read_i16(in, &soa->klass) ||
107 !xfrd_read_i32(in, &soa->ttl) ||
113 soa->type = htons(soa->type);
114 soa->klass = htons(soa->klass);
115 soa->ttl = htonl(soa->ttl);
118 !(soa->prim_ns[0] = dname_parse_wire(soa->prim_ns+1, p)))
122 !(soa->email[0] = dname_parse_wire(soa->email+1, p)))
125 if(!xfrd_read_i32(in, &soa->serial) ||
126 !xfrd_read_i32(in, &soa->refresh) ||
127 !xfrd_read_i32(in, &soa->retry) ||
128 !xfrd_read_i32(in, &soa->expire) ||
129 !xfrd_read_i32(in, &soa->minimum))
134 soa->serial = htonl(soa->serial);
135 soa->refresh = htonl(soa->refresh);
136 soa->retry = htonl(soa->retry);
137 soa->expire = htonl(soa->expire);
138 soa->minimum = htonl(soa->minimum);
277 * or there is a soa && current time is past refresh point
300 /* There is a soa && current time is past expiry point */
328 /* handle as an incoming SOA. */
333 /* use soa and soa_acquired from starting NSD, not what is stored in
419 xfrd_soa_type* soa, time_t soatime, const dname_type* ATTR_UNUSED(apex))
430 (unsigned)ntohs(soa->type), (unsigned)ntohs(soa->klass),
431 (unsigned)ntohl(soa->ttl),
437 xfrd_write_dname(out, soa->prim_ns);
439 xfrd_write_dname(out, soa->email);
440 fprintf(out, " %u", (unsigned)ntohl(soa->serial));
441 fprintf(out, " %u", (unsigned)ntohl(soa->refresh));
442 fprintf(out, " %u", (unsigned)ntohl(soa->retry));
443 fprintf(out, " %u", (unsigned)ntohl(soa->expire));
444 fprintf(out, " %u\n", (unsigned)ntohl(soa->minimum));
446 neato_timeout(out, " refresh =", ntohl(soa->refresh));
447 neato_timeout(out, " retry =", ntohl(soa->retry));
448 neato_timeout(out, " expire =", ntohl(soa->expire));
449 neato_timeout(out, " minimum =", ntohl(soa->minimum));