Home
last modified time | relevance | path

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

/freebsd/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()
[all...]
H A Dmodule.h228 uint16_t opt_code; member
926 int edns_register_option(uint16_t opt_code, int bypass_cache_stage,
966 struct edns_known_option* edns_option_is_known(uint16_t opt_code,
/freebsd/contrib/unbound/util/data/
H A Dmsgencode.c848 if(opt->opt_code == code) in calc_edns_option_size()
852 if(opt->opt_code == code) in calc_edns_option_size()
867 if(opt->opt_code == LDNS_EDNS_EDE) { in calc_ede_option_size()
877 if(opt->opt_code == LDNS_EDNS_EDE) { in calc_ede_option_size()
898 while(list && *list && (*list)->opt_code == LDNS_EDNS_EDE in ede_trim_text()
906 if(curr->opt_code == LDNS_EDNS_EDE) { in ede_trim_text()
957 if (opt->opt_code == LDNS_EDNS_PADDING) { in attach_edns_record_max_msg_sz()
965 sldns_buffer_write_u16(pkt, opt->opt_code); in attach_edns_record_max_msg_sz()
971 if (opt->opt_code == LDNS_EDNS_PADDING) { in attach_edns_record_max_msg_sz()
979 sldns_buffer_write_u16(pkt, opt->opt_code); in attach_edns_record_max_msg_sz()
H A Dmsgreply.c1147 opt->opt_code = LDNS_EDNS_EDE; in edns_opt_list_append_ede()
1186 opt->opt_code = code; in edns_opt_list_append()
1215 while(list && *list && (*list)->opt_code == code) { in edns_opt_list_remove()
1224 if(curr->opt_code == code) { in edns_opt_list_remove()
1386 if(filter_list[i] == list->opt_code) goto found; in edns_opt_copy_filter_region()
1421 if(p->opt_code != q->opt_code) in edns_opt_compare()
1422 return (int)q->opt_code - (int)p->opt_code; in edns_opt_compare()
1497 if(p->opt_code == code) in edns_opt_list_find()
H A Dmsgparse.c976 uint16_t opt_code = sldns_read_uint16(rdata_ptr); in parse_edns_options_from_query() local
988 switch(opt_code) { in parse_edns_options_from_query()
1149 opt_code, opt_len, rdata_ptr, region)) { in parse_edns_options_from_query()
1231 uint16_t opt_code = sldns_read_uint16(rdata_ptr); in parse_extract_edns_from_response_msg() local
1239 opt_code, opt_len, rdata_ptr, region)) { in parse_extract_edns_from_response_msg()
1341 (void)sldns_wire2str_edns_option_print(&s, &slen, list->opt_code, in log_edns_opt_list()
H A Dmsgparse.h287 uint16_t opt_code; member
/freebsd/contrib/unbound/services/
H A Dmesh.c823 if(!edns_opt_list_append(&s->s.edns_opts_front_in, opt->opt_code, in mesh_schedule_prefetch_subnet()
2185 ecs->opt_code, ecs->opt_len, in mesh_continue()
H A Doutside_network.c2949 padding_option.opt_code = LDNS_EDNS_PADDING;