type syscall.Sockaddr
50 uses
syscall (current package)
syscall_linux.go#L606: func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
syscall_linux.go#L672: func Accept4(fd int, flags int) (nfd int, sa Sockaddr, err error) {
syscall_linux.go#L690: func Getsockname(fd int) (sa Sockaddr, err error) {
syscall_linux_accept4.go#L12: func Accept(fd int) (nfd int, sa Sockaddr, err error) {
syscall_unix.go#L263: type Sockaddr interface {
syscall_unix.go#L285: func Bind(fd int, sa Sockaddr) (err error) {
syscall_unix.go#L293: func Connect(fd int, sa Sockaddr) (err error) {
syscall_unix.go#L301: func Getpeername(fd int) (sa Sockaddr, err error) {
syscall_unix.go#L317: func Recvfrom(fd int, p []byte, flags int) (n int, from Sockaddr, err error) {
syscall_unix.go#L383: func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
syscall_unix.go#L393: func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
syscall_unix.go#L398: func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
syscall_unix.go#L442: func Sendto(fd int, p []byte, flags int, to Sockaddr) (err error) {
internal/poll
fd_unix.go#L204: func (fd *FD) ReadFrom(p []byte) (int, syscall.Sockaddr, error) {
fd_unix.go#L285: func (fd *FD) ReadMsg(p []byte, oob []byte, flags int) (int, int, int, syscall.Sockaddr, error) {
fd_unix.go#L488: func (fd *FD) WriteTo(p []byte, sa syscall.Sockaddr) (int, error) {
fd_unix.go#L514: func (fd *FD) WriteMsg(p []byte, oob []byte, sa syscall.Sockaddr) (int, int, error) {
fd_unix.go#L592: func (fd *FD) Accept() (int, syscall.Sockaddr, string, error) {
hook_cloexec.go#L12: var Accept4Func func(int, int) (int, syscall.Sockaddr, error) = syscall.Accept4
hook_unix.go#L15: var AcceptFunc func(int) (int, syscall.Sockaddr, error) = syscall.Accept
sock_cloexec.go#L16: func accept(s int) (int, syscall.Sockaddr, string, error) {
net
fd_posix.go#L60: func (fd *netFD) readFrom(p []byte) (n int, sa syscall.Sockaddr, err error) {
fd_posix.go#L77: func (fd *netFD) readMsg(p []byte, oob []byte, flags int) (n, oobn, retflags int, sa syscall.Sockaddr, err error) {
fd_posix.go#L101: func (fd *netFD) writeTo(p []byte, sa syscall.Sockaddr) (n int, err error) {
fd_posix.go#L119: func (fd *netFD) writeMsg(p []byte, oob []byte, sa syscall.Sockaddr) (n int, oobn int, err error) {
fd_unix.go#L55: func (fd *netFD) connect(ctx context.Context, la, ra syscall.Sockaddr) (rsa syscall.Sockaddr, ret error) {
hook_unix.go#L17: connectFunc func(int, syscall.Sockaddr) error = syscall.Connect
iprawsock_posix.go#L14: func sockaddrToIP(sa syscall.Sockaddr) Addr {
iprawsock_posix.go#L34: func (a *IPAddr) sockaddr(family int) (syscall.Sockaddr, error) {
iprawsock_posix.go#L76: var sa syscall.Sockaddr
ipsock_posix.go#L183: func ipToSockaddr(family int, ip IP, port int, zone string) (syscall.Sockaddr, error) {
sock_posix.go#L92: func (fd *netFD) addrFunc() func(syscall.Sockaddr) Addr {
sock_posix.go#L113: return func(syscall.Sockaddr) Addr { return nil }
sock_posix.go#L135: var lsa syscall.Sockaddr
sock_posix.go#L145: var rsa syscall.Sockaddr // remote address from the user
sock_posix.go#L146: var crsa syscall.Sockaddr // remote address we actually connected to
sock_posix.go#L182: var lsa syscall.Sockaddr
sock_posix.go#L236: var lsa syscall.Sockaddr
sockaddr_posix.go#L30: sockaddr(family int) (syscall.Sockaddr, error)
tcpsock_posix.go#L16: func sockaddrToTCP(sa syscall.Sockaddr) Addr {
tcpsock_posix.go#L36: func (a *TCPAddr) sockaddr(family int) (syscall.Sockaddr, error) {
udpsock_posix.go#L15: func sockaddrToUDP(sa syscall.Sockaddr) Addr {
udpsock_posix.go#L35: func (a *UDPAddr) sockaddr(family int) (syscall.Sockaddr, error) {
unixsock_posix.go#L52: func sockaddrToUnix(sa syscall.Sockaddr) Addr {
unixsock_posix.go#L59: func sockaddrToUnixgram(sa syscall.Sockaddr) Addr {
unixsock_posix.go#L66: func sockaddrToUnixpacket(sa syscall.Sockaddr) Addr {
unixsock_posix.go#L90: func (a *UnixAddr) sockaddr(family int) (syscall.Sockaddr, error) {
unixsock_posix.go#L114: var sa syscall.Sockaddr
unixsock_posix.go#L147: var sa syscall.Sockaddr
|
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. |