ip ipsec: Remove IPSec SPI-0 punt reason 74/20574/3
authorNeale Ranns <nranns@cisco.com>
Wed, 10 Jul 2019 07:10:25 +0000 (07:10 +0000)
committerNeale Ranns <nranns@cisco.com>
Fri, 12 Jul 2019 07:38:47 +0000 (07:38 +0000)
commit719beb709818b70a1fd65f3c2a625d955678ceb6
tree02eb5efe0452f9ed87523827784cdf385131c695
parent6d72c175edbb7654a643a86411f6f95aae16d10d
ip ipsec: Remove IPSec SPI-0 punt reason

Type: fix

There's no call for an SPI-0 punt reason with UDP encap, since
it's only with UDP encap that the ambiguity between IKE or IPSEC
occurs (and SPI=0 determines IKE).

Enhance the punt API to dum ponly the reason requested, so a client
can use this as a get-ID API

Change-Id: I5c6d72b03885e88c489117677e72f1ef5da90dfc
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/ip/punt.api
src/vnet/ip/punt_api.c
src/vnet/ipsec/ipsec_if_in.c
src/vnet/ipsec/ipsec_punt.h
src/vnet/ipsec/ipsec_tun_in.c
test/test_punt.py