Sese Framework
x.y.z
A cross-platform framework
载入中...
搜索中...
未找到
Config.h
浏览该文件的文档.
1
// Copyright 2024 libsese
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
19
20
#pragma once
21
22
#include <cstdint>
23
24
namespace
sese::net::dns
{
25
26
static
constexpr
uint16_t
TYPE_A
= 1;
27
static
constexpr
uint16_t
TYPE_NS
= 2;
28
static
constexpr
uint16_t
TYPE_CNAME
= 5;
29
static
constexpr
uint16_t
TYPE_SOA
= 6;
30
static
constexpr
uint16_t
TYPE_NULL
= 10;
31
static
constexpr
uint16_t
TYPE_PTR
= 12;
32
static
constexpr
uint16_t
TYPE_HINFO
= 13;
33
static
constexpr
uint16_t
TYPE_MINFO
= 14;
34
static
constexpr
uint16_t
TYPE_MX
= 15;
35
static
constexpr
uint16_t
TYPE_TXT
= 16;
36
static
constexpr
uint16_t
TYPE_RP
= 17;
37
static
constexpr
uint16_t
TYPE_AFSDB
= 18;
38
static
constexpr
uint16_t
TYPE_X25
= 19;
39
static
constexpr
uint16_t
TYPE_ISDN
= 20;
40
static
constexpr
uint16_t
TYPE_RT
= 21;
41
static
constexpr
uint16_t
TYPE_AAAA
= 28;
42
static
constexpr
uint16_t
TYPE_SRV
= 33;
43
static
constexpr
uint16_t
TYPE_NAPTR
= 35;
44
static
constexpr
uint16_t
TYPE_CAA
= 257;
45
46
static
constexpr
uint16_t
CLASS_IN
= 1;
47
static
constexpr
uint16_t
CLASS_CS
= 2;
48
static
constexpr
uint16_t
CLASS_CH
= 3;
49
static
constexpr
uint16_t
CLASS_HS
= 4;
50
51
}
sese
net
dns
Config.h
生成于 2024年 十一月 4日 星期一 09:57:59 , 为 Sese Framework使用
1.11.0