vendor/golang.org/x/net/dns/dnsmessage.Name.Data (field)
16 uses
vendor/golang.org/x/net/dns/dnsmessage (current package)
message.go#L1735: h.Name = Name{Data: [255]byte{'.'}, Length: 1} // RFC 6891 section 6.1.2
message.go#L1900: Data [255]byte
message.go#L1907: if len(name) > len(n.Data) {
message.go#L1910: copy(n.Data[:], name)
message.go#L1925: return string(n.Data[:n.Length])
message.go#L1930: return `dnsmessage.MustNewName("` + printString(n.Data[:n.Length]) + `")`
message.go#L1948: if n.Length == 0 || n.Data[n.Length-1] != '.' {
message.go#L1953: if n.Data[0] == '.' && n.Length == 1 {
message.go#L1960: if n.Data[i] == '.' {
message.go#L1976: msg = append(msg, n.Data[j])
message.go#L1986: if (i == 0 || n.Data[i-1] == '.') && compression != nil {
message.go#L1987: if ptr, ok := compression[string(n.Data[i:])]; ok {
message.go#L1996: compression[string(n.Data[i:])] = len(msg) - compressionOff
message.go#L2021: name := n.Data[:0]
net
dnsclient.go#L57: a := x.Data[i]
dnsclient.go#L58: b := y.Data[i]
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |