H A D | soa.c | 19 #include <dns/rdata.h> 40 soa_get(dns_rdata_t *rdata, int offset) { argument 41 INSIST(rdata->type == dns_rdatatype_soa); 52 INSIST(rdata->length >= 20); 54 return (decode_uint32(rdata->data + rdata->length - 20 + offset)); 63 dns_rdata_t *rdata) { 86 return (dns_rdata_fromstruct(rdata, rdclass, dns_rdatatype_soa, 91 dns_soa_getserial(dns_rdata_t *rdata) { argument 92 return soa_get(rdata, 58 dns_soa_buildrdata(dns_name_t *origin, dns_name_t *contact, dns_rdataclass_t rdclass, isc_uint32_t serial, isc_uint32_t refresh, isc_uint32_t retry, isc_uint32_t expire, isc_uint32_t minimum, unsigned char *buffer, dns_rdata_t *rdata) argument 95 dns_soa_getrefresh(dns_rdata_t *rdata) argument 99 dns_soa_getretry(dns_rdata_t *rdata) argument 103 dns_soa_getexpire(dns_rdata_t *rdata) argument 107 dns_soa_getminimum(dns_rdata_t *rdata) argument 112 soa_set(dns_rdata_t *rdata, isc_uint32_t val, int offset) argument 120 dns_soa_setserial(isc_uint32_t val, dns_rdata_t *rdata) argument 124 dns_soa_setrefresh(isc_uint32_t val, dns_rdata_t *rdata) argument 128 dns_soa_setretry(isc_uint32_t val, dns_rdata_t *rdata) argument 132 dns_soa_setexpire(isc_uint32_t val, dns_rdata_t *rdata) argument 136 dns_soa_setminimum(isc_uint32_t val, dns_rdata_t *rdata) argument [all...] |