vendor/golang.org/x/net/dns/dnsmessage.Name.Data (field)
16 uses
vendor/golang.org/x/net/dns/dnsmessage (current package)
message.go#L1676: h.Name = Name{Data: [nameLen]byte{'.'}, Length: 1} // RFC 6891 section 6.1.2
message.go#L1841: Data [nameLen]byte
message.go#L1851: copy(n.Data[:], []byte(name))
message.go#L1866: return string(n.Data[:n.Length])
message.go#L1871: return `dnsmessage.MustNewName("` + printString(n.Data[:n.Length]) + `")`
message.go#L1885: if n.Length == 0 || n.Data[n.Length-1] != '.' {
message.go#L1890: if n.Data[0] == '.' && n.Length == 1 {
message.go#L1897: if n.Data[i] == '.' {
message.go#L1913: msg = append(msg, n.Data[j])
message.go#L1923: if (i == 0 || n.Data[i-1] == '.') && compression != nil {
message.go#L1924: if ptr, ok := compression[string(n.Data[i:])]; ok {
message.go#L1933: compression[string(n.Data[i:])] = len(msg) - compressionOff
message.go#L1958: name := n.Data[:0]
message.go#L2005: if len(name) > len(n.Data) {
net
dnsclient.go#L58: a := x.Data[i]
dnsclient.go#L59: b := y.Data[i]
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |