api: ipsec: add missing IS_INBOUND flag 74/25674/2
authorChristian Hopps <[email protected]>
Wed, 26 Feb 2020 10:40:40 +0000 (05:40 -0500)
committerDave Wallace <[email protected]>
Wed, 1 Apr 2020 16:10:31 +0000 (16:10 +0000)
commit597d4df6cf8b96e645e21447974cd82c3285aee0
tree43bd8e1ed0515da7104f0ea2253db2b30df82b9d
parentd643e5f30155e46aa6f345aa52d8ef5026d879a6
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 <[email protected]>
Change-Id: Ifa6fd664587380aa53e95d0e4eb2e1a4b1df7909
src/vnet/ipsec/ipsec.api
src/vnet/ipsec/ipsec_api.c