diff options
author | Neale Ranns <nranns@cisco.com> | 2019-02-04 01:10:30 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-02-05 14:59:44 +0000 |
commit | a09c1ff5b6ae535932b4fc9477ffc4e39748ca62 (patch) | |
tree | e7162669c6224358f28e5614c782e2ba73a08e6c /src/vat | |
parent | 3117ad8aa50afba68b2fa2c7f2b6f91eeb5a555e (diff) |
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 <nranns@cisco.com>
Diffstat (limited to 'src/vat')
-rw-r--r-- | src/vat/api_format.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |