ipsec: change wildcard value for any protocol of spd policy 52/36352/3
authorPiotr Bronowski <piotrx.bronowski@intel.com>
Thu, 9 Jun 2022 09:09:28 +0000 (09:09 +0000)
committerFan Zhang <roy.fan.zhang@intel.com>
Tue, 28 Jun 2022 14:53:07 +0000 (14:53 +0000)
commit815c6a4fbcbb636ce3b4dc98446ad205a30670a6
tree36e3b6aec51cdd5603dce1c9dd701da869c11c39
parent5b4b4c05ff06b866b90b0df9b2be2ed28e606f16
ipsec: change wildcard value for any protocol of spd policy

Currently 0 has been used as the wildcard representing ANY type of
protocol. However 0 is valid value of ip protocol (HOPOPT) and therefore
it should not be used as a wildcard. Instead 255 is used which is
guaranteed by IANA to be reserved and not used as a protocol id.

Type: improvement
Signed-off-by: Piotr Bronowski <piotrx.bronowski@intel.com>
Change-Id: I2320bae6fe380cb999dc5a9187beb68fda2d31eb
13 files changed:
src/vnet/ipsec/ipsec.api
src/vnet/ipsec/ipsec_api.c
src/vnet/ipsec/ipsec_cli.c
src/vnet/ipsec/ipsec_format.c
src/vnet/ipsec/ipsec_output.c
src/vnet/ipsec/ipsec_spd_policy.h
src/vnet/ipsec/ipsec_test.c
src/vnet/ipsec/ipsec_types.api
test/test_ipsec_ah.py
test/test_ipsec_esp.py
test/test_ipsec_nat.py
test/vpp_ipsec.py
test/vpp_papi_provider.py