From a09c1ff5b6ae535932b4fc9477ffc4e39748ca62 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Mon, 4 Feb 2019 01:10:30 -0800 Subject: IPSEC: SPD counters in the stats sgement - return the stats_index of each SPD in the create API call - no ip_any in the API as this creates 2 SPD entries. client must add both v4 and v6 explicitly - only one pool of SPD entries (rhter than one per-SPD) to support this - no packets/bytes in the dump API. Polling the stats segment is much more efficient (if the SA lifetime is based on packet/bytes) - emit the policy index in the packet trace and CLI commands. Change-Id: I7eaf52c9d0495fa24450facf55229941279b8569 Signed-off-by: Neale Ranns --- src/vat/api_format.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/vat') diff --git a/src/vat/api_format.c b/src/vat/api_format.c index 3755354924d..d35c19eb416 100644 --- a/src/vat/api_format.c +++ b/src/vat/api_format.c @@ -14924,7 +14924,6 @@ api_ipsec_spd_entry_add_del (vat_main_t * vam) mp->entry.remote_port_stop = ntohs ((u16) rport_stop); mp->entry.policy = (u8) policy; mp->entry.sa_id = ntohl (sa_id); - mp->entry.is_ip_any = is_ip_any; S (mp); W (ret); -- cgit 1.2.3-korg