vendor/golang.org/x/net/dns/dnsmessage.Name.Length (field)
24 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#L1901: Length uint8
message.go#L1906: n := Name{Length: uint8(len(name))}
message.go#L1925: return string(n.Data[:n.Length])
message.go#L1930: return `dnsmessage.MustNewName("` + printString(n.Data[:n.Length]) + `")`
message.go#L1943: if n.Length > nonEncodedNameMax {
message.go#L1948: if n.Length == 0 || n.Data[n.Length-1] != '.' {
message.go#L1953: if n.Data[0] == '.' && n.Length == 1 {
message.go#L1958: for i, begin := 0, 0; i < int(n.Length); i++ {
message.go#L2080: n.Length = uint8(len(name))
net
dnsclient.go#L53: if x.Length != y.Length {
dnsclient.go#L56: for i := 0; i < int(x.Length); i++ {
dnsclient_unix.go#L722: if cname.Length == 0 && h.Name.Length != 0 {
dnsclient_unix.go#L737: if cname.Length == 0 && h.Name.Length != 0 {
dnsclient_unix.go#L751: if cname.Length == 0 && c.CNAME.Length > 0 {
dnsclient_unix.go#L775: if len(addrs) > 0 || network == "CNAME" && cname.Length > 0 {
dnsclient_unix.go#L786: if len(addrs) == 0 && !(network == "CNAME" && cname.Length > 0) {
lookup.go#L740: if cname.Length == 0 && h.Name.Length != 0 {
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. |