diff options
author | Simon Rozman <simon@rozman.si> | 2019-03-20 21:45:40 +0100 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2019-03-21 00:56:45 +0100 |
commit | 91b4e909bb5fe6980ec56983247e2bfb9fb70ee6 (patch) | |
tree | ff282bf8eba704fdbb861d3fb4fce579439d9e11 /tun/mksyscall.go | |
parent | 2c51d6af48b8c6115852d72759c64aaaae5007d5 (diff) | |
download | wireguard-go-91b4e909bb5fe6980ec56983247e2bfb9fb70ee6.tar.gz wireguard-go-91b4e909bb5fe6980ec56983247e2bfb9fb70ee6.zip |
wintun: Use native Win32 API for I/O
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'tun/mksyscall.go')
-rw-r--r-- | tun/mksyscall.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tun/mksyscall.go b/tun/mksyscall.go new file mode 100644 index 0000000..06bb41e --- /dev/null +++ b/tun/mksyscall.go @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: MIT + * + * Copyright (C) 2019 WireGuard LLC. All Rights Reserved. + */ + +package tun + +//go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output ztun_windows.go tun_windows.go |