[ldns-users] How to get CLASS from RDF...
Miek Gieben
miek at miek.nl
Sat Mar 17 09:29:09 UTC 2012
[ Quoting <edwardfjellskaal at gmail.co> at 08:53 on Mar 17 in "[ldns-users] How to ..." ]
> Hi,
>
> Im working on a sniffer that collects dns info passivly [1].
>
> Im trying to record nxdomains atm, and from the logic of ldns code,
> I would assume that there was a function like:
>
> ldns_rdf_class
> ldns_rdf_get_class(const ldns_rdf *rd)
> {
> assert(rd != NULL);
> return rd->_class;
> }
>
> (which is not there)
rdfs describe the rdata, as such they don't have a class. The class
in only there at the RR level. Maybe a ldns_rr_class()-like function
is more what you need?
grtz Miek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.nlnetlabs.nl/pipermail/ldns-users/attachments/20120317/089b52ed/attachment.bin>
More information about the ldns-users
mailing list