Searched refs:opt_data (Results 1 - 16 of 16) sorted by relevance

/openbsd-current/usr.sbin/nsd/
H A Dnsd-mem.c63 size_t opt_data; member in struct:tot_mem
111 t->opt_data = region_get_mem(opt->region);
123 t->ram = t->data + t->data_unused + t->opt_data + t->opt_unused +
136 pretty_mem(t->opt_data, "options");
/openbsd-current/usr.sbin/unbound/util/data/
H A Dmsgreply.c1084 opt->opt_data = regional_alloc(region, txt_len + sizeof(uint16_t));
1085 if(!opt->opt_data)
1087 sldns_write_uint16(opt->opt_data, (uint16_t)code);
1089 memmove(opt->opt_data + 2, txt, txt_len);
1123 opt->opt_data = NULL;
1125 opt->opt_data = regional_alloc_init(region, data, len);
1126 if(!opt->opt_data)
1295 if(s->opt_data) {
1296 s->opt_data = regional_alloc_init(region, s->opt_data,
[all...]
H A Dmsgparse.h263 uint8_t* opt_data; member in struct:edns_option
H A Dmsgencode.c840 opt->opt_data) == LDNS_EDE_OTHER) {
850 opt->opt_data) == LDNS_EDE_OTHER) {
869 && sldns_read_uint16((*list)->opt_data) == LDNS_EDE_OTHER ) {
877 curr->opt_data) == LDNS_EDE_OTHER) {
933 sldns_buffer_write(pkt, opt->opt_data, opt->opt_len);
943 sldns_buffer_write(pkt, opt->opt_data, opt->opt_len);
H A Dmsgparse.c1303 list->opt_data, list->opt_len);
/openbsd-current/sbin/unwind/libunbound/util/data/
H A Dmsgreply.c1084 opt->opt_data = regional_alloc(region, txt_len + sizeof(uint16_t));
1085 if(!opt->opt_data)
1087 sldns_write_uint16(opt->opt_data, (uint16_t)code);
1089 memmove(opt->opt_data + 2, txt, txt_len);
1123 opt->opt_data = NULL;
1125 opt->opt_data = regional_alloc_init(region, data, len);
1126 if(!opt->opt_data)
1295 if(s->opt_data) {
1296 s->opt_data = regional_alloc_init(region, s->opt_data,
[all...]
H A Dmsgparse.h263 uint8_t* opt_data; member in struct:edns_option
H A Dmsgencode.c840 opt->opt_data) == LDNS_EDE_OTHER) {
850 opt->opt_data) == LDNS_EDE_OTHER) {
869 && sldns_read_uint16((*list)->opt_data) == LDNS_EDE_OTHER ) {
877 curr->opt_data) == LDNS_EDE_OTHER) {
933 sldns_buffer_write(pkt, opt->opt_data, opt->opt_len);
943 sldns_buffer_write(pkt, opt->opt_data, opt->opt_len);
H A Dmsgparse.c1303 list->opt_data, list->opt_len);
/openbsd-current/usr.sbin/unbound/edns-subnet/
H A Dsubnetmod.c656 ecs->subnet_addr_fam = sldns_read_uint16(ecs_option->opt_data);
657 ecs->subnet_source_mask = ecs_option->opt_data[2];
658 ecs->subnet_scope_mask = ecs_option->opt_data[3];
678 if (copy_clear(ecs->subnet_addr, INET6_SIZE, ecs_option->opt_data + 4,
765 ecs_opt->opt_data, ecs_opt->opt_len);
/openbsd-current/usr.sbin/unbound/cachedb/
H A Dcachedb.c585 sldns_read_uint16(ede->opt_data);
593 ede->opt_data+2, ede_len);
/openbsd-current/usr.sbin/unbound/services/
H A Dmesh.c777 opt->opt_len, opt->opt_data, s->s.region)) {
1897 ecs->opt_data,
H A Doutside_network.c2874 padding_option.opt_data = NULL;
/openbsd-current/sbin/unwind/libunbound/services/
H A Dmesh.c777 opt->opt_len, opt->opt_data, s->s.region)) {
1897 ecs->opt_data,
H A Doutside_network.c2874 padding_option.opt_data = NULL;
/openbsd-current/usr.sbin/unbound/testcode/
H A Dunitmain.c1133 opt->opt_data) == LDNS_EDE_OTHER)

Completed in 329 milliseconds