Lines Matching refs:size_t

64         size_t size, allocated, rindex, max_size, fragsize;
67 size_t opt_start, opt_size;
192 int dns_packet_new(DnsPacket **p, DnsProtocol protocol, size_t min_alloc_dsize, size_t max_size);
193 int dns_packet_new_query(DnsPacket **p, DnsProtocol protocol, size_t min_alloc_dsize, bool dnssec_c…
218 int dns_packet_append_blob(DnsPacket *p, const void *d, size_t sz, size_t *start);
219 int dns_packet_append_uint8(DnsPacket *p, uint8_t v, size_t *start);
220 int dns_packet_append_uint16(DnsPacket *p, uint16_t v, size_t *start);
221 int dns_packet_append_uint32(DnsPacket *p, uint32_t v, size_t *start);
222 int dns_packet_append_string(DnsPacket *p, const char *s, size_t *start);
223 int dns_packet_append_raw_string(DnsPacket *p, const void *s, size_t size, size_t *start);
224 int dns_packet_append_label(DnsPacket *p, const char *s, size_t l, bool canonical_candidate, size_t
225 …e(DnsPacket *p, const char *name, bool allow_compression, bool canonical_candidate, size_t *start);
226 …ket_append_key(DnsPacket *p, const DnsResourceKey *key, const DnsAnswerFlags flags, size_t *start);
227 …cket *p, const DnsResourceRecord *rr, const DnsAnswerFlags flags, size_t *start, size_t *rdata_sta…
228 …max_udp_size, bool edns0_do, bool include_rfc6975, const char *nsid, int rcode, size_t *ret_start);
235 void dns_packet_truncate(DnsPacket *p, size_t sz);
238 int dns_packet_read(DnsPacket *p, size_t sz, const void **ret, size_t *start);
239 int dns_packet_read_blob(DnsPacket *p, void *d, size_t sz, size_t *start);
240 int dns_packet_read_uint8(DnsPacket *p, uint8_t *ret, size_t *start);
241 int dns_packet_read_uint16(DnsPacket *p, uint16_t *ret, size_t *start);
242 int dns_packet_read_uint32(DnsPacket *p, uint32_t *ret, size_t *start);
243 int dns_packet_read_string(DnsPacket *p, char **ret, size_t *start);
244 int dns_packet_read_raw_string(DnsPacket *p, const void **ret, size_t *size, size_t *start);
245 int dns_packet_read_name(DnsPacket *p, char **ret, bool allow_compression, size_t *start);
246 int dns_packet_read_key(DnsPacket *p, DnsResourceKey **ret, bool *ret_cache_flush_or_qu, size_t *st…
247 int dns_packet_read_rr(DnsPacket *p, DnsResourceRecord **ret, bool *ret_cache_flush, size_t *start);
249 void dns_packet_rewind(DnsPacket *p, size_t idx);
325 static inline size_t dns_packet_size_max(DnsPacket *p) { in dns_packet_size_max()
335 static inline size_t udp_header_size(int af) { in udp_header_size()
347 size_t dns_packet_size_unfragmented(DnsPacket *p);