aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/uapi_bsd.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ipc/uapi_bsd.go (renamed from uapi_bsd.go)10
1 files changed, 5 insertions, 5 deletions
diff --git a/uapi_bsd.go b/ipc/uapi_bsd.go
index d75f4f2..f66c386 100644
--- a/uapi_bsd.go
+++ b/ipc/uapi_bsd.go
@@ -5,7 +5,7 @@
* Copyright (C) 2017-2019 WireGuard LLC. All Rights Reserved.
*/
-package main
+package ipc
import (
"errors"
@@ -20,10 +20,10 @@ import (
var socketDirectory = "/var/run/wireguard"
const (
- ipcErrorIO = -int64(unix.EIO)
- ipcErrorProtocol = -int64(unix.EPROTO)
- ipcErrorInvalid = -int64(unix.EINVAL)
- ipcErrorPortInUse = -int64(unix.EADDRINUSE)
+ IpcErrorIO = -int64(unix.EIO)
+ IpcErrorProtocol = -int64(unix.EPROTO)
+ IpcErrorInvalid = -int64(unix.EINVAL)
+ IpcErrorPortInUse = -int64(unix.EADDRINUSE)
socketName = "%s.sock"
)