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

29 uses

	vendor/golang.org/x/net/dns/dnsmessage (current package)
		message.go#L314: type Header struct {
		message.go#L327: func (m *Header) pack() (id uint16, bits uint16) {
		message.go#L355: func (m *Header) GoString() string {
		message.go#L369: 	Header
		message.go#L462: func (h *header) header() Header {
		message.go#L463: 	return Header{
		message.go#L551: func (p *Parser) Start(msg []byte) (Header, error) {
		message.go#L558: 		return Header{}, &nestedError{"unpacking header", err}
		message.go#L1229: func NewBuilder(buf []byte, h Header) Builder {

	net
		dnsclient_unix.go#L57: 	b := dnsmessage.NewBuilder(make([]byte, 2, 514), dnsmessage.Header{ID: id, RecursionDesired: true, AuthenticData: ad})
		dnsclient_unix.go#L88: func checkResponse(reqID uint16, reqQues dnsmessage.Question, respHdr dnsmessage.Header, respQues dnsmessage.Question) bool {
		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#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#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#L185: 		var h dnsmessage.Header
		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 {