package ipc
import "golang.zx2c4.com/wireguard/ipc"
Index ¶
- Constants
- func UAPIListen(name string, file *os.File) (net.Listener, error)
- func UAPIOpen(name string) (*os.File, error)
- type UAPIListener
Constants ¶
const ( IpcErrorIO = -int64(unix.EIO) IpcErrorProtocol = -int64(unix.EPROTO) IpcErrorInvalid = -int64(unix.EINVAL) IpcErrorPortInUse = -int64(unix.EADDRINUSE) IpcErrorUnknown = -55 // ENOANO )
Functions ¶
func UAPIListen ¶
func UAPIOpen ¶
Types ¶
type UAPIListener ¶
type UAPIListener struct {
// contains filtered or unexported fields
}
func (*UAPIListener) Accept ¶
func (l *UAPIListener) Accept() (net.Conn, error)
func (*UAPIListener) Addr ¶
func (l *UAPIListener) Addr() net.Addr
func (*UAPIListener) Close ¶
func (l *UAPIListener) Close() error
Source Files ¶
uapi_linux.go uapi_unix.go
- Version
- v0.0.0-20250505131008-436f7fdc1670 (latest)
- Published
- May 5, 2025
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 2 days ago –
Tools for package owners.