wireguard-go/device
Jason A. Donenfeld c382222eab device: remove nodes by peer in O(1) instead of O(n)
Now that we have parent pointers hooked up, we can simply go right to
the node and remove it in place, rather than having to recursively walk
the entire trie.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-06-03 16:29:43 +02:00
..
alignment_test.go device: fix alignment on 32-bit machines and test for it 2021-02-09 15:37:04 +01:00
allowedips.go device: remove nodes by peer in O(1) instead of O(n) 2021-06-03 16:29:43 +02:00
allowedips_rand_test.go device: remove nodes by peer in O(1) instead of O(n) 2021-06-03 16:29:43 +02:00
allowedips_test.go device: remove recursion from insertion and connect parent pointers 2021-06-03 15:08:42 +02:00
bind_test.go global: bump copyright 2021-01-28 17:52:15 +01:00
channels.go device: flush peer queues before starting device 2021-02-10 00:39:28 +01:00
constants.go device: allow reducing queue constants on iOS 2021-05-22 01:00:51 +02:00
cookie.go global: bump copyright 2021-01-28 17:52:15 +01:00
cookie_test.go global: bump copyright 2021-01-28 17:52:15 +01:00
device.go device: allow reducing queue constants on iOS 2021-05-22 01:00:51 +02:00
device_test.go device: test up/down using virtual conn 2021-02-23 20:00:57 +01:00
devicestate_string.go device: remove deviceStateNew 2021-02-09 15:39:19 +01:00
endpoint_test.go global: bump copyright 2021-01-28 17:52:15 +01:00
indextable.go global: bump copyright 2021-01-28 17:52:15 +01:00
ip.go global: bump copyright 2021-01-28 17:52:15 +01:00
kdf_test.go global: bump copyright 2021-01-28 17:52:15 +01:00
keypair.go global: bump copyright 2021-01-28 17:52:15 +01:00
logger.go global: bump copyright 2021-01-28 17:52:15 +01:00
misc.go device: reduce size of trie struct 2021-06-03 13:51:03 +02:00
mobilequirks.go device: don't defer unlocking from loop 2021-04-12 16:19:35 -06:00
noise-helpers.go global: bump copyright 2021-01-28 17:52:15 +01:00
noise-protocol.go global: remove TODO name graffiti 2021-02-23 20:00:57 +01:00
noise-types.go global: bump copyright 2021-01-28 17:52:15 +01:00
noise_test.go device: cleanup unused test components 2021-02-23 20:00:57 +01:00
peer.go device: optimize Peer.String even more 2021-05-18 17:43:53 +02:00
pools.go device: use a waiting sync.Pool instead of a channel 2021-02-02 19:32:13 +01:00
pools_test.go device: disable waitpool tests 2021-02-22 15:26:47 +01:00
queueconstants_android.go global: bump copyright 2021-01-28 17:52:15 +01:00
queueconstants_default.go conn: implement RIO for fast Windows UDP sockets 2021-02-25 15:08:08 +01:00
queueconstants_ios.go device: allow reducing queue constants on iOS 2021-05-22 01:00:51 +02:00
queueconstants_windows.go conn: implement RIO for fast Windows UDP sockets 2021-02-25 15:08:08 +01:00
race_disabled_test.go device: run fewer trials in TestWaitPool when race detector enabled 2021-02-09 18:28:58 +01:00
race_enabled_test.go device: run fewer trials in TestWaitPool when race detector enabled 2021-02-09 18:28:58 +01:00
receive.go device: add ID to repeated routines 2021-05-07 12:21:21 +02:00
send.go tun: linux: account for interface removal from outside 2021-05-20 18:26:01 +02:00
sticky_default.go conn: make binds replacable 2021-02-23 20:00:57 +01:00
sticky_linux.go conn: make binds replacable 2021-02-23 20:00:57 +01:00
timers.go device: get rid of peers.empty boolean in timersActive 2021-03-06 08:44:38 -07:00
tun.go device: don't track device interface state in RoutineTUNEventReader 2021-02-08 10:32:07 -08:00
uapi.go device: reduce size of trie struct 2021-06-03 13:51:03 +02:00