summaryrefslogtreecommitdiff
path: root/util/data/msgencode.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2026-05-22 14:09:04 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2026-05-22 14:09:16 +0000
commit22e58f330a151944c24e010d23ec3881df6681b6 (patch)
treee1ad45dedbb1e834347e8565cd65900b2ae5295e /util/data/msgencode.h
parent4dd0a17edce60370304a45f2c40251e09e193bd6 (diff)
Diffstat (limited to 'util/data/msgencode.h')
-rw-r--r--util/data/msgencode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/data/msgencode.h b/util/data/msgencode.h
index 0363a90bf06f..f561fe1dd063 100644
--- a/util/data/msgencode.h
+++ b/util/data/msgencode.h
@@ -106,7 +106,7 @@ void qinfo_query_encode(struct sldns_buffer* pkt, struct query_info* qinfo);
* @param edns: edns data or NULL.
* @return octets to reserve for EDNS.
*/
-uint16_t calc_edns_field_size(struct edns_data* edns);
+size_t calc_edns_field_size(struct edns_data* edns);
/**
* Calculate the size of a specific EDNS option in packet.
@@ -127,7 +127,7 @@ uint16_t calc_edns_option_size(struct edns_data* edns, uint16_t code);
* extra text.
* @return octets the option will take up.
*/
-uint16_t calc_ede_option_size(struct edns_data* edns, uint16_t* txt_size);
+uint16_t calc_ede_option_size(struct edns_data* edns, size_t* txt_size);
/**
* Attach EDNS record to buffer. Buffer has complete packet. There must