resolved-def.h revision 931851e8e492a4d2715e22dcde50a5e7ccef4b49
51323288fc628a5cac50914df915545d685b793eLennart Poettering/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
51323288fc628a5cac50914df915545d685b793eLennart Poettering
51323288fc628a5cac50914df915545d685b793eLennart Poettering#pragma once
51323288fc628a5cac50914df915545d685b793eLennart Poettering
51323288fc628a5cac50914df915545d685b793eLennart Poettering/***
51323288fc628a5cac50914df915545d685b793eLennart Poettering This file is part of systemd.
51323288fc628a5cac50914df915545d685b793eLennart Poettering
51323288fc628a5cac50914df915545d685b793eLennart Poettering Copyright 2014 Lennart Poettering
51323288fc628a5cac50914df915545d685b793eLennart Poettering
51323288fc628a5cac50914df915545d685b793eLennart Poettering systemd is free software; you can redistribute it and/or modify it
51323288fc628a5cac50914df915545d685b793eLennart Poettering under the terms of the GNU Lesser General Public License as published by
51323288fc628a5cac50914df915545d685b793eLennart Poettering the Free Software Foundation; either version 2.1 of the License, or
51323288fc628a5cac50914df915545d685b793eLennart Poettering (at your option) any later version.
51323288fc628a5cac50914df915545d685b793eLennart Poettering
51323288fc628a5cac50914df915545d685b793eLennart Poettering systemd is distributed in the hope that it will be useful, but
51323288fc628a5cac50914df915545d685b793eLennart Poettering WITHOUT ANY WARRANTY; without even the implied warranty of
51323288fc628a5cac50914df915545d685b793eLennart Poettering MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
51323288fc628a5cac50914df915545d685b793eLennart Poettering Lesser General Public License for more details.
51323288fc628a5cac50914df915545d685b793eLennart Poettering
51323288fc628a5cac50914df915545d685b793eLennart Poettering You should have received a copy of the GNU Lesser General Public License
51323288fc628a5cac50914df915545d685b793eLennart Poettering along with systemd; If not, see <http://www.gnu.org/licenses/>.
51323288fc628a5cac50914df915545d685b793eLennart Poettering***/
51323288fc628a5cac50914df915545d685b793eLennart Poettering
b05f5ae7c5a95f44a59e5d2251879d0ef2af9cb2Lennart Poettering#define SD_RESOLVED_DNS (UINT64_C(1) << 0)
b05f5ae7c5a95f44a59e5d2251879d0ef2af9cb2Lennart Poettering#define SD_RESOLVED_LLMNR_IPV4 (UINT64_C(1) << 1)
b05f5ae7c5a95f44a59e5d2251879d0ef2af9cb2Lennart Poettering#define SD_RESOLVED_LLMNR_IPV6 (UINT64_C(1) << 2)
b05f5ae7c5a95f44a59e5d2251879d0ef2af9cb2Lennart Poettering#define SD_RESOLVED_NO_CNAME (UINT64_C(1) << 5)
b05f5ae7c5a95f44a59e5d2251879d0ef2af9cb2Lennart Poettering#define SD_RESOLVED_NO_TXT (UINT64_C(1) << 6)
b05f5ae7c5a95f44a59e5d2251879d0ef2af9cb2Lennart Poettering#define SD_RESOLVED_NO_ADDRESS (UINT64_C(1) << 7)
b05f5ae7c5a95f44a59e5d2251879d0ef2af9cb2Lennart Poettering#define SD_RESOLVED_NO_SEARCH (UINT64_C(1) << 8)
931851e8e492a4d2715e22dcde50a5e7ccef4b49Lennart Poettering#define SD_RESOLVED_AUTHENTICATED (UINT64_C(1) << 9)
51323288fc628a5cac50914df915545d685b793eLennart Poettering
45ec7efb6c2560c80dfa752bc9d3733749dc52cbLennart Poettering#define SD_RESOLVED_LLMNR (SD_RESOLVED_LLMNR_IPV4|SD_RESOLVED_LLMNR_IPV6)
45ec7efb6c2560c80dfa752bc9d3733749dc52cbLennart Poettering#define SD_RESOLVED_PROTOCOLS_ALL (SD_RESOLVED_LLMNR|SD_RESOLVED_DNS)