1
0
mirror of https://git.zx2c4.com/wireguard-nt synced 2024-09-22 03:51:38 +00:00
wireguard-nt/driver
Jason A. Donenfeld cbf2764508 driver: allowedips: expand maximum node depth
In the allowedips self-test, nodes are inserted into the tree, but it
generated an even amount of nodes, but for checking maximum node depth,
there is of course the root node, which makes the total number
necessarily odd. With two few nodes added, it never triggered the
maximum depth check like it should have. So, add 129 nodes instead of
128 nodes, and do so with a more straightforward scheme, starting with
all the bits set, and shifting over one each time.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-12-11 15:08:55 +00:00
..
selftest driver: allowedips: expand maximum node depth 2023-12-11 15:08:55 +00:00
allowedips.c driver: allowedips: expand maximum node depth 2023-12-11 15:08:55 +00:00
allowedips.h Introduce WireGuardNT 2021-08-02 20:36:36 +02:00
arithmetic.h Introduce WireGuardNT 2021-08-02 20:36:36 +02:00
containers.h driver: receive: drop handshakes if queue lock is contended 2021-09-09 09:48:02 +00:00
cookie.c Introduce WireGuardNT 2021-08-02 20:36:36 +02:00
cookie.h Introduce WireGuardNT 2021-08-02 20:36:36 +02:00
crypto-amd64.asm Introduce WireGuardNT 2021-08-02 20:36:36 +02:00
crypto.c driver: ioctl: do not return zero psks 2021-08-10 00:27:36 +02:00
crypto.h driver: ioctl: do not return zero psks 2021-08-10 00:27:36 +02:00
device.c driver: socket: defer WskInit until sockets are actually created 2021-09-24 12:39:10 -06:00
device.h driver: ioctl: remove force closing of handles 2021-10-06 05:16:14 +00:00
driver.vcxproj driver: remove _NO_CRT_STDIO_INLINE workaround 2021-09-16 20:11:53 +00:00
driver.vcxproj.filters Introduce WireGuardNT 2021-08-02 20:36:36 +02:00
interlocked.h Introduce WireGuardNT 2021-08-02 20:36:36 +02:00
ioctl.c driver: PEER_UPDATE is supposed to be UPDATE_ONLY 2021-10-19 12:33:07 -06:00
ioctl.h driver: PEER_UPDATE is supposed to be UPDATE_ONLY 2021-10-19 12:33:07 -06:00
logging.c driver: logging: pass timestamp back to userspace 2021-08-08 22:57:27 +02:00
logging.h driver: logging: pass timestamp back to userspace 2021-08-08 22:57:27 +02:00
main.c Introduce WireGuardNT 2021-08-02 20:36:36 +02:00
memory.c driver: memory: allocate NBL, NB, and MDL all at once when possible for TX 2021-08-04 19:47:39 +02:00
memory.h driver: memory: help SDV with annotation 2021-10-06 05:16:14 +00:00
messages.h Introduce WireGuardNT 2021-08-02 20:36:36 +02:00
noise.c driver: ioctl: do not return zero psks 2021-08-10 00:27:36 +02:00
noise.h Introduce WireGuardNT 2021-08-02 20:36:36 +02:00
peer.c Introduce WireGuardNT 2021-08-02 20:36:36 +02:00
peer.h driver: socket: remember to copy cmsghack when copying endpoint 2021-09-09 09:48:02 +00:00
peerlookup.c Introduce WireGuardNT 2021-08-02 20:36:36 +02:00
peerlookup.h Introduce WireGuardNT 2021-08-02 20:36:36 +02:00
queueing.c driver: queueing: don't wait on more than 64 cores at once 2021-09-23 23:35:50 +00:00
queueing.h driver: receive: update SAL 2021-08-10 11:55:21 +02:00
ratelimiter.c Introduce WireGuardNT 2021-08-02 20:36:36 +02:00
ratelimiter.h Introduce WireGuardNT 2021-08-02 20:36:36 +02:00
rcu.c driver: device: implement MTU notifications properly, even if broken 2021-08-05 18:27:40 +02:00
rcu.h driver: socket: rework loop routing, endpoint resolution, and reduce ctx 2021-08-09 16:28:32 +02:00
receive.c driver: receive: drop handshakes if queue lock is contended 2021-09-09 09:48:02 +00:00
send.c driver: socket: allow loop routing 2021-08-08 22:57:27 +02:00
socket.c driver: socket: defer WskInit until sockets are actually created 2021-09-24 12:39:10 -06:00
socket.h driver: socket: fix IRQL annotations 2021-09-28 15:44:02 +02:00
timers.c Introduce WireGuardNT 2021-08-02 20:36:36 +02:00
timers.h Introduce WireGuardNT 2021-08-02 20:36:36 +02:00
undocumented.h driver: ioctl: remove force closing of handles 2021-10-06 05:16:14 +00:00
wireguard.ico driver: add icon to device manager 2021-10-11 16:12:09 +00:00
wireguard.inf api: adapter: replace INF Include/Needs hack with stub device 2021-10-11 16:12:09 +00:00
wireguard.rc driver: add icon to device manager 2021-10-11 16:12:09 +00:00