var searchIndex = {}; searchIndex["dns_parser"] = {"doc":"","items":[[3,"Question","dns_parser","A parsed chunk of data in the Query section of the packet",null,null],[12,"qname","","",0,null],[12,"qtype","","",0,null],[12,"qclass","","",0,null],[3,"ResourceRecord","","A single DNS record",null,null],[12,"name","","",1,null],[12,"cls","","",1,null],[12,"ttl","","",1,null],[12,"data","","",1,null],[3,"Packet","","Parsed DNS packet",null,null],[12,"header","","",2,null],[12,"questions","","",2,null],[12,"answers","","",2,null],[12,"nameservers","","",2,null],[12,"additional","","",2,null],[3,"Name","","The DNS name as stored in the original packet",null,null],[3,"Header","","Represents parsed header of the packet",null,null],[12,"id","","",3,null],[12,"query","","",3,null],[12,"opcode","","",3,null],[12,"authoritative","","",3,null],[12,"truncated","","",3,null],[12,"recursion_desired","","",3,null],[12,"recursion_available","","",3,null],[12,"response_code","","",3,null],[12,"questions","","",3,null],[12,"answers","","",3,null],[12,"nameservers","","",3,null],[12,"additional","","",3,null],[3,"Builder","","Allows to build a DNS packet",null,null],[4,"Type","","The TYPE value according to RFC 1035",null,null],[13,"A","","a host addresss",4,null],[13,"NS","","an authoritative name server",4,null],[13,"MF","","a mail forwarder (Obsolete - use MX)",4,null],[13,"CNAME","","the canonical name for an alias",4,null],[13,"SOA","","marks the start of a zone of authority",4,null],[13,"MB","","a mailbox domain name (EXPERIMENTAL)",4,null],[13,"MG","","a mail group member (EXPERIMENTAL)",4,null],[13,"MR","","a mail rename domain name (EXPERIMENTAL)",4,null],[13,"NULL","","a null RR (EXPERIMENTAL)",4,null],[13,"WKS","","a well known service description",4,null],[13,"PTR","","a domain name pointer",4,null],[13,"HINFO","","host information",4,null],[13,"MINFO","","mailbox or mail list information",4,null],[13,"MX","","mail exchange",4,null],[13,"TXT","","text strings",4,null],[13,"AAAA","","IPv6 host address (RFC 2782)",4,null],[13,"SRV","","service record (RFC 2782)",4,null],[13,"OPT","","EDNS0 options (RFC 6891)",4,null],[4,"QueryType","","The QTYPE value according to RFC 1035",null,null],[13,"A","","a host addresss",5,null],[13,"NS","","an authoritative name server",5,null],[13,"MF","","a mail forwarder (Obsolete - use MX)",5,null],[13,"CNAME","","the canonical name for an alias",5,null],[13,"SOA","","marks the start of a zone of authority",5,null],[13,"MB","","a mailbox domain name (EXPERIMENTAL)",5,null],[13,"MG","","a mail group member (EXPERIMENTAL)",5,null],[13,"MR","","a mail rename domain name (EXPERIMENTAL)",5,null],[13,"NULL","","a null RR (EXPERIMENTAL)",5,null],[13,"WKS","","a well known service description",5,null],[13,"PTR","","a domain name pointer",5,null],[13,"HINFO","","host information",5,null],[13,"MINFO","","mailbox or mail list information",5,null],[13,"MX","","mail exchange",5,null],[13,"TXT","","text strings",5,null],[13,"AAAA","","IPv6 host address (RFC 2782)",5,null],[13,"SRV","","service record (RFC 2782)",5,null],[13,"AXFR","","A request for a transfer of an entire zone",5,null],[13,"MAILB","","A request for mailbox-related records (MB, MG or MR)",5,null],[13,"MAILA","","A request for mail agent RRs (Obsolete - see MX)",5,null],[13,"All","","A request for all records",5,null],[4,"Class","","The CLASS value according to RFC 1035",null,null],[13,"IN","","the Internet",6,null],[13,"CS","","the CSNET class (Obsolete - used only for examples in some obsolete\nRFCs)",6,null],[13,"CH","","the CHAOS class",6,null],[13,"HS","","Hesiod [Dyer 87]",6,null],[4,"QueryClass","","The QCLASS value according to RFC 1035",null,null],[13,"IN","","the Internet",7,null],[13,"CS","","the CSNET class (Obsolete - used only for examples in some obsolete\nRFCs)",7,null],[13,"CH","","the CHAOS class",7,null],[13,"HS","","Hesiod [Dyer 87]",7,null],[13,"Any","","Any class",7,null],[4,"ResponseCode","","The RCODE value according to RFC 1035",null,null],[13,"NoError","","",8,null],[13,"FormatError","","",8,null],[13,"ServerFailure","","",8,null],[13,"NameError","","",8,null],[13,"NotImplemented","","",8,null],[13,"Refused","","",8,null],[13,"Reserved","","",8,null],[4,"Opcode","","The OPCODE value according to RFC 1035",null,null],[13,"StandardQuery","","",9,null],[13,"InverseQuery","","",9,null],[13,"ServerStatusRequest","","",9,null],[13,"Reserved","","",9,null],[4,"Error","","Error parsing DNS packet",null,null],[13,"HeaderTooShort","","",10,null],[13,"UnexpectedEOF","","",10,null],[13,"WrongRdataLength","","",10,null],[13,"ReservedBitsAreNonZero","","",10,null],[13,"UnknownLabelFormat","","",10,null],[13,"InvalidQueryType","","",10,null],[13,"InvalidQueryClass","","",10,null],[13,"InvalidType","","",10,null],[13,"InvalidClass","","",10,null],[13,"LabelIsNotAscii","","",10,null],[13,"WrongState","","",10,null],[4,"RRData","","The enumeration that represents known types of DNS resource records data",null,null],[13,"CNAME","","",11,null],[13,"A","","",11,null],[13,"SRV","","",11,null],[12,"priority","dns_parser::RRData","",11,null],[12,"weight","","",11,null],[12,"port","","",11,null],[12,"target","","",11,null],[13,"MX","dns_parser","",11,null],[12,"prefererence","dns_parser::RRData","",11,null],[12,"exchange","","",11,null],[13,"Unknown","dns_parser","",11,null],[11,"clone","","",4,null],[11,"eq","","",4,null],[11,"fmt","","",4,null],[11,"clone","","",5,null],[11,"eq","","",5,null],[11,"fmt","","",5,null],[11,"clone","","",6,null],[11,"eq","","",6,null],[11,"fmt","","",6,null],[11,"clone","","",7,null],[11,"eq","","",7,null],[11,"fmt","","",7,null],[11,"clone","","",9,null],[11,"eq","","",9,null],[11,"ne","","",9,null],[11,"fmt","","",9,null],[11,"clone","","",8,null],[11,"eq","","",8,null],[11,"ne","","",8,null],[11,"fmt","","",8,null],[11,"from","","",9,{"inputs":[{"name":"u16"}],"output":{"name":"opcode"}}],[11,"into","","",9,null],[11,"from","","",8,{"inputs":[{"name":"u8"}],"output":{"name":"responsecode"}}],[11,"into","","",8,null],[11,"parse","","",5,{"inputs":[{"name":"u16"}],"output":{"name":"result"}}],[11,"parse","","",7,{"inputs":[{"name":"u16"}],"output":{"name":"result"}}],[11,"parse","","",4,{"inputs":[{"name":"u16"}],"output":{"name":"result"}}],[11,"parse","","",6,{"inputs":[{"name":"u16"}],"output":{"name":"result"}}],[11,"fmt","","",12,null],[11,"scan","","",12,null],[11,"byte_len","","",12,null],[11,"fmt","","",12,null],[11,"parse","","",2,null],[11,"fmt","","",10,null],[11,"fmt","","",10,null],[11,"description","","",10,null],[11,"cause","","",10,null],[11,"clone","","",3,null],[11,"eq","","",3,null],[11,"ne","","",3,null],[11,"fmt","","",3,null],[11,"parse","","",3,null],[11,"write","","Write a header to a buffer slice",3,null],[11,"set_truncated","","",3,null],[11,"size","","",3,{"inputs":[],"output":{"name":"usize"}}],[11,"fmt","","",11,null],[11,"parse","","",11,null],[11,"new_query","","Creates a new query",13,{"inputs":[{"name":"u16"},{"name":"bool"}],"output":{"name":"builder"}}],[11,"add_question","","Adds a question to the packet",13,null],[11,"build","","Returns the final packet",13,null]],"paths":[[3,"Question"],[3,"ResourceRecord"],[3,"Packet"],[3,"Header"],[4,"Type"],[4,"QueryType"],[4,"Class"],[4,"QueryClass"],[4,"ResponseCode"],[4,"Opcode"],[4,"Error"],[4,"RRData"],[3,"Name"],[3,"Builder"]]}; initSearch(searchIndex);