ipsec: huge anti-replay window support

Type: improvement

Since RFC4303 does not specify the anti-replay window size, VPP should
support multiple window size. It is done through a clib_bitmap.

Signed-off-by: Maxime Peim <mpeim@cisco.com>
Change-Id: I3dfe30efd20018e345418bef298ec7cec19b1cfc
This commit is contained in:
Maxime Peim
2022-12-22 11:26:57 +00:00
committed by Beno�t Ganne
parent 21922cec73
commit 0e2f188f7c
17 changed files with 1521 additions and 204 deletions

View File

@ -121,7 +121,7 @@ class IpsecApiTestCase(VppTestCase):
def __check_sa_binding(self, sa_id, thread_index):
found_sa = False
sa_dumps = self.vapi.ipsec_sa_v4_dump()
sa_dumps = self.vapi.ipsec_sa_v5_dump()
for dump in sa_dumps:
if dump.entry.sad_id == sa_id:
self.assertEqual(dump.thread_index, thread_index)