syscall.SockaddrInet4.Addr (field)
15 uses
syscall (current package)
syscall_linux.go#L522: sa.raw.Addr = sa.Addr
syscall_linux.go#L657: sa.Addr = pp.Addr
syscall_unix.go#L269: Addr [4]byte
syscall_unix.go#L338: from.Addr = pp.Addr
syscall_unix.go#L365: from.Addr = pp.Addr
net
iprawsock_posix.go#L17: return &IPAddr{IP: sa.Addr[0:]}
iprawsock_posix.go#L52: addr = &IPAddr{IP: sa.Addr[0:]}
iprawsock_posix.go#L80: addr = &IPAddr{IP: sa.Addr[0:]}
ipsock_posix.go#L154: copy(sa.Addr[:], ip4)
ipsock_posix.go#L209: Addr: addr.As4(),
tcpsock_posix.go#L19: return &TCPAddr{IP: sa.Addr[0:], Port: sa.Port}
udpsock_posix.go#L18: return &UDPAddr{IP: sa.Addr[0:], Port: sa.Port}
udpsock_posix.go#L54: ip := from.Addr // copy from.Addr; ip escapes, so this line allocates 4 bytes
udpsock_posix.go#L80: ip = netip.AddrFrom4(from.Addr)
udpsock_posix.go#L102: ip := netip.AddrFrom4(sa.Addr)
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. |