ipsec: provide stat index in sa details 24/26324/2
authorMatthew Smith <mgsmith@netgate.com>
Thu, 2 Apr 2020 12:45:49 +0000 (07:45 -0500)
committerNeale Ranns <nranns@cisco.com>
Thu, 2 Apr 2020 17:28:24 +0000 (17:28 +0000)
commit48d32b43c534c9f52d37b047dbcbc30a8882b52a
tree96c405216e10bff552daced2a38d0edcfcb63d58
parentc35f3e835b4078fedabc1ff5013bc4727f533e16
ipsec: provide stat index in sa details

Type: improvement

When IPsec SAs are dumped, include the index that can be used to
find byte & packet counters for the SA in the stat segment.

Removed the field total_data_size from the details since it was not
being populated and put the stat index field in its place.

Change-Id: If73efc230542a11944551b6e710b57b575450da3
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
src/vat/api_format.c
src/vnet/ipsec/ipsec.api
src/vnet/ipsec/ipsec_api.c