From e11203e5b8fd61986573e0cba9e47cefcf50e60d Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Tue, 21 Sep 2021 12:34:19 +0000 Subject: ipsec: Record the number of packets lost from an SA Type: feature Gaps in the sequence numbers received on an SA indicate packets that were lost. Gaps are identified using the anti-replay window that records the sequences seen. Publish the number of lost packets in the stats segment at /net/ipsec/sa/lost Signed-off-by: Neale Ranns Change-Id: I8af1c09b7b25a705e18bf82e1623b3ce19e5a74d --- test/test_ipsec_esp.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/test_ipsec_esp.py') diff --git a/test/test_ipsec_esp.py b/test/test_ipsec_esp.py index 14112d6d71a..0e0aaee425c 100644 --- a/test/test_ipsec_esp.py +++ b/test/test_ipsec_esp.py @@ -974,6 +974,9 @@ class RunTestIpsecEspAll(ConfigIpsecESP, self.unconfig_network() self.config_network(self.params.values()) self.verify_hi_seq_num() + self.unconfig_network() + self.config_network(self.params.values()) + self.verify_tra_lost() # # swap the handlers while SAs are up -- cgit 1.2.3-korg