ipsec: fix spd fast path single match compare for ipv6 21/41721/5
authorPiotr Bronowski <[email protected]>
Thu, 17 Oct 2024 15:16:06 +0000 (17:16 +0200)
committerFan Zhang <[email protected]>
Wed, 8 Jan 2025 13:47:36 +0000 (13:47 +0000)
commit36132815da2efe0e2d9b2d7b145a3bece8d6e757
tree440ea1f9ee11d25f8a52441a2aad8eb16a3938b0
parent4d9df5cb3da12498ffd41ee2adddc97dfe31e626
ipsec: fix spd fast path single match compare for ipv6

Fast path match single compare (the last step of policy matching in spd fast path)
is only implemented for IPv4 addresses.
This change adds support to also do a single match on IPv6 addresses.

Type: fix
Change-Id: I5aeb6e1e9afccfd2b2082e26502c5b7e9a8b2d4c
Signed-off-by: Piotr Bronowski <[email protected]>
Signed-off-by: Vinayak Udandkar <[email protected]>
src/vnet/ipsec/ipsec_spd_fp_lookup.h