Data stored in scratch pad memory during parsing. More...
#include <msgparse.h>
Data Fields | |
| uint16_t | id |
| id from message, network format. | |
| uint16_t | flags |
| flags from message, host format. | |
| uint16_t | qdcount |
| count of RRs, host format | |
| uint16_t | ancount |
| count of RRs, host format | |
| uint16_t | nscount |
| count of RRs, host format | |
| uint16_t | arcount |
| count of RRs, host format | |
| size_t | an_rrsets |
| count of RRsets per section. | |
| size_t | ns_rrsets |
| count of RRsets per section. | |
| size_t | ar_rrsets |
| count of RRsets per section. | |
| size_t | rrset_count |
| total number of rrsets found. | |
| uint8_t * | qname |
| query dname (pointer to start location in packet, NULL if none | |
| size_t | qname_len |
| length of query dname in octets, 0 if none | |
| uint16_t | qtype |
| query type, host order. | |
| uint16_t | qclass |
| query class, host order. | |
| struct rrset_parse * | hashtable [PARSE_TABLE_SIZE] |
| Hash table array used during parsing to lookup rrset types. | |
| struct rrset_parse * | rrset_first |
| linked list of rrsets that have been found (in order). | |
| struct rrset_parse * | rrset_last |
| last element of rrset list. | |
Data stored in scratch pad memory during parsing.
Stores the data that will enter into the msgreply and packet result.
| uint16_t msg_parse::id |
id from message, network format.
Referenced by parse_packet().
| uint16_t msg_parse::flags |
flags from message, host format.
Referenced by scrub_normalize(), scrub_sanitize(), scrub_message(), process_response(), parse_packet(), parse_create_repinfo(), and get_rrset_trust().
| size_t msg_parse::an_rrsets |
count of RRsets per section.
Referenced by remove_rrset(), synth_cname_rrset(), scrub_sanitize(), change_section(), change_rrsig_rrset(), parse_packet(), and parse_create_repinfo().
| size_t msg_parse::ns_rrsets |
count of RRsets per section.
Referenced by remove_rrset(), change_section(), change_rrsig_rrset(), parse_packet(), and parse_create_repinfo().
| size_t msg_parse::ar_rrsets |
count of RRsets per section.
Referenced by remove_rrset(), change_section(), change_rrsig_rrset(), parse_packet(), parse_extract_edns(), and parse_create_repinfo().
| size_t msg_parse::rrset_count |
total number of rrsets found.
Referenced by remove_rrset(), synth_cname_rrset(), parse_packet(), parse_extract_edns(), and parse_create_repinfo().
| uint16_t msg_parse::qtype |
query type, host order.
0 if qdcount=0
Referenced by scrub_message(), change_rrsig_rrset(), parse_query_section(), add_rr_to_rrset(), and parse_create_qinfo().
| uint16_t msg_parse::qclass |
query class, host order.
0 if qdcount=0
Referenced by scrub_message(), parse_query_section(), and parse_create_qinfo().
| struct rrset_parse* msg_parse::hashtable[PARSE_TABLE_SIZE] |
Hash table array used during parsing to lookup rrset types.
Based on name, type, class. Same hash value as in rrset cache.
Referenced by new_rrset(), msgparse_hashtable_lookup(), msgparse_bucket_remove(), and change_rrsig_rrset().
| struct rrset_parse* msg_parse::rrset_first |
linked list of rrsets that have been found (in order).
Referenced by remove_rrset(), synth_cname_rrset(), scrub_normalize(), soa_in_auth(), scrub_sanitize(), new_rrset(), change_section(), parse_extract_edns(), get_rrset_trust(), and parse_copy_decompress().
| struct rrset_parse* msg_parse::rrset_last |
last element of rrset list.
Referenced by remove_rrset(), synth_cname_rrset(), new_rrset(), change_section(), and parse_extract_edns().