ipsec: move startup config to common file 75/33275/2
authorZachary Leaf <zachary.leaf@arm.com>
Tue, 27 Jul 2021 10:18:47 +0000 (05:18 -0500)
committerNeale Ranns <neale@graphiant.com>
Thu, 29 Jul 2021 07:30:33 +0000 (07:30 +0000)
commitb2d36784ac6689e323017a6adb9fc284aae01e13
tree8f64180f1febcba9832e02ef2fdac2085c0e483f
parent328b5dadb35916e8147237f2339dd5f4c38912fc
ipsec: move startup config to common file

The ipsec startup.conf config currently exists in ipsec_tun.c. This is
because currently the only ipsec{...} options are tunnel related.

This patch moves the ipsec config to a common file (ipsec.c) for future
extensibility/addition of non-tunnel related config options.

Type: refactor
Signed-off-by: Zachary Leaf <zachary.leaf@arm.com>
Change-Id: I1569dd7948334fd2cc28523ccc6791a22dea8d32
src/vnet/ipsec/ipsec.c
src/vnet/ipsec/ipsec_tun.c
src/vnet/ipsec/ipsec_tun.h