'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Struct resource_record

odtone::dns::resource_record

Synopsis

// In header: </home/carlos/Projectos/odtone/inc/odtone/net/dns/types.hpp>


struct resource_record {
  // construct/copy/destruct
  resource_record(std::string, uint16, uint16, uint32, uint16, 
                  std::vector< uint8 >);

  // public data members
  std::string _name;
  uint16 _type;
  uint16 _class;
  uint32 _ttl;
  uint16 _rr_len;
  std::vector< uint8 > _rr_data;
};

Description

resource_record public construct/copy/destruct

  1. resource_record(std::string qname, uint16 qtype, uint16 qclass, uint32 ttl, 
                    uint16 rr_len, std::vector< uint8 > rr_data);

PrevUpHomeNext