Home
last modified time | relevance | path

Searched refs:read_packet (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()
284 if (!s->read_packet) in dns_stream_take_read_packet()
294 return TAKE_PTR(s->read_packet); in dns_stream_take_read_packet()
356 (!s->read_packet || in on_stream_io()
357 s->n_read < sizeof(s->read_size) + s->read_packet->size)) { in on_stream_io()
383 if (!s->read_packet) { 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()
388 s->read_packet->size = be16toh(s->read_size); in on_stream_io()
389 s->read_packet->ipproto = IPPROTO_TCP; in on_stream_io()
390 s->read_packet->family = s->peer.sa.sa_family; in on_stream_io()
[all …]
Dresolved-dns-stream.h79 DnsPacket *write_packet, *read_packet; member