aboutsummaryrefslogtreecommitdiffstats
path: root/radix-trie.h
diff options
context:
space:
mode:
authorThomas Gschwantner <tharre3@gmail.com>2019-04-23 22:55:00 +0200
committerThomas Gschwantner <tharre3@gmail.com>2019-06-02 00:39:32 +0200
commitb58cd69019d421f485ada2d851018485fbbd0a64 (patch)
tree15fe5e20bff7574fc48c2ad4d5370f448cf8dad3 /radix-trie.h
parentSleep less (diff)
downloadwg-dynamic-b58cd69019d421f485ada2d851018485fbbd0a64.tar.xz
wg-dynamic-b58cd69019d421f485ada2d851018485fbbd0a64.zip
Use hashtable to match ll-ip with pubkey
The link-local IP is always /128, so using a hashtable is more appropriate here. We only use the lower 64 bits as key, since the first 64 bits of link-local addresses are always the same.
Diffstat (limited to 'radix-trie.h')
0 files changed, 0 insertions, 0 deletions