Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
feature: remove old interface output feature code
[vpp.git]
/
vnet
/
vnet
/
ipsec
/
esp_decrypt.c
diff --git
a/vnet/vnet/ipsec/esp_decrypt.c
b/vnet/vnet/ipsec/esp_decrypt.c
index
df9ec92
..
07a5eda
100644
(file)
--- a/
vnet/vnet/ipsec/esp_decrypt.c
+++ b/
vnet/vnet/ipsec/esp_decrypt.c
@@
-284,7
+284,7
@@
esp_decrypt_node_fn (vlib_main_t * vm,
i_b0 = vlib_get_buffer (vm, i_bi0);
esp0 = vlib_buffer_get_current (i_b0);
i_b0 = vlib_get_buffer (vm, i_bi0);
esp0 = vlib_buffer_get_current (i_b0);
- sa_index0 = vnet_buffer (i_b0)->
output_features.ipsec_
sad_index;
+ sa_index0 = vnet_buffer (i_b0)->
ipsec.
sad_index;
sa0 = pool_elt_at_index (im->sad, sa_index0);
seq = clib_host_to_net_u32 (esp0->seq);
sa0 = pool_elt_at_index (im->sad, sa_index0);
seq = clib_host_to_net_u32 (esp0->seq);
@@
-483,7
+483,7
@@
esp_decrypt_node_fn (vlib_main_t * vm,
/* for IPSec-GRE tunnel next node is ipsec-gre-input */
if (PREDICT_FALSE
/* for IPSec-GRE tunnel next node is ipsec-gre-input */
if (PREDICT_FALSE
- ((vnet_buffer (i_b0)->
output_features.ipsec_
flags) &
+ ((vnet_buffer (i_b0)->
ipsec.
flags) &
IPSEC_FLAG_IPSEC_GRE_TUNNEL))
next0 = ESP_DECRYPT_NEXT_IPSEC_GRE_INPUT;
IPSEC_FLAG_IPSEC_GRE_TUNNEL))
next0 = ESP_DECRYPT_NEXT_IPSEC_GRE_INPUT;