go/src/net/unixsock_posix.go

func unixSocket(ctx context.Context, net string, laddr, raddr sockaddr, mode string, ctxCtrlFn func(context.Context, string, string, syscall.RawConn) error) (*netFD, error) {}

func sockaddrToUnix(sa syscall.Sockaddr) Addr {}

func sockaddrToUnixgram(sa syscall.Sockaddr) Addr {}

func sockaddrToUnixpacket(sa syscall.Sockaddr) Addr {}

func sotypeToNet(sotype int) string {}

func (a *UnixAddr) family() int {}

func (a *UnixAddr) sockaddr(family int) (syscall.Sockaddr, error) {}

func (a *UnixAddr) toLocal(net string) sockaddr {}

func (c *UnixConn) readFrom(b []byte) (int, *UnixAddr, error) {}

func (c *UnixConn) readMsg(b, oob []byte) (n, oobn, flags int, addr *UnixAddr, err error) {}

func (c *UnixConn) writeTo(b []byte, addr *UnixAddr) (int, error) {}

func (c *UnixConn) writeMsg(b, oob []byte, addr *UnixAddr) (n, oobn int, err error) {}

func (sd *sysDialer) dialUnix(ctx context.Context, laddr, raddr *UnixAddr) (*UnixConn, error) {}

func (ln *UnixListener) accept() (*UnixConn, error) {}

func (ln *UnixListener) close() error {}

func (ln *UnixListener) file() (*os.File, error) {}

// SetUnlinkOnClose sets whether the underlying socket file should be removed
// from the file system when the listener is closed.
//
// The default behavior is to unlink the socket file only when package net created it.
// That is, when the listener and the underlying socket file were created by a call to
// Listen or ListenUnix, then by default closing the listener will remove the socket file.
// but if the listener was created by a call to FileListener to use an already existing
// socket file, then by default closing the listener will not remove the socket file.
func (l *UnixListener) SetUnlinkOnClose(unlink bool) {}

func (sl *sysListener) listenUnix(ctx context.Context, laddr *UnixAddr) (*UnixListener, error) {}

func (sl *sysListener) listenUnixgram(ctx context.Context, laddr *UnixAddr) (*UnixConn, error) {}