Home
last modified time | relevance | path

Searched refs:opt_code (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/unbound/util/
H A Dmodule.c262 edns_register_option(uint16_t opt_code, int bypass_cache_stage, in edns_register_option() argument
279 if(env->edns_known_options[i].opt_code == opt_code) in edns_register_option()
289 env->edns_known_options[i].opt_code = opt_code; in edns_register_option()
353 edns_option_is_known(uint16_t opt_code, struct module_env* env) in edns_option_is_known() argument
357 if(env->edns_known_options[i].opt_code == opt_code) in edns_option_is_known()
368 if(env->edns_known_options[i].opt_code == list->opt_code && in edns_bypass_cache_stage()
382 if(env->edns_known_options[i].opt_code == list->opt_code && in unique_mesh_state()
401 env->edns_known_options[i].opt_code); in log_edns_known_options()
H A Dmodule.h227 uint16_t opt_code; member
912 int edns_register_option(uint16_t opt_code, int bypass_cache_stage,
952 struct edns_known_option* edns_option_is_known(uint16_t opt_code,
/freebsd-14.2/contrib/unbound/util/data/
H A Dmsgencode.c832 if(opt->opt_code == code) in calc_edns_option_size()
836 if(opt->opt_code == code) in calc_edns_option_size()
851 if(opt->opt_code == LDNS_EDNS_EDE) { in calc_ede_option_size()
861 if(opt->opt_code == LDNS_EDNS_EDE) { in calc_ede_option_size()
882 while(list && *list && (*list)->opt_code == LDNS_EDNS_EDE in ede_trim_text()
890 if(curr->opt_code == LDNS_EDNS_EDE) { in ede_trim_text()
941 if (opt->opt_code == LDNS_EDNS_PADDING) { in attach_edns_record_max_msg_sz()
945 sldns_buffer_write_u16(pkt, opt->opt_code); in attach_edns_record_max_msg_sz()
951 if (opt->opt_code == LDNS_EDNS_PADDING) { in attach_edns_record_max_msg_sz()
955 sldns_buffer_write_u16(pkt, opt->opt_code); in attach_edns_record_max_msg_sz()
H A Dmsgreply.c1119 opt->opt_code = LDNS_EDNS_EDE; in edns_opt_list_append_ede()
1158 opt->opt_code = code; in edns_opt_list_append()
1187 while(list && *list && (*list)->opt_code == code) { in edns_opt_list_remove()
1196 if(curr->opt_code == code) { in edns_opt_list_remove()
1358 if(filter_list[i] == list->opt_code) goto found; in edns_opt_copy_filter_region()
1393 if(p->opt_code != q->opt_code) in edns_opt_compare()
1394 return (int)q->opt_code - (int)p->opt_code; in edns_opt_compare()
1469 if(p->opt_code == code) in edns_opt_list_find()
H A Dmsgparse.c973 uint16_t opt_code = sldns_read_uint16(rdata_ptr); in parse_edns_options_from_query() local
985 switch(opt_code) { in parse_edns_options_from_query()
1143 opt_code, opt_len, rdata_ptr, region)) { in parse_edns_options_from_query()
1223 uint16_t opt_code = sldns_read_uint16(rdata_ptr); in parse_extract_edns_from_response_msg() local
1231 opt_code, opt_len, rdata_ptr, region)) { in parse_extract_edns_from_response_msg()
1332 (void)sldns_wire2str_edns_option_print(&s, &slen, list->opt_code, in log_edns_opt_list()
H A Dmsgparse.h262 uint16_t opt_code; member
/freebsd-14.2/contrib/unbound/services/
H A Dmesh.c788 if(!edns_opt_list_append(&s->s.edns_opts_front_in, opt->opt_code, in mesh_schedule_prefetch_subnet()
1918 ecs->opt_code, ecs->opt_len, in mesh_continue()
H A Doutside_network.c2883 padding_option.opt_code = LDNS_EDNS_PADDING;