cnat: add ip/client bihash 21/32821/12
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>
Fri, 4 Jun 2021 16:37:27 +0000 (18:37 +0200)
committerBeno�t Ganne <bganne@cisco.com>
Wed, 9 Aug 2023 07:59:09 +0000 (07:59 +0000)
commit897844d1e96797f69e3e7e11d237d847fe4e46bf
tree5f6145b1bbe38fbd08bc438f05c6ee063615c358
parent878a9f57061ec6313dc8ad8ef4f1eb55e32665e7
cnat: add ip/client bihash

This replace the cnat ip4/ip6 to client
lookups previously done with a regular
hash, by a bihash lookup.

Type: improvement

Do the client lookup in a bihash instead of
a hash.

Change-Id: I730c1893525c002b44ada8e290a36802835e88e9
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
src/plugins/cnat/cnat_client.c
src/plugins/cnat/cnat_client.h
src/plugins/cnat/cnat_types.c
src/plugins/cnat/cnat_types.h