1// Copyright 2009 The Go Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style 3// license that can be found in the LICENSE file. 4 5package net 6 7import ( 8 "context" 9 "os" 10 "syscall" 11) 12 13func (c *UnixConn) readFrom(b []byte) (int, *UnixAddr, error) { 14 return 0, nil, syscall.EPLAN9 15} 16 17func (c *UnixConn) readMsg(b, oob []byte) (n, oobn, flags int, addr *UnixAddr, err error) { 18 return 0, 0, 0, nil, syscall.EPLAN9 19} 20 21func (c *UnixConn) writeTo(b []byte, addr *UnixAddr) (int, error) { 22 return 0, syscall.EPLAN9 23} 24 25func (c *UnixConn) writeMsg(b, oob []byte, addr *UnixAddr) (n, oobn int, err error) { 26 return 0, 0, syscall.EPLAN9 27} 28 29func (sd *sysDialer) dialUnix(ctx context.Context, laddr, raddr *UnixAddr) (*UnixConn, error) { 30 return nil, syscall.EPLAN9 31} 32 33func (ln *UnixListener) accept() (*UnixConn, error) { 34 return nil, syscall.EPLAN9 35} 36 37func (ln *UnixListener) close() error { 38 return syscall.EPLAN9 39} 40 41func (ln *UnixListener) file() (*os.File, error) { 42 return nil, syscall.EPLAN9 43} 44 45func (sl *sysListener) listenUnix(ctx context.Context, laddr *UnixAddr) (*UnixListener, error) { 46 return nil, syscall.EPLAN9 47} 48 49func (sl *sysListener) listenUnixgram(ctx context.Context, laddr *UnixAddr) (*UnixConn, error) { 50 return nil, syscall.EPLAN9 51} 52