ESP-IDF
ot::Dns::NsecRecord
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Methods
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Dns::NsecRecord
ot::Dns::NsecRecord class
Syntax
Show:
Summary
Declaration
from
dns_types.hpp:2571
class
NsecRecord
:
public
ResourceRecord
{
public
:
static
constexpr
uint16_t
kType
=
kTypeNsec
;
OT_TOOL_PACKED_BEGIN
class
TypeBitMap
:
public
Clearable
<
TypeBitMap
>
{
public
:
static
constexpr
uint8_t
kMinSize
=
2
;
static
constexpr
uint8_t
kMaxLength
=
32
;
uint8_t
GetBlockNumber
(
void
)
const
{
return
mBlockNumber
;
}
void
SetBlockNumber
(
uint8_t
aBlockNumber
)
{
mBlockNumber
=
aBlockNumber
;
}
uint8_t
GetBitmapLength
(
void
)
{
return
mBitmapLength
;
}
uint16_t
GetSize
(
void
)
const
{
return
(
sizeof
(
mBlockNumber
)
+
sizeof
(
mBitmapLength
)
+
mBitmapLength
)
;
}
void
AddType
(
uint16_t
aType
)
;
bool
ContainsType
(
uint16_t
aType
)
const
;
private
:
uint8_t
mBlockNumber
;
uint8_t
mBitmapLength
;
uint8_t
mBitmaps
[
kMaxLength
]
;
}
OT_TOOL_PACKED_END
;
void
Init
(
uint16_t
aClass
=
kClassInternet
)
{
ResourceRecord
::
Init
(
kTypeNsec
,
aClass
)
;
}
}
;
Fields
Field
ot::Dns::NsecRecord::kType
Methods
Init()
Initializes the NSEC Resource Record by setting its type and class. Other record fields (TTL, length remain unchanged/uninitialized.
Examples
References
from
examples
Code
Location
Referrer
class
NsecRecord
:
public
ResourceRecord
dns_types.hpp:2571
void
NsecRecord
::
TypeBitMap
::
AddType
(
uint16_t
aType
)
dns_types.cpp:1346
ot::Dns::NsecRecord::TypeBitMap::AddType()
bool
NsecRecord
::
TypeBitMap
::
ContainsType
(
uint16_t
aType
)
const
dns_types.cpp:1359
ot::Dns::NsecRecord::TypeBitMap::ContainsType() const
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
ot::Dns::NsecRecord
is inherited by 1 classes:
All items filtered out
ot::Dns::NsecRecord
ot::Dns::ResourceRecord
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out