|
unbound 0.1
|
EDNS data storage rdata is parsed in a list (has accessor functions). More...
#include <msgparse.h>
Data Fields | |
| uint8_t | ext_rcode |
| Extended RCODE. | |
| uint8_t | edns_version |
| The EDNS version number. | |
| uint16_t | bits |
| the EDNS bits field from ttl (host order): Z | |
| uint16_t | udp_size |
| UDP reassembly size. | |
| struct edns_option * | opt_list_in |
| rdata element list of options of an incoming packet created at parse time, or NULL if none | |
| struct edns_option * | opt_list_out |
| rdata element list of options to encode for outgoing packets, or NULL if none | |
| struct edns_option * | opt_list_inplace_cb_out |
| rdata element list of outgoing edns options from modules or NULL if none | |
| uint16_t | padding_block_size |
| block size to pad | |
| unsigned int | edns_present: 1 |
| if EDNS OPT record was present | |
| unsigned int | cookie_present: 1 |
| if a cookie was present | |
| unsigned int | cookie_valid: 1 |
| if the cookie validated | |
| unsigned int | cookie_client: 1 |
| if the cookie holds only the client part | |
EDNS data storage rdata is parsed in a list (has accessor functions).
allocated in a region.
| uint8_t edns_data::ext_rcode |
Extended RCODE.
Referenced by answer_from_cache(), answer_norec_from_cache(), answer_notify(), auth_answer_encode(), auth_error_encode(), chaos_replystr(), extended_error_encode(), local_encode(), local_error_encode(), mesh_do_callback(), mesh_send_reply(), parse_edns_from_query_pkt(), parse_extract_edns_from_response_msg(), probe_anchor(), rpz_local_encode(), serviced_encode(), setup_qinfo_edns(), xfr_probe_lookup_host(), xfr_transfer_lookup_host(), and zonemd_lookup_dnskey().
| uint8_t edns_data::edns_version |
The EDNS version number.
Referenced by answer_from_cache(), answer_norec_from_cache(), answer_notify(), auth_answer_encode(), auth_error_encode(), chaos_replystr(), extended_error_encode(), local_encode(), local_error_encode(), mesh_do_callback(), mesh_send_reply(), parse_edns_from_query_pkt(), parse_extract_edns_from_response_msg(), probe_anchor(), rpz_local_encode(), serviced_encode(), setup_qinfo_edns(), worker_handle_request(), xfr_probe_lookup_host(), xfr_transfer_lookup_host(), and zonemd_lookup_dnskey().
| uint16_t edns_data::bits |
the EDNS bits field from ttl (host order): Z
Referenced by answer_from_cache(), answer_norec_from_cache(), answer_notify(), auth_answer_encode(), auth_error_encode(), chaos_replystr(), extended_error_encode(), local_encode(), local_error_encode(), mesh_do_callback(), mesh_send_reply(), parse_edns_from_query_pkt(), parse_extract_edns_from_response_msg(), perf_encode(), probe_anchor(), qlist_parse_line(), rpz_local_encode(), server_stats_insquery(), serviced_encode(), setup_qinfo_edns(), testpkt(), write_q(), xfr_probe_lookup_host(), xfr_transfer_lookup_host(), and zonemd_lookup_dnskey().
| uint16_t edns_data::udp_size |
UDP reassembly size.
Referenced by answer_from_cache(), answer_norec_from_cache(), answer_notify(), attach_edns_record(), auth_answer_encode(), auth_error_encode(), chaos_replystr(), extended_error_encode(), local_encode(), local_error_encode(), mesh_do_callback(), mesh_send_reply(), parse_edns_from_query_pkt(), parse_extract_edns_from_response_msg(), probe_anchor(), qlist_parse_line(), rpz_local_encode(), serviced_encode(), setup_qinfo_edns(), worker_handle_request(), write_q(), xfr_probe_lookup_host(), xfr_transfer_lookup_host(), and zonemd_lookup_dnskey().
| struct edns_option* edns_data::opt_list_in |
rdata element list of options of an incoming packet created at parse time, or NULL if none
Referenced by mesh_new_callback(), mesh_new_client(), mesh_state_add_cb(), mesh_state_add_reply(), parse_edns_from_query_pkt(), parse_edns_options_from_query(), parse_extract_edns_from_response_msg(), probe_anchor(), process_response(), serviced_encode(), setup_qinfo_edns(), worker_handle_request(), xfr_probe_lookup_host(), xfr_transfer_lookup_host(), and zonemd_lookup_dnskey().
| struct edns_option* edns_data::opt_list_out |
rdata element list of options to encode for outgoing packets, or NULL if none
Referenced by answer_from_cache(), answer_norec_from_cache(), calc_ede_option_size(), calc_edns_field_size(), calc_edns_option_size(), extended_error_encode(), local_error_encode(), mesh_new_client(), mesh_send_reply(), mesh_serve_expired_callback(), mesh_state_add_cb(), mesh_state_add_reply(), parse_edns_from_query_pkt(), parse_edns_options_from_query(), parse_extract_edns_from_response_msg(), probe_anchor(), reply_info_answer_encode(), serviced_encode(), setup_qinfo_edns(), worker_handle_request(), xfr_probe_lookup_host(), xfr_transfer_lookup_host(), and zonemd_lookup_dnskey().
| struct edns_option* edns_data::opt_list_inplace_cb_out |
rdata element list of outgoing edns options from modules or NULL if none
Referenced by answer_from_cache(), answer_norec_from_cache(), auth_error_encode(), calc_ede_option_size(), calc_edns_field_size(), calc_edns_option_size(), chaos_replystr(), extended_error_encode(), local_error_encode(), mesh_do_callback(), mesh_new_client(), mesh_send_reply(), mesh_state_add_cb(), mesh_state_add_reply(), parse_edns_from_query_pkt(), parse_extract_edns_from_response_msg(), probe_anchor(), reply_info_answer_encode(), serviced_encode(), setup_qinfo_edns(), worker_handle_request(), xfr_probe_lookup_host(), xfr_transfer_lookup_host(), and zonemd_lookup_dnskey().
| uint16_t edns_data::padding_block_size |
block size to pad
Referenced by parse_edns_from_query_pkt(), parse_edns_options_from_query(), parse_extract_edns_from_response_msg(), probe_anchor(), serviced_encode(), setup_qinfo_edns(), xfr_probe_lookup_host(), and xfr_transfer_lookup_host().
| unsigned int edns_data::edns_present |
if EDNS OPT record was present
Referenced by answer_from_cache(), answer_norec_from_cache(), attach_edns_record(), calc_ede_option_size(), calc_edns_field_size(), calc_edns_option_size(), extended_error_encode(), mesh_do_callback(), mesh_send_reply(), mesh_serve_expired_callback(), parse_edns_from_query_pkt(), parse_extract_edns_from_response_msg(), probe_anchor(), qlist_parse_line(), reply_info_answer_encode(), server_stats_downstream_cookie(), server_stats_insquery(), serviced_encode(), setup_qinfo_edns(), worker_handle_request(), write_q(), xfr_probe_lookup_host(), xfr_transfer_lookup_host(), and zonemd_lookup_dnskey().
| unsigned int edns_data::cookie_present |
if a cookie was present
Referenced by parse_edns_from_query_pkt(), parse_edns_options_from_query(), parse_extract_edns_from_response_msg(), probe_anchor(), server_stats_downstream_cookie(), setup_qinfo_edns(), worker_handle_request(), xfr_probe_lookup_host(), and xfr_transfer_lookup_host().
| unsigned int edns_data::cookie_valid |
if the cookie validated
Referenced by mesh_new_client(), parse_edns_from_query_pkt(), parse_edns_options_from_query(), parse_extract_edns_from_response_msg(), probe_anchor(), server_stats_downstream_cookie(), setup_qinfo_edns(), worker_handle_request(), xfr_probe_lookup_host(), and xfr_transfer_lookup_host().
| unsigned int edns_data::cookie_client |
if the cookie holds only the client part
Referenced by parse_edns_options_from_query(), and server_stats_downstream_cookie().