]> git.ipfire.org Git - thirdparty/bird.git/commit
Lib: Improve IP/net hashing
authorOndrej Zajicek <santiago@crfreenet.org>
Thu, 18 May 2023 13:55:45 +0000 (15:55 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Thu, 18 May 2023 14:02:02 +0000 (16:02 +0200)
commitb0e97617d98ed02235de37b7e498d81f01330b50
tree814b96ac8661ab08feb2888228024c47126dd551
parent3cf91fb9eb5e6aa51e63edcd237ee266373aec79
Lib: Improve IP/net hashing

Backport some changes from branch oz-parametric-hashes. Replace naive
hash function for IPv6 addresses, fix hashing of VPNx (where upper half
of RD was ignored), fix hashing of MPLS labels (where identity was used).
lib/birdlib.h
lib/ip.h
lib/net.h