diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-09-28 11:20:54 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-09-30 12:40:34 +0200 |
commit | f7b2be2d2121c403e39586d75af8c34ec545df21 (patch) | |
tree | cfd8eb8c6f0bc4b9996983659751fec58eef3d43 /udp.c | |
parent | ca6e94702cfbe29b279cf18f39a0fe492fae6f83 (diff) | |
download | passt-f7b2be2d2121c403e39586d75af8c34ec545df21.tar passt-f7b2be2d2121c403e39586d75af8c34ec545df21.tar.gz passt-f7b2be2d2121c403e39586d75af8c34ec545df21.tar.bz2 passt-f7b2be2d2121c403e39586d75af8c34ec545df21.tar.lz passt-f7b2be2d2121c403e39586d75af8c34ec545df21.tar.xz passt-f7b2be2d2121c403e39586d75af8c34ec545df21.tar.zst passt-f7b2be2d2121c403e39586d75af8c34ec545df21.zip |
siphash: Make sip round calculations an inline function rather than macro
The SIPROUND(n) macro implements n rounds of SipHash shuffling. It relies
on 'v' and '__i' variables being available in the context it's used in
which isn't great hygeine. Replace it with an inline function instead.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'udp.c')
0 files changed, 0 insertions, 0 deletions