Sese Framework
2.3.0
A cross-platform framework
|
DNS Package Compression Index. More...
#include <DnsPackage.h>
Classes | |
struct | CompressIndex |
Public Member Functions | |
Index ()=default | |
Private Types | |
using | CompressMapping = std::set<uint16_t> |
Private Member Functions | |
Index (std::vector< Question > &questions, std::vector< Answer > &answers, std::vector< Authority > &authorities, std::vector< Additional > &additionals) | |
std::vector< CompressIndex * > | getSortedIndexes (const std::set< uint16_t > &indexes) |
void | clearPos () const |
std::string | encodeWords (const std::string &fullname, const std::set< uint16_t > &indexes, uint16_t base_offset) |
Static Private Member Functions | |
static void | updatePos (std::vector< CompressIndex * > &indexes, uint16_t offset) |
Private Attributes | |
std::vector< CompressIndex > | compress_index |
std::map< std::string, CompressMapping > | compress_mapping |
Friends | |
class | DnsPackage |
DNS Package Compression Index.
|
private |
|
private |
References BUILD_INDEX.
|
default |
|
private |
Referenced by sese::net::dns::DnsPackage::encode().
|
private |
|
nodiscardprivate |
|
staticprivate |
|
friend |
|
private |
|
private |