Searched refs:txt_size (Results 1 - 4 of 4) sorted by relevance

/openbsd-current/usr.sbin/unbound/util/data/
H A Dmsgencode.h125 * @param txt_size: the size of the EXTRA-TEXT field(s); this includes
130 uint16_t calc_ede_option_size(struct edns_data* edns, uint16_t* txt_size);
H A Dmsgencode.c828 calc_ede_option_size(struct edns_data* edns, uint16_t* txt_size) argument
832 *txt_size = 0;
838 if(opt->opt_len > 2) *txt_size += opt->opt_len - 2;
841 *txt_size += 4 + 2;
848 if(opt->opt_len > 2) *txt_size += opt->opt_len - 2;
851 *txt_size += 4 + 2;
/openbsd-current/sbin/unwind/libunbound/util/data/
H A Dmsgencode.h125 * @param txt_size: the size of the EXTRA-TEXT field(s); this includes
130 uint16_t calc_ede_option_size(struct edns_data* edns, uint16_t* txt_size);
H A Dmsgencode.c828 calc_ede_option_size(struct edns_data* edns, uint16_t* txt_size) argument
832 *txt_size = 0;
838 if(opt->opt_len > 2) *txt_size += opt->opt_len - 2;
841 *txt_size += 4 + 2;
848 if(opt->opt_len > 2) *txt_size += opt->opt_len - 2;
851 *txt_size += 4 + 2;

Completed in 298 milliseconds