vendor/golang.org/x/net/dns/dnsmessage.Name.Length (field)
17 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#L1842: Length uint8
message.go#L1850: n := Name{Length: uint8(len(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#L1895: for i, begin := 0, 0; i < int(n.Length); i++ {
message.go#L2008: n.Length = uint8(len(name))
net
dnsclient.go#L54: if x.Length != y.Length {
dnsclient.go#L57: for i := 0; i < int(x.Length); i++ {
dnsclient_unix.go#L694: if cname.Length == 0 && h.Name.Length != 0 {
lookup_unix.go#L166: if cname.Length == 0 && h.Name.Length != 0 {
![]() |
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. |