read_packet 45 src/resolve/resolved-dns-stream.c if (!s->read_packet || s->n_read < sizeof(s->read_size) + s->read_packet->size) read_packet 236 src/resolve/resolved-dns-stream.c (!s->read_packet || read_packet 237 src/resolve/resolved-dns-stream.c s->n_read < sizeof(s->read_size) + s->read_packet->size)) { read_packet 260 src/resolve/resolved-dns-stream.c if (!s->read_packet) { read_packet 261 src/resolve/resolved-dns-stream.c r = dns_packet_new(&s->read_packet, s->protocol, be16toh(s->read_size)); read_packet 265 src/resolve/resolved-dns-stream.c s->read_packet->size = be16toh(s->read_size); read_packet 266 src/resolve/resolved-dns-stream.c s->read_packet->ipproto = IPPROTO_TCP; read_packet 267 src/resolve/resolved-dns-stream.c s->read_packet->family = s->peer.sa.sa_family; read_packet 268 src/resolve/resolved-dns-stream.c s->read_packet->ttl = s->ttl; read_packet 269 src/resolve/resolved-dns-stream.c s->read_packet->ifindex = s->ifindex; read_packet 271 src/resolve/resolved-dns-stream.c if (s->read_packet->family == AF_INET) { read_packet 272 src/resolve/resolved-dns-stream.c s->read_packet->sender.in = s->peer.in.sin_addr; read_packet 273 src/resolve/resolved-dns-stream.c s->read_packet->sender_port = be16toh(s->peer.in.sin_port); read_packet 274 src/resolve/resolved-dns-stream.c s->read_packet->destination.in = s->local.in.sin_addr; read_packet 275 src/resolve/resolved-dns-stream.c s->read_packet->destination_port = be16toh(s->local.in.sin_port); read_packet 277 src/resolve/resolved-dns-stream.c assert(s->read_packet->family == AF_INET6); read_packet 278 src/resolve/resolved-dns-stream.c s->read_packet->sender.in6 = s->peer.in6.sin6_addr; read_packet 279 src/resolve/resolved-dns-stream.c s->read_packet->sender_port = be16toh(s->peer.in6.sin6_port); read_packet 280 src/resolve/resolved-dns-stream.c s->read_packet->destination.in6 = s->local.in6.sin6_addr; read_packet 281 src/resolve/resolved-dns-stream.c s->read_packet->destination_port = be16toh(s->local.in6.sin6_port); read_packet 283 src/resolve/resolved-dns-stream.c if (s->read_packet->ifindex == 0) read_packet 284 src/resolve/resolved-dns-stream.c s->read_packet->ifindex = s->peer.in6.sin6_scope_id; read_packet 285 src/resolve/resolved-dns-stream.c if (s->read_packet->ifindex == 0) read_packet 286 src/resolve/resolved-dns-stream.c s->read_packet->ifindex = s->local.in6.sin6_scope_id; read_packet 291 src/resolve/resolved-dns-stream.c (uint8_t*) DNS_PACKET_DATA(s->read_packet) + s->n_read - sizeof(s->read_size), read_packet 318 src/resolve/resolved-dns-stream.c (s->read_packet && s->n_read >= sizeof(s->read_size) + s->read_packet->size)) read_packet 336 src/resolve/resolved-dns-stream.c dns_packet_unref(s->read_packet); read_packet 50 src/resolve/resolved-dns-stream.h DnsPacket *write_packet, *read_packet; read_packet 209 src/resolve/resolved-dns-transaction.c p = dns_packet_ref(s->read_packet); read_packet 1509 src/resolve/resolved-manager.c scope = manager_find_scope(s->manager, s->read_packet); read_packet 1515 src/resolve/resolved-manager.c if (dns_packet_validate_query(s->read_packet) > 0) { read_packet 1516 src/resolve/resolved-manager.c log_debug("Got query packet for id %u", DNS_PACKET_ID(s->read_packet)); read_packet 1518 src/resolve/resolved-manager.c dns_scope_process_query(scope, s, s->read_packet); read_packet 336 src/shutdownd/shutdownd.c k = read_packet(pollfd[FD_SOCKET].fd, &b);