Home
last modified time | relevance | path

Searched refs:read_size (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/resolve/
Dresolved-dns-stream.c46 if ((!s->read_packet || s->n_read < sizeof(s->read_size) + s->read_packet->size) && in dns_stream_update_io()
287 if (s->n_read < sizeof(s->read_size)) in dns_stream_take_read_packet()
290 if (s->n_read < sizeof(s->read_size) + be16toh(s->read_size)) in dns_stream_take_read_packet()
357 s->n_read < sizeof(s->read_size) + s->read_packet->size)) { in on_stream_io()
359 if (s->n_read < sizeof(s->read_size)) { in on_stream_io()
362 … ss = dns_stream_read(s, (uint8_t*) &s->read_size + s->n_read, sizeof(s->read_size) - s->n_read); in on_stream_io()
375 if (s->n_read >= sizeof(s->read_size)) { in on_stream_io()
377 if (be16toh(s->read_size) < DNS_PACKET_HEADER_SIZE) in on_stream_io()
380 if (s->n_read < sizeof(s->read_size) + be16toh(s->read_size)) { in on_stream_io()
384 … r = dns_packet_new(&s->read_packet, s->protocol, be16toh(s->read_size), DNS_PACKET_SIZE_MAX); in on_stream_io()
[all …]
Dresolved-dns-stream.h78 be16_t write_size, read_size; member