vendor/golang.org/x/net/route.LinkAddr.Addr (field)
8 uses
vendor/golang.org/x/net/route (current package)
address.go#L21: Addr []byte // link-layer address when attached
address.go#L28: l := 8 + len(a.Name) + len(a.Addr)
address.go#L37: nlen, alen := len(a.Name), len(a.Addr)
address.go#L54: copy(data[:alen], a.Addr)
address.go#L115: return l, &LinkAddr{Name: name, Addr: addr}, nil
net
interface_bsd.go#L38: if sa, ok := m.Addrs[syscall.RTAX_IFP].(*route.LinkAddr); ok && len(sa.Addr) > 0 {
interface_bsd.go#L39: ift[n].HardwareAddr = make([]byte, len(sa.Addr))
interface_bsd.go#L40: copy(ift[n].HardwareAddr, sa.Addr)
![]() |
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. |