|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
DNS协议消息定义 更多...
#include "NeForce/core/container/vector.hpp"#include "NeForce/core/string/string.hpp"#include "NeForce/core/time/duration.hpp"类 | |
| class | dns_exception |
| DNS异常类 更多... | |
| struct | dns_record |
| DNS资源记录结构 更多... | |
| struct | dns_query_result |
| DNS查询结果结构 更多... | |
| struct | dns_header |
| DNS消息头部结构 更多... | |
枚举 | |
| enum class | dns_opcode : uint8_t { dns_opcode::QUERY = 0 , dns_opcode::IQUERY = 1 , dns_opcode::STATUS = 2 , dns_opcode::NOTIFY = 4 , dns_opcode::UPDATE = 5 } |
| DNS操作码枚举 更多... | |
| enum class | dns_query : uint16_t { dns_query::INTERNET = 1 , dns_query::CHAOS = 3 , dns_query::HESIOD = 4 , dns_query::ANY = 255 } |
| DNS查询类型枚举 更多... | |
| enum class | dns_response : uint8_t { dns_response::NON_ERROR = 0 , dns_response::FORMAT_ERROR = 1 , dns_response::SERVER_FAILURE = 2 , dns_response::NAME_ERROR = 3 , dns_response::NOT_IMPLEMENTED = 4 , dns_response::REFUSED = 5 } |
| DNS响应码枚举 更多... | |
DNS协议消息定义
此文件定义了DNS协议的消息结构和相关枚举类型,用于DNS查询和响应。 包括DNS操作码、查询类型、响应码、记录类型等核心定义。
主要功能:
在文件 dns_message.hpp 中定义.