diff options
author | Kingwel Xie <kingwel.xie@ericsson.com> | 2019-03-20 07:21:58 -0400 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-03-21 07:42:09 +0000 |
commit | 1ba5bc8d888d0164dd6e38857cbed09ab7ce1d8b (patch) | |
tree | ea87c57b0db7f981878e2cdb66f7f650cbc71447 /src/vnet/ipsec/ipsec.h | |
parent | a5efca30f569ff93cfb85ed1bc7742cee824426d (diff) |
ipsec: add ipv6 support for ipsec tunnel interface
Change-Id: I6a76907dc7bed2a81282b63669bea2219d6903c9
Signed-off-by: Kingwel Xie <kingwel.xie@ericsson.com>
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vnet/ipsec/ipsec.h')
-rw-r--r-- | src/vnet/ipsec/ipsec.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vnet/ipsec/ipsec.h b/src/vnet/ipsec/ipsec.h index e38a4a8771e..cfb096f69ba 100644 --- a/src/vnet/ipsec/ipsec.h +++ b/src/vnet/ipsec/ipsec.h @@ -100,7 +100,8 @@ typedef struct uword *spd_index_by_spd_id; uword *spd_index_by_sw_if_index; uword *sa_index_by_sa_id; - uword *ipsec_if_pool_index_by_key; + uword *ipsec4_if_pool_index_by_key; + uword *ipsec6_if_pool_index_by_key; uword *ipsec_if_real_dev_by_show_dev; /* node indices */ @@ -158,7 +159,8 @@ extern vlib_node_registration_t esp6_encrypt_node; extern vlib_node_registration_t esp6_decrypt_node; extern vlib_node_registration_t ah6_encrypt_node; extern vlib_node_registration_t ah6_decrypt_node; -extern vlib_node_registration_t ipsec_if_input_node; +extern vlib_node_registration_t ipsec4_if_input_node; +extern vlib_node_registration_t ipsec6_if_input_node; /* * functions |