]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/resolve/resolved-def.h
resolved: add infrastructure for mDNS related sockets
[thirdparty/systemd.git] / src / resolve / resolved-def.h
CommitLineData
51323288
LP
1/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
2
3#pragma once
4
5/***
6 This file is part of systemd.
7
8 Copyright 2014 Lennart Poettering
9
10 systemd is free software; you can redistribute it and/or modify it
11 under the terms of the GNU Lesser General Public License as published by
12 the Free Software Foundation; either version 2.1 of the License, or
13 (at your option) any later version.
14
15 systemd is distributed in the hope that it will be useful, but
16 WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
19
20 You should have received a copy of the GNU Lesser General Public License
21 along with systemd; If not, see <http://www.gnu.org/licenses/>.
22***/
23
b05f5ae7
LP
24#define SD_RESOLVED_DNS (UINT64_C(1) << 0)
25#define SD_RESOLVED_LLMNR_IPV4 (UINT64_C(1) << 1)
26#define SD_RESOLVED_LLMNR_IPV6 (UINT64_C(1) << 2)
27#define SD_RESOLVED_NO_CNAME (UINT64_C(1) << 5)
28#define SD_RESOLVED_NO_TXT (UINT64_C(1) << 6)
29#define SD_RESOLVED_NO_ADDRESS (UINT64_C(1) << 7)
30#define SD_RESOLVED_NO_SEARCH (UINT64_C(1) << 8)
931851e8 31#define SD_RESOLVED_AUTHENTICATED (UINT64_C(1) << 9)
51323288 32
45ec7efb
LP
33#define SD_RESOLVED_LLMNR (SD_RESOLVED_LLMNR_IPV4|SD_RESOLVED_LLMNR_IPV6)
34#define SD_RESOLVED_PROTOCOLS_ALL (SD_RESOLVED_LLMNR|SD_RESOLVED_DNS)