std::tie(rhs.qname, rhs.qtype, rcontent, rhs.ttl);
}
+//NOLINTBEGIN
boilerplate_conv(A, conv.xfrIP(d_ip));
+//NOLINTEND
ARecordContent::ARecordContent(uint32_t ip)
{
throw MOADNSException("Wrong size for A record ("+std::to_string(dr.d_clen)+")");
}
+//NOLINTBEGIN
boilerplate_conv(AAAA, conv.xfrIP6(d_ip6); );
boilerplate_conv(NS, conv.xfrName(d_content, true));
boilerplate_conv(OPT,
conv.xfrBlob(d_data)
);
+//NOLINTEND
#ifdef HAVE_LUA_RECORDS
}
}
+//NOLINTBEGIN
boilerplate_conv(TSIG,
conv.xfrName(d_algoName);
conv.xfr48BitInt(d_time);
conv.xfr16BitInt(size);
if (size>0) conv.xfrBlobNoSpaces(d_otherData, size);
);
+//NOLINTEND
MXRecordContent::MXRecordContent(uint16_t preference, DNSName mxname): d_preference(preference), d_mxname(std::move(mxname))
{
}
+//NOLINTBEGIN
boilerplate_conv(MX,
conv.xfr16BitInt(d_preference);
conv.xfrName(d_mxname, true);
conv.xfrText(d_flags); conv.xfrText(d_services); conv.xfrText(d_regexp);
conv.xfrName(d_replacement);
)
+//NOLINTEND
SRVRecordContent::SRVRecordContent(uint16_t preference, uint16_t weight, uint16_t port, DNSName target)
: d_weight(weight), d_port(port), d_target(std::move(target)), d_preference(preference)
{}
+//NOLINTBEGIN
boilerplate_conv(SRV,
conv.xfr16BitInt(d_preference); conv.xfr16BitInt(d_weight); conv.xfr16BitInt(d_port);
conv.xfrName(d_target);
)
+//NOLINTEND
SOARecordContent::SOARecordContent(DNSName mname, DNSName rname, const struct soatimes& st)
: d_mname(std::move(mname)), d_rname(std::move(rname)), d_st(st)
{
}
+//NOLINTBEGIN
boilerplate_conv(SOA,
conv.xfrName(d_mname, true);
conv.xfrName(d_rname, true);
boilerplate_conv(LP,
conv.xfr16BitInt(d_preference);
conv.xfrName(d_fqdn, false);)
+//NOLINTEND
/* EUI48 start */
void EUI48RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)
return {std::make_shared<BRIDRecordContent>(*this)};
}
+//NOLINTBEGIN
boilerplate_conv(TKEY,
conv.xfrName(d_algo);
conv.xfr32BitInt(d_inception);
conv.xfrUnquotedText(d_tag, true);
conv.xfrText(d_value, true, false); /* no lenField */
)
+//NOLINTEND
static uint16_t makeTag(const std::string& data)
{