api: ipsec: add missing IS_INBOUND flag. 65/25665/4
authorChristian Hopps <chopps@labn.net>
Wed, 4 Mar 2020 18:21:41 +0000 (13:21 -0500)
committerNeale Ranns <nranns@cisco.com>
Thu, 5 Mar 2020 13:41:04 +0000 (13:41 +0000)
commit5893747d72acd0a507f74fe61c13cae54de23630
tree8073b7a64480eb6101820c885ca882e65d8eb1ed
parentb49bc1ae6404f0dff373578786a9fd95d961e5cd
api: ipsec: add missing IS_INBOUND flag.

External IKE daemons need to be able to flag an SA as inbound (just as
the included ike plugin does). This commit adds this flag to the API.
This change is backward bug-compatible as not setting the flag (old
clients) continues to mean all SAs are created as outbound and fib nodes
are created for them. The addition of this flag inhibits this forwarding
node creation as well as properly flagging the SA as inbound.

Ticket: VPP-1845
Type: fix
Signed-off-by: Christian Hopps <chopps@labn.net>
Change-Id: I195e32c430e51155fac2d9f33671e06ef42a3f7f
src/vnet/ipsec/ipsec_types.api
src/vnet/ipsec/ipsec_types_api.c