type vendor/golang.org/x/net/dns/dnsmessage.Parser

68 uses

	vendor/golang.org/x/net/dns/dnsmessage (current package)
		message.go#L539: type Parser struct {
		message.go#L551: func (p *Parser) Start(msg []byte) (Header, error) {
		message.go#L553: 		*p = Parser{}
		message.go#L564: func (p *Parser) checkAdvance(sec section) error {
		message.go#L580: func (p *Parser) resource(sec section) (Resource, error) {
		message.go#L596: func (p *Parser) resourceHeader(sec section) (ResourceHeader, error) {
		message.go#L614: func (p *Parser) skipResource(sec section) error {
		message.go#L638: func (p *Parser) Question() (Question, error) {
		message.go#L661: func (p *Parser) AllQuestions() ([]Question, error) {
		message.go#L682: func (p *Parser) SkipQuestion() error {
		message.go#L702: func (p *Parser) SkipAllQuestions() error {
		message.go#L713: func (p *Parser) AnswerHeader() (ResourceHeader, error) {
		message.go#L718: func (p *Parser) Answer() (Resource, error) {
		message.go#L723: func (p *Parser) AllAnswers() ([]Resource, error) {
		message.go#L747: func (p *Parser) SkipAnswer() error {
		message.go#L752: func (p *Parser) SkipAllAnswers() error {
		message.go#L763: func (p *Parser) AuthorityHeader() (ResourceHeader, error) {
		message.go#L768: func (p *Parser) Authority() (Resource, error) {
		message.go#L773: func (p *Parser) AllAuthorities() ([]Resource, error) {
		message.go#L797: func (p *Parser) SkipAuthority() error {
		message.go#L802: func (p *Parser) SkipAllAuthorities() error {
		message.go#L813: func (p *Parser) AdditionalHeader() (ResourceHeader, error) {
		message.go#L818: func (p *Parser) Additional() (Resource, error) {
		message.go#L823: func (p *Parser) AllAdditionals() ([]Resource, error) {
		message.go#L847: func (p *Parser) SkipAdditional() error {
		message.go#L852: func (p *Parser) SkipAllAdditionals() error {
		message.go#L866: func (p *Parser) CNAMEResource() (CNAMEResource, error) {
		message.go#L884: func (p *Parser) MXResource() (MXResource, error) {
		message.go#L902: func (p *Parser) NSResource() (NSResource, error) {
		message.go#L920: func (p *Parser) PTRResource() (PTRResource, error) {
		message.go#L938: func (p *Parser) SOAResource() (SOAResource, error) {
		message.go#L956: func (p *Parser) TXTResource() (TXTResource, error) {
		message.go#L974: func (p *Parser) SRVResource() (SRVResource, error) {
		message.go#L992: func (p *Parser) AResource() (AResource, error) {
		message.go#L1010: func (p *Parser) AAAAResource() (AAAAResource, error) {
		message.go#L1028: func (p *Parser) OPTResource() (OPTResource, error) {
		message.go#L1046: func (p *Parser) UnknownResource() (UnknownResource, error) {
		message.go#L1062: 	var p Parser

	net
		cgo_unix.go#L360: 	var p dnsmessage.Parser
		dnsclient_unix.go#L101: func dnsPacketRoundTrip(c Conn, id uint16, query dnsmessage.Question, b []byte) (dnsmessage.Parser, dnsmessage.Header, error) {
		dnsclient_unix.go#L103: 		return dnsmessage.Parser{}, dnsmessage.Header{}, err
		dnsclient_unix.go#L110: 			return dnsmessage.Parser{}, dnsmessage.Header{}, err
		dnsclient_unix.go#L112: 		var p dnsmessage.Parser
		dnsclient_unix.go#L128: func dnsStreamRoundTrip(c Conn, id uint16, query dnsmessage.Question, b []byte) (dnsmessage.Parser, dnsmessage.Header, error) {
		dnsclient_unix.go#L130: 		return dnsmessage.Parser{}, dnsmessage.Header{}, err
		dnsclient_unix.go#L135: 		return dnsmessage.Parser{}, dnsmessage.Header{}, err
		dnsclient_unix.go#L143: 		return dnsmessage.Parser{}, dnsmessage.Header{}, err
		dnsclient_unix.go#L145: 	var p dnsmessage.Parser
		dnsclient_unix.go#L148: 		return dnsmessage.Parser{}, dnsmessage.Header{}, errCannotUnmarshalDNSMessage
		dnsclient_unix.go#L152: 		return dnsmessage.Parser{}, dnsmessage.Header{}, errCannotUnmarshalDNSMessage
		dnsclient_unix.go#L155: 		return dnsmessage.Parser{}, dnsmessage.Header{}, errInvalidDNSResponse
		dnsclient_unix.go#L161: func (r *Resolver) exchange(ctx context.Context, server string, q dnsmessage.Question, timeout time.Duration, useTCP, ad bool) (dnsmessage.Parser, dnsmessage.Header, error) {
		dnsclient_unix.go#L165: 		return dnsmessage.Parser{}, dnsmessage.Header{}, errCannotMarshalDNSMessage
		dnsclient_unix.go#L179: 			return dnsmessage.Parser{}, dnsmessage.Header{}, err
		dnsclient_unix.go#L184: 		var p dnsmessage.Parser
		dnsclient_unix.go#L193: 			return dnsmessage.Parser{}, dnsmessage.Header{}, mapErr(err)
		dnsclient_unix.go#L196: 			return dnsmessage.Parser{}, dnsmessage.Header{}, errInvalidDNSResponse
		dnsclient_unix.go#L203: 	return dnsmessage.Parser{}, dnsmessage.Header{}, errNoAnswerFromDNSServer
		dnsclient_unix.go#L207: func checkHeader(p *dnsmessage.Parser, h dnsmessage.Header) error {
		dnsclient_unix.go#L238: func skipToAnswer(p *dnsmessage.Parser, qtype dnsmessage.Type) error {
		dnsclient_unix.go#L258: func (r *Resolver) tryOneName(ctx context.Context, cfg *dnsConfig, name string, qtype dnsmessage.Type) (dnsmessage.Parser, string, error) {
		dnsclient_unix.go#L265: 		return dnsmessage.Parser{}, "", errCannotMarshalDNSMessage
		dnsclient_unix.go#L334: 	return dnsmessage.Parser{}, "", lastErr
		dnsclient_unix.go#L424: func (r *Resolver) lookup(ctx context.Context, name string, qtype dnsmessage.Type, conf *dnsConfig) (dnsmessage.Parser, string, error) {
		dnsclient_unix.go#L431: 		return dnsmessage.Parser{}, "", &DNSError{Err: errNoSuchHost.Error(), Name: name, IsNotFound: true}
		dnsclient_unix.go#L439: 		p      dnsmessage.Parser
		dnsclient_unix.go#L463: 	return dnsmessage.Parser{}, "", err
		dnsclient_unix.go#L619: 		p      dnsmessage.Parser