Home
last modified time | relevance | path

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

/openbsd-src/usr.sbin/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
899 * @param opt_code: the edns option code.
908 int edns_register_option(uint16_t opt_code, int bypass_cache_stage,
943 * @param opt_code: the edns option code.
948 struct edns_known_option* edns_option_is_known(uint16_t opt_code,
/openbsd-src/sbin/unwind/libunbound/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
899 * @param opt_code: the edns option code.
908 int edns_register_option(uint16_t opt_code, int bypass_cache_stage,
943 * @param opt_code: the edns option code.
948 struct edns_known_option* edns_option_is_known(uint16_t opt_code,
/openbsd-src/usr.sbin/unbound/util/data/
H A Dmsgencode.c832 if(opt->opt_code == code) in calc_ede_option_size()
836 if(opt->opt_code == code) in calc_ede_option_size()
851 if(opt->opt_code == LDNS_EDNS_EDE) { in calc_ede_option_size()
861 if(opt->opt_code == LDNS_EDNS_EDE) {
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()
[all...]
H A Dmsgreply.c1082 opt->opt_code = LDNS_EDNS_EDE; in edns_opt_list_append_ede()
1121 opt->opt_code = code; in edns_opt_list_append()
1150 while(list && *list && (*list)->opt_code == code) { in edns_opt_list_remove()
1159 if(curr->opt_code == code) { in edns_opt_list_remove()
1321 if(filter_list[i] == list->opt_code) goto found; in edns_opt_copy_filter_region()
1356 if(p->opt_code != q->opt_code) in edns_opt_compare()
1357 return (int)q->opt_code - (int)p->opt_code; in edns_opt_compare()
1432 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()
985 switch(opt_code) { in parse_edns_options_from_query()
1143 opt_code, opt_len, rdata_ptr, region)) { in parse_extract_edns_from_response_msg()
1223 uint16_t opt_code = sldns_read_uint16(rdata_ptr); in skip_pkt_rr()
1231 opt_code, opt_len, rdata_ptr, region)) { in skip_pkt_rrs()
1332 (void)sldns_wire2str_edns_option_print(&s, &slen, list->opt_code, in msgparse_rrset_remove_rr()
972 uint16_t opt_code = sldns_read_uint16(rdata_ptr); parse_edns_options_from_query() local
1194 uint16_t opt_code = sldns_read_uint16(rdata_ptr); parse_extract_edns_from_response_msg() local
H A Dmsgparse.h260 uint16_t opt_code;
259 uint16_t opt_code; global() member
/openbsd-src/sbin/unwind/libunbound/util/data/
H A Dmsgencode.c832 if(opt->opt_code == code) in calc_ede_option_size()
836 if(opt->opt_code == code) in calc_ede_option_size()
851 if(opt->opt_code == LDNS_EDNS_EDE) { in calc_ede_option_size()
861 if(opt->opt_code == LDNS_EDNS_EDE) {
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()
[all...]
H A Dmsgreply.c1082 opt->opt_code = LDNS_EDNS_EDE; in edns_opt_list_append_ede()
1121 opt->opt_code = code; in edns_opt_list_append()
1150 while(list && *list && (*list)->opt_code == code) { in edns_opt_list_remove()
1159 if(curr->opt_code == code) { in edns_opt_list_remove()
1321 if(filter_list[i] == list->opt_code) goto found; in edns_opt_copy_filter_region()
1356 if(p->opt_code != q->opt_code) in edns_opt_compare()
1357 return (int)q->opt_code - (int)p->opt_code; in edns_opt_compare()
1432 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()
985 switch(opt_code) { in parse_edns_options_from_query()
1143 opt_code, opt_len, rdata_ptr, region)) { in parse_extract_edns_from_response_msg()
1223 uint16_t opt_code = sldns_read_uint16(rdata_ptr); in skip_pkt_rr()
1231 opt_code, opt_len, rdata_ptr, region)) { in skip_pkt_rrs()
1332 (void)sldns_wire2str_edns_option_print(&s, &slen, list->opt_code, in msgparse_rrset_remove_rr()
972 uint16_t opt_code = sldns_read_uint16(rdata_ptr); parse_edns_options_from_query() local
1194 uint16_t opt_code = sldns_read_uint16(rdata_ptr); parse_extract_edns_from_response_msg() local
H A Dmsgparse.h260 uint16_t opt_code;
259 uint16_t opt_code; global() member
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dcppinit.c1211 enum opt_code enum
1223 enum opt_code opt_code; member
1312 enum opt_code opt_code; local
1321 opt_code = cl_options[opt_index].opt_code;
1337 switch (opt_code)
1402 if (opt_code == OPT_include)
1438 opt_code == OPT_iwithprefix ? SYSTEM: BRACKET, 0);
H A Dc-opts.c287 enum opt_code enum
299 ENUM_BITFIELD (opt_code) opt_code : 2 * CHAR_BIT;
316 static void defer_opt PARAMS ((enum opt_code, const char *));
319 enum opt_code code;
345 switch (cl_options[opt_index].opt_code)
469 enum opt_code code; in defer_opt()
552 enum opt_code code;
643 switch (code = option->opt_code)
H A DChangeLog.38409 (cl_options, enum opt_code): Define these from the same table,
H A DChangeLog10822 * c-opts.c (missing_arg): Use cl_options[opt_index].opt_code
/openbsd-src/gnu/gcc/gcc/treelang/
H A Dtree1.c103 enum opt_code code = (enum opt_code) scode; in treelang_handle_option()
/openbsd-src/gnu/gcc/gcc/
H A Dc-opts.c130 static void defer_opt (enum opt_code, const char *);
133 enum opt_code code;
192 defer_opt (enum opt_code code, const char *arg) in defer_opt()
274 enum opt_code code = (enum opt_code) scode; in c_common_handle_option()
H A Dopts.c677 enum opt_code code = (enum opt_code) scode; in common_handle_option()
/openbsd-src/gnu/usr.bin/perl/cpan/podlators/lib/Pod/
H A DText.pm157 $self->code_handler (\&handle_code) if $$self{opt_code};
/openbsd-src/sbin/unwind/libunbound/services/
H A Dmesh.c786 if(!edns_opt_list_append(&s->s.edns_opts_front_in, opt->opt_code, in mesh_schedule_prefetch_subnet()
1916 ecs->opt_code, ecs->opt_len, in mesh_continue()
H A Doutside_network.c2883 padding_option.opt_code = LDNS_EDNS_PADDING;
/openbsd-src/usr.sbin/unbound/services/
H A Dmesh.c786 if(!edns_opt_list_append(&s->s.edns_opts_front_in, opt->opt_code, in mesh_schedule_prefetch_subnet()
1916 ecs->opt_code, ecs->opt_len, in mesh_continue()
H A Doutside_network.c2883 padding_option.opt_code = LDNS_EDNS_PADDING;
/openbsd-src/usr.sbin/unbound/testcode/
H A Dunitmain.c1128 if(opt->opt_code == LDNS_EDNS_EDE) { in edns_ede_encode_check()