diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2018-02-04 16:08:26 +0100 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2018-02-04 16:08:26 +0100 |
commit | a0f54cbe5ac2cd8b8296c2c57c30029dd349cff0 (patch) | |
tree | 64574090d79ff3899c5c18e5268e450028e4656b | |
parent | 5871ec04deb8f4715cab37146940baa35c08cbee (diff) |
Align with go library layout
-rw-r--r-- | Makefile (renamed from src/Makefile) | 0 | ||||
-rwxr-xr-x | build.cmd (renamed from src/build.cmd) | 0 | ||||
-rw-r--r-- | conn.go (renamed from src/conn.go) | 0 | ||||
-rw-r--r-- | conn_default.go (renamed from src/conn_default.go) | 0 | ||||
-rw-r--r-- | conn_linux.go (renamed from src/conn_linux.go) | 0 | ||||
-rw-r--r-- | constants.go (renamed from src/constants.go) | 0 | ||||
-rw-r--r-- | cookie.go (renamed from src/cookie.go) | 0 | ||||
-rw-r--r-- | cookie_test.go (renamed from src/cookie_test.go) | 0 | ||||
-rw-r--r-- | daemon_darwin.go (renamed from src/daemon_darwin.go) | 0 | ||||
-rw-r--r-- | daemon_linux.go (renamed from src/daemon_linux.go) | 0 | ||||
-rw-r--r-- | daemon_windows.go (renamed from src/daemon_windows.go) | 0 | ||||
-rw-r--r-- | device.go (renamed from src/device.go) | 0 | ||||
-rw-r--r-- | helper_test.go (renamed from src/helper_test.go) | 0 | ||||
-rw-r--r-- | index.go (renamed from src/index.go) | 0 | ||||
-rw-r--r-- | ip.go (renamed from src/ip.go) | 0 | ||||
-rw-r--r-- | kdf_test.go (renamed from src/kdf_test.go) | 0 | ||||
-rw-r--r-- | keypair.go (renamed from src/keypair.go) | 0 | ||||
-rw-r--r-- | logger.go (renamed from src/logger.go) | 0 | ||||
-rw-r--r-- | main.go (renamed from src/main.go) | 0 | ||||
-rw-r--r-- | misc.go (renamed from src/misc.go) | 0 | ||||
-rw-r--r-- | noise_helpers.go (renamed from src/noise_helpers.go) | 0 | ||||
-rw-r--r-- | noise_protocol.go (renamed from src/noise_protocol.go) | 0 | ||||
-rw-r--r-- | noise_test.go (renamed from src/noise_test.go) | 0 | ||||
-rw-r--r-- | noise_types.go (renamed from src/noise_types.go) | 0 | ||||
-rw-r--r-- | peer.go (renamed from src/peer.go) | 0 | ||||
-rw-r--r-- | ratelimiter.go (renamed from src/ratelimiter.go) | 0 | ||||
-rw-r--r-- | ratelimiter_test.go (renamed from src/ratelimiter_test.go) | 0 | ||||
-rw-r--r-- | receive.go (renamed from src/receive.go) | 0 | ||||
-rw-r--r-- | replay.go (renamed from src/replay.go) | 0 | ||||
-rw-r--r-- | replay_test.go (renamed from src/replay_test.go) | 0 | ||||
-rw-r--r-- | routing.go (renamed from src/routing.go) | 0 | ||||
-rw-r--r-- | send.go (renamed from src/send.go) | 0 | ||||
-rw-r--r-- | signal.go (renamed from src/signal.go) | 0 | ||||
-rw-r--r-- | tai64.go (renamed from src/tai64.go) | 0 | ||||
-rwxr-xr-x | tests/netns.sh (renamed from src/tests/netns.sh) | 4 | ||||
-rw-r--r-- | timer.go (renamed from src/timer.go) | 0 | ||||
-rw-r--r-- | timers.go (renamed from src/timers.go) | 0 | ||||
-rw-r--r-- | trie.go (renamed from src/trie.go) | 0 | ||||
-rw-r--r-- | trie_rand_test.go (renamed from src/trie_rand_test.go) | 0 | ||||
-rw-r--r-- | trie_test.go (renamed from src/trie_test.go) | 0 | ||||
-rw-r--r-- | tun.go (renamed from src/tun.go) | 0 | ||||
-rw-r--r-- | tun_darwin.go (renamed from src/tun_darwin.go) | 0 | ||||
-rw-r--r-- | tun_linux.go (renamed from src/tun_linux.go) | 4 | ||||
-rw-r--r-- | tun_windows.go (renamed from src/tun_windows.go) | 0 | ||||
-rw-r--r-- | uapi.go (renamed from src/uapi.go) | 0 | ||||
-rw-r--r-- | uapi_darwin.go (renamed from src/uapi_darwin.go) | 0 | ||||
-rw-r--r-- | uapi_linux.go (renamed from src/uapi_linux.go) | 0 | ||||
-rw-r--r-- | uapi_windows.go (renamed from src/uapi_windows.go) | 0 | ||||
-rw-r--r-- | xchacha20.go (renamed from src/xchacha20.go) | 0 | ||||
-rw-r--r-- | xchacha20_test.go (renamed from src/xchacha20_test.go) | 0 |
50 files changed, 4 insertions, 4 deletions
diff --git a/src/build.cmd b/build.cmd index 52cb883..52cb883 100755 --- a/src/build.cmd +++ b/build.cmd diff --git a/src/conn_default.go b/conn_default.go index 5b73c90..5b73c90 100644 --- a/src/conn_default.go +++ b/conn_default.go diff --git a/src/conn_linux.go b/conn_linux.go index cdba74f..cdba74f 100644 --- a/src/conn_linux.go +++ b/conn_linux.go diff --git a/src/constants.go b/constants.go index 71dd98e..71dd98e 100644 --- a/src/constants.go +++ b/constants.go diff --git a/src/cookie.go b/cookie.go index a13ad49..a13ad49 100644 --- a/src/cookie.go +++ b/cookie.go diff --git a/src/cookie_test.go b/cookie_test.go index d745fe7..d745fe7 100644 --- a/src/cookie_test.go +++ b/cookie_test.go diff --git a/src/daemon_darwin.go b/daemon_darwin.go index 913af0e..913af0e 100644 --- a/src/daemon_darwin.go +++ b/daemon_darwin.go diff --git a/src/daemon_linux.go b/daemon_linux.go index e1aaede..e1aaede 100644 --- a/src/daemon_linux.go +++ b/daemon_linux.go diff --git a/src/daemon_windows.go b/daemon_windows.go index d5ec1e8..d5ec1e8 100644 --- a/src/daemon_windows.go +++ b/daemon_windows.go diff --git a/src/device.go b/device.go index c041987..c041987 100644 --- a/src/device.go +++ b/device.go diff --git a/src/helper_test.go b/helper_test.go index 41e6b72..41e6b72 100644 --- a/src/helper_test.go +++ b/helper_test.go diff --git a/src/kdf_test.go b/kdf_test.go index a89dacc..a89dacc 100644 --- a/src/kdf_test.go +++ b/kdf_test.go diff --git a/src/keypair.go b/keypair.go index 283cb92..283cb92 100644 --- a/src/keypair.go +++ b/keypair.go diff --git a/src/logger.go b/logger.go index 0872ef9..0872ef9 100644 --- a/src/logger.go +++ b/logger.go diff --git a/src/noise_helpers.go b/noise_helpers.go index 1e2de5f..1e2de5f 100644 --- a/src/noise_helpers.go +++ b/noise_helpers.go diff --git a/src/noise_protocol.go b/noise_protocol.go index c9713c0..c9713c0 100644 --- a/src/noise_protocol.go +++ b/noise_protocol.go diff --git a/src/noise_test.go b/noise_test.go index 5e9d44b..5e9d44b 100644 --- a/src/noise_test.go +++ b/noise_test.go diff --git a/src/noise_types.go b/noise_types.go index 1a944df..1a944df 100644 --- a/src/noise_types.go +++ b/noise_types.go diff --git a/src/ratelimiter.go b/ratelimiter.go index 6e5f005..6e5f005 100644 --- a/src/ratelimiter.go +++ b/ratelimiter.go diff --git a/src/ratelimiter_test.go b/ratelimiter_test.go index 13b6a23..13b6a23 100644 --- a/src/ratelimiter_test.go +++ b/ratelimiter_test.go diff --git a/src/receive.go b/receive.go index 1f44df2..1f44df2 100644 --- a/src/receive.go +++ b/receive.go diff --git a/src/replay.go b/replay.go index 5d42860..5d42860 100644 --- a/src/replay.go +++ b/replay.go diff --git a/src/replay_test.go b/replay_test.go index 228fce6..228fce6 100644 --- a/src/replay_test.go +++ b/replay_test.go diff --git a/src/routing.go b/routing.go index 2a2e237..2a2e237 100644 --- a/src/routing.go +++ b/routing.go diff --git a/src/signal.go b/signal.go index 2cefad4..2cefad4 100644 --- a/src/signal.go +++ b/signal.go diff --git a/src/tests/netns.sh b/tests/netns.sh index 02d428b..6c47a44 100755 --- a/src/tests/netns.sh +++ b/tests/netns.sh @@ -80,11 +80,11 @@ pp ip netns add $netns2 ip0 link set up dev lo # ip0 link add dev wg1 type wireguard -n0 $program wg1 +n0 $program -f wg1 & ip0 link set wg1 netns $netns1 # ip0 link add dev wg1 type wireguard -n0 $program wg2 +n0 $program -f wg2 & ip0 link set wg2 netns $netns2 key1="$(pp wg genkey)" diff --git a/src/timers.go b/timers.go index 7092688..7092688 100644 --- a/src/timers.go +++ b/timers.go diff --git a/src/trie_rand_test.go b/trie_rand_test.go index 840d269..840d269 100644 --- a/src/trie_rand_test.go +++ b/trie_rand_test.go diff --git a/src/trie_test.go b/trie_test.go index 9d53df3..9d53df3 100644 --- a/src/trie_test.go +++ b/trie_test.go diff --git a/src/tun_darwin.go b/tun_darwin.go index 87f6af6..87f6af6 100644 --- a/src/tun_darwin.go +++ b/tun_darwin.go diff --git a/src/tun_linux.go b/tun_linux.go index 9756169..daa2462 100644 --- a/src/tun_linux.go +++ b/tun_linux.go @@ -313,7 +313,7 @@ func CreateTUNFromFile(name string, fd *os.File) (TUNDevice, error) { } go device.RoutineNetlinkListener() - // go device.RoutineHackListener() // cross namespace + go device.RoutineHackListener() // cross namespace // set default MTU @@ -369,7 +369,7 @@ func CreateTUN(name string) (TUNDevice, error) { } go device.RoutineNetlinkListener() - // go device.RoutineHackListener() // cross namespace + go device.RoutineHackListener() // cross namespace // set default MTU diff --git a/src/tun_windows.go b/tun_windows.go index 0711032..0711032 100644 --- a/src/tun_windows.go +++ b/tun_windows.go diff --git a/src/uapi_darwin.go b/uapi_darwin.go index 63d4d8d..63d4d8d 100644 --- a/src/uapi_darwin.go +++ b/uapi_darwin.go diff --git a/src/uapi_linux.go b/uapi_linux.go index f97a18a..f97a18a 100644 --- a/src/uapi_linux.go +++ b/uapi_linux.go diff --git a/src/uapi_windows.go b/uapi_windows.go index a4599a5..a4599a5 100644 --- a/src/uapi_windows.go +++ b/uapi_windows.go diff --git a/src/xchacha20.go b/xchacha20.go index 5d963e0..5d963e0 100644 --- a/src/xchacha20.go +++ b/xchacha20.go diff --git a/src/xchacha20_test.go b/xchacha20_test.go index 0f41cf8..0f41cf8 100644 --- a/src/xchacha20_test.go +++ b/xchacha20_test.go |