summaryrefslogtreecommitdiffhomepage
path: root/tun/wintun/resource/mksyscall.go
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2020-11-06 05:24:50 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-07 15:20:49 +0100
commit65e03a918274534015ca189bfadc33cbba9e3ec8 (patch)
treea7b84f08e1602324f22bf857ca9148194562e923 /tun/wintun/resource/mksyscall.go
parent3e08b8aee0f6ae038f6316ca1bb84e5214db318f (diff)
wintun: load wintun.dll from RCDATA resource
Signed-off-by: Simon Rozman <simon@rozman.si> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tun/wintun/resource/mksyscall.go')
-rw-r--r--tun/wintun/resource/mksyscall.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/tun/wintun/resource/mksyscall.go b/tun/wintun/resource/mksyscall.go
new file mode 100644
index 0000000..9235614
--- /dev/null
+++ b/tun/wintun/resource/mksyscall.go
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: MIT
+ *
+ * Copyright (C) 2020 WireGuard LLC. All Rights Reserved.
+ */
+
+package resource
+
+//go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go resource_windows.go