ot::Dns::ResourceRecord::Init() method
Initializes the resource record by setting its type and class. Only sets the type and class fields. Other fields (TTL and length) remain unchanged/uninitialized.
Arguments
aType
The type of the resource record.
aClass
The class of the resource record (default is `kClassInternet`).
ot::Dns::ResourceRecord::Init() is called by 9 functions and calls 2 functions:
![]()
ot::Dns::ResourceRecord::Init()
ot::Dns::ResourceRecord::Init() reads 1 variable and writes 3 variables:
![]()
ot::Dns::ResourceRecord::Init()