Searched refs:opt_code (Results 1 – 7 of 7) sorted by relevance
| /freebsd-13.1/contrib/unbound/util/ |
| H A D | module.c | 93 edns_register_option(uint16_t opt_code, int bypass_cache_stage, in edns_register_option() argument 110 if(env->edns_known_options[i].opt_code == opt_code) in edns_register_option() 120 env->edns_known_options[i].opt_code = opt_code; in edns_register_option() 184 edns_option_is_known(uint16_t opt_code, struct module_env* env) in edns_option_is_known() argument 188 if(env->edns_known_options[i].opt_code == opt_code) in edns_option_is_known() 199 if(env->edns_known_options[i].opt_code == list->opt_code && in edns_bypass_cache_stage() 213 if(env->edns_known_options[i].opt_code == list->opt_code && in unique_mesh_state() 232 env->edns_known_options[i].opt_code); in log_edns_known_options()
|
| H A D | module.h | 217 uint16_t opt_code; member 787 int edns_register_option(uint16_t opt_code, int bypass_cache_stage, 827 struct edns_known_option* edns_option_is_known(uint16_t opt_code,
|
| /freebsd-13.1/contrib/unbound/util/data/ |
| H A D | msgreply.c | 1003 opt->opt_code = code; in edns_opt_list_append() 1032 while(list && *list && (*list)->opt_code == code) { in edns_opt_list_remove() 1041 if(curr->opt_code == code) { in edns_opt_list_remove() 1202 if(p->opt_code != q->opt_code) in edns_opt_compare() 1203 return (int)q->opt_code - (int)p->opt_code; in edns_opt_compare() 1278 if(p->opt_code == code) in edns_opt_list_find()
|
| H A D | msgparse.c | 980 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() 1048 opt_code, opt_len, rdata_ptr, region)) { in parse_edns_options_from_query() 1126 uint16_t opt_code = sldns_read_uint16(rdata_ptr); in parse_extract_edns_from_response_msg() local 1134 opt_code, opt_len, rdata_ptr, region)) { in parse_extract_edns_from_response_msg() 1231 (void)sldns_wire2str_edns_option_print(&s, &slen, list->opt_code, in log_edns_opt_list()
|
| H A D | msgparse.h | 250 uint16_t opt_code; member
|
| H A D | msgencode.c | 834 if (opt->opt_code == LDNS_EDNS_PADDING) { in attach_edns_record_max_msg_sz() 838 sldns_buffer_write_u16(pkt, opt->opt_code); in attach_edns_record_max_msg_sz() 844 if (opt->opt_code == LDNS_EDNS_PADDING) { in attach_edns_record_max_msg_sz() 848 sldns_buffer_write_u16(pkt, opt->opt_code); in attach_edns_record_max_msg_sz()
|
| /freebsd-13.1/contrib/unbound/services/ |
| H A D | outside_network.c | 2811 padding_option.opt_code = LDNS_EDNS_PADDING;
|