resolved-dns-scope.h revision dc477e7385e8ab29efb8fadb72ec994077a105c6
091a364c802e34a58f3260c9cb5db9b75c62215cTom Gundersen/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
091a364c802e34a58f3260c9cb5db9b75c62215cTom Gundersen This file is part of systemd.
091a364c802e34a58f3260c9cb5db9b75c62215cTom Gundersen Copyright 2014 Lennart Poettering
091a364c802e34a58f3260c9cb5db9b75c62215cTom Gundersen systemd is free software; you can redistribute it and/or modify it
091a364c802e34a58f3260c9cb5db9b75c62215cTom Gundersen under the terms of the GNU Lesser General Public License as published by
091a364c802e34a58f3260c9cb5db9b75c62215cTom Gundersen the Free Software Foundation; either version 2.1 of the License, or
091a364c802e34a58f3260c9cb5db9b75c62215cTom Gundersen (at your option) any later version.
091a364c802e34a58f3260c9cb5db9b75c62215cTom Gundersen systemd is distributed in the hope that it will be useful, but
091a364c802e34a58f3260c9cb5db9b75c62215cTom Gundersen WITHOUT ANY WARRANTY; without even the implied warranty of
091a364c802e34a58f3260c9cb5db9b75c62215cTom Gundersen MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
091a364c802e34a58f3260c9cb5db9b75c62215cTom Gundersen Lesser General Public License for more details.
091a364c802e34a58f3260c9cb5db9b75c62215cTom Gundersen You should have received a copy of the GNU Lesser General Public License
091a364c802e34a58f3260c9cb5db9b75c62215cTom Gundersen along with systemd; If not, see <http://www.gnu.org/licenses/>.
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering LIST_HEAD(DnsQueryCandidate, query_candidates);
a2a416f768e2aa7db5b975cd50eb19237cac9cceLennart Poetteringint dns_scope_new(Manager *m, DnsScope **ret, Link *l, DnsProtocol p, int family);
a2a416f768e2aa7db5b975cd50eb19237cac9cceLennart Poetteringvoid dns_scope_packet_received(DnsScope *s, usec_t rtt);
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringvoid dns_scope_packet_lost(DnsScope *s, usec_t usec);
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringint dns_scope_emit(DnsScope *s, int fd, DnsPacket *p);
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringint dns_scope_tcp_socket(DnsScope *s, int family, const union in_addr_union *address, uint16_t port, DnsServer **server);
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringint dns_scope_udp_dns_socket(DnsScope *s, DnsServer **server);
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringDnsScopeMatch dns_scope_good_domain(DnsScope *s, int ifindex, uint64_t flags, const char *domain);
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringint dns_scope_good_key(DnsScope *s, DnsResourceKey *key);
21d73c87b09ec2b8642424bc714ce9af3da4fc40Lennart PoetteringDnsServer *dns_scope_get_dns_server(DnsScope *s);
21d73c87b09ec2b8642424bc714ce9af3da4fc40Lennart Poetteringvoid dns_scope_next_dns_server(DnsScope *s);
21d73c87b09ec2b8642424bc714ce9af3da4fc40Lennart Poetteringint dns_scope_llmnr_membership(DnsScope *s, bool b);
a2a416f768e2aa7db5b975cd50eb19237cac9cceLennart Poetteringvoid dns_scope_process_query(DnsScope *s, DnsStream *stream, DnsPacket *p);
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringDnsTransaction *dns_scope_find_transaction(DnsScope *scope, DnsResourceKey *key, bool cache_ok);
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringint dns_scope_notify_conflict(DnsScope *scope, DnsResourceRecord *rr);
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringvoid dns_scope_check_conflicts(DnsScope *scope, DnsPacket *p);
a2a416f768e2aa7db5b975cd50eb19237cac9cceLennart Poetteringvoid dns_scope_dump(DnsScope *s, FILE *f);
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringDnsSearchDomain *dns_scope_get_search_domains(DnsScope *s);
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringbool dns_scope_has_search_domains(DnsScope *s);