summaryrefslogtreecommitdiffhomepage
path: root/conn/features_default.go
diff options
context:
space:
mode:
Diffstat (limited to 'conn/features_default.go')
-rw-r--r--conn/features_default.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/conn/features_default.go b/conn/features_default.go
new file mode 100644
index 0000000..d53ff5f
--- /dev/null
+++ b/conn/features_default.go
@@ -0,0 +1,15 @@
+//go:build !linux
+// +build !linux
+
+/* SPDX-License-Identifier: MIT
+ *
+ * Copyright (C) 2017-2023 WireGuard LLC. All Rights Reserved.
+ */
+
+package conn
+
+import "net"
+
+func supportsUDPOffload(conn *net.UDPConn) (txOffload, rxOffload bool) {
+ return
+}