From: Miek Gieben Date: Thu, 27 Jan 2005 13:18:16 +0000 (+0000) Subject: extra members in the packet structure X-Git-Tag: release-0.50~517 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df38908d718ef87ee51449bb3e85c415fdd60133;p=thirdparty%2Fldns.git extra members in the packet structure --- diff --git a/ldns/packet.h b/ldns/packet.h index 941d92c0..834b50b4 100644 --- a/ldns/packet.h +++ b/ldns/packet.h @@ -64,6 +64,14 @@ struct ldns_struct_pkt { /** \brief header section */ ldns_hdr *_header; + /* extra items needed in a packet */ + /** \brief the size in bytes of the pkt */ + uint16_t answersize; + /** \brief the server ip */ + ldns_rdf *answerfrom; + /** \brief query duration */ + unsigned long querytime; + /** \brief query data */ /** \brief question section */ ldns_rr_list *_question; /** \brief answer section */