public PacketFlags(KaitaiStream p__io, DnsPacket p__parent = null, DnsPacket p__root = null) : base(p__io)
 {
     m_parent = p__parent;
     m_root   = p__root;
     f_qr     = false;
     f_ra     = false;
     f_tc     = false;
     f_rcode  = false;
     f_opcode = false;
     f_aa     = false;
     f_z      = false;
     f_rd     = false;
     f_cd     = false;
     f_ad     = false;
     _read();
 }
Exemple #2
0
 public AuthorityInfo(KaitaiStream p__io, DnsPacket.Answer p__parent = null, DnsPacket p__root = null) : base(p__io)
 {
     m_parent = p__parent;
     m_root   = p__root;
     _read();
 }
Exemple #3
0
 public Answer(KaitaiStream p__io, DnsPacket p__parent = null, DnsPacket p__root = null) : base(p__io)
 {
     m_parent = p__parent;
     m_root   = p__root;
     _read();
 }
Exemple #4
0
 public DnsPacket(KaitaiStream p__io, KaitaiStruct p__parent = null, DnsPacket p__root = null) : base(p__io)
 {
     m_parent = p__parent;
     m_root   = p__root ?? this;
     _read();
 }
Exemple #5
0
 public Txt(KaitaiStream p__io, DnsPacket.TxtBody p__parent = null, DnsPacket p__root = null) : base(p__io)
 {
     m_parent = p__parent;
     m_root   = p__root;
     _read();
 }
Exemple #6
0
 public DomainName(KaitaiStream p__io, KaitaiStruct p__parent = null, DnsPacket p__root = null) : base(p__io)
 {
     m_parent = p__parent;
     m_root   = p__root;
     _read();
 }
Exemple #7
0
 public PointerStruct(KaitaiStream p__io, DnsPacket.Label p__parent = null, DnsPacket p__root = null) : base(p__io)
 {
     m_parent   = p__parent;
     m_root     = p__root;
     f_contents = false;
     _read();
 }
Exemple #8
0
 public Query(KaitaiStream p__io, DnsPacket.MessageBody p__parent = null, DnsPacket p__root = null) : base(p__io)
 {
     m_parent = p__parent;
     m_root   = p__root;
     _read();
 }