]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
extra members in the packet structure
authorMiek Gieben <miekg@NLnetLabs.nl>
Thu, 27 Jan 2005 13:18:16 +0000 (13:18 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Thu, 27 Jan 2005 13:18:16 +0000 (13:18 +0000)
ldns/packet.h

index 941d92c001146ec99f0974f85e60b9f9236377e1..834b50b47744b2aa8a13b8bc7c05a43c05d822fc 100644 (file)
@@ -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 */