diff options
author | Zachary Leaf <zachary.leaf@arm.com> | 2021-07-27 05:18:47 -0500 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2021-07-29 07:30:33 +0000 |
commit | b2d36784ac6689e323017a6adb9fc284aae01e13 (patch) | |
tree | 8f64180f1febcba9832e02ef2fdac2085c0e483f /src/vnet/ipsec/ipsec_tun.h | |
parent | 328b5dadb35916e8147237f2339dd5f4c38912fc (diff) |
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
Diffstat (limited to 'src/vnet/ipsec/ipsec_tun.h')
-rw-r--r-- | src/vnet/ipsec/ipsec_tun.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/ipsec/ipsec_tun.h b/src/vnet/ipsec/ipsec_tun.h index c79fb902dec..f452fa4354c 100644 --- a/src/vnet/ipsec/ipsec_tun.h +++ b/src/vnet/ipsec/ipsec_tun.h @@ -163,6 +163,9 @@ extern u8 *format_ipsec_tun_protect_index (u8 * s, va_list * args); extern void ipsec_tun_register_nodes (ip_address_family_t af); extern void ipsec_tun_unregister_nodes (ip_address_family_t af); +extern void ipsec_tun_table_init (ip_address_family_t af, uword table_size, + u32 n_buckets); + /* * DP API */ |