aboutgitcodebugslistschat
path: root/udp.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2023-09-28 11:20:54 +1000
committerStefano Brivio <sbrivio@redhat.com>2023-09-30 12:40:34 +0200
commitf7b2be2d2121c403e39586d75af8c34ec545df21 (patch)
treecfd8eb8c6f0bc4b9996983659751fec58eef3d43 /udp.c
parentca6e94702cfbe29b279cf18f39a0fe492fae6f83 (diff)
downloadpasst-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