#include <dns_resource_record.h>
Operation | |
| CL_DNSResourceRecord & | operator= (const CL_DNSResourceRecord &other) |
| void | set_record (CL_DNSPacket packet, int record_offset) |
| Set record. | |
| static int | type_to_int (const CL_String &qtype) |
| Type to int. | |
| static CL_String | type_from_int (int qtype) |
| Type from int. | |
| static CL_String | type_description (const CL_String &qtype) |
| Type description. | |
| static CL_String | type_description (int qtype) |
| Type description. | |
| static int | class_to_int (const CL_String &qclass) |
| Class to int. | |
| static CL_String | class_from_int (int qclass) |
| Class from int. | |
| static CL_String | class_description (const CL_String &qclass) |
| Class description. | |
| static CL_String | class_description (int qclass) |
| Class description. | |
| static int | find_domain_name_end (const CL_DataBuffer &packet, int offset) |
| Find domain name end. | |
| static CL_String | read_domain_name (const CL_DataBuffer &packet, int offset) |
| Read domain name. | |
Public Member Functions | |
Construction | |
| CL_DNSResourceRecord () | |
| CL_DNSResourceRecord (const CL_DNSResourceRecord &other) | |
| Constructs a DNSResourceRecord. | |
| ~CL_DNSResourceRecord () | |
Attributes | |
| CL_String | get_name () const |
| Get Name. | |
| CL_String | get_type () const |
| Get Type. | |
| CL_String | get_class () const |
| Get Class. | |
| int | get_ttl () const |
| Get Ttl. | |
| const CL_DNSPacket & | get_packet () const |
| int | get_record_offset () const |
| Get Record offset. | |
| int | get_rdata_offset () const |
| Get Rdata offset. | |
| int | get_rdata_length () const |
| Get Rdata length. | |
| CL_String | get_cname_cname () const |
| Get Cname cname. | |
| int | get_mx_preference () const |
| Get Mx preference. | |
| CL_String | get_mx_exchange () const |
| Get Mx exchange. | |
| CL_String | get_ns_nsdname () const |
| Get Ns nsdname. | |
| CL_String | get_ptr_ptrdname () const |
| Get Ptr ptrdname. | |
| CL_String | get_soa_mname () const |
| Get Soa mname. | |
| CL_String | get_soa_rname () const |
| Get Soa rname. | |
| unsigned int | get_soa_serial () const |
| int | get_soa_refresh () const |
| Get Soa refresh. | |
| int | get_soa_retry () const |
| Get Soa retry. | |
| int | get_soa_expire () const |
| Get Soa expire. | |
| unsigned int | get_soa_minimum () const |
| unsigned int | get_a_address () const |
| CL_String | get_a_address_str () const |
| Get A address str. | |
| unsigned int | get_wks_address () const |
| CL_String | get_wks_address_str () const |
| Get Wks address str. | |
| unsigned char | get_wks_protocol () const |
| CL_DataBuffer | get_wks_bit_map () const |
| Get Wks bit map. | |
|
|
|
|
|
Constructs a DNSResourceRecord.
|
|
|
|
|
|
Class description.
|
|
|
Class description.
|
|
|
Class from int.
|
|
|
Class to int.
|
|
||||||||||||
|
Find domain name end.
|
|
|
|
|
|
Get A address str.
|
|
|
Get Class.
|
|
|
Get Cname cname.
|
|
|
Get Mx exchange.
|
|
|
Get Mx preference.
|
|
|
Get Name.
|
|
|
Get Ns nsdname.
|
|
|
|
|
|
Get Ptr ptrdname.
|
|
|
Get Rdata length.
|
|
|
Get Rdata offset.
|
|
|
Get Record offset.
|
|
|
Get Soa expire.
|
|
|
|
|
|
Get Soa mname.
|
|
|
Get Soa refresh.
|
|
|
Get Soa retry.
|
|
|
Get Soa rname.
|
|
|
|
|
|
Get Ttl.
|
|
|
Get Type.
|
|
|
|
|
|
Get Wks address str.
|
|
|
Get Wks bit map.
|
|
|
|
|
|
|
|
||||||||||||
|
Read domain name.
|
|
||||||||||||
|
Set record.
|
|
|
Type description.
|
|
|
Type description.
|
|
|
Type from int.
|
|
|
Type to int.
|
1.4.6