summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat_det_in2out.c
diff options
context:
space:
mode:
authorFilip Varga <fivarga@cisco.com>2019-01-21 00:05:03 -0800
committerDamjan Marion <dmarion@me.com>2019-01-21 15:33:22 +0000
commit8254ab87f2b975c4c3324dc9ac08b7f7b6c167ee (patch)
tree58b93cfd5a3cbb1f2a18b988660b09051391b602 /src/plugins/nat/nat_det_in2out.c
parentb951ad84ab542aaebb646bf61130618b5fef8bda (diff)
NAT: VPP-1537 IPFIX per worker processing
Change-Id: I428bd25a513eb9fe65bea56572fea8cab7c51681 Signed-off-by: Filip Varga <fivarga@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat_det_in2out.c')
-rw-r--r--src/plugins/nat/nat_det_in2out.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/plugins/nat/nat_det_in2out.c b/src/plugins/nat/nat_det_in2out.c
index 1366c2fce69..e4aa0463a06 100644
--- a/src/plugins/nat/nat_det_in2out.c
+++ b/src/plugins/nat/nat_det_in2out.c
@@ -202,7 +202,8 @@ icmp_match_in2out_det (snat_main_t * sm, vlib_node_runtime_t * node,
continue;
ses0 =
- snat_det_ses_create (dm0, &in_addr, echo0->identifier, &key0);
+ snat_det_ses_create (thread_index, dm0,
+ &in_addr, echo0->identifier, &key0);
break;
}
if (PREDICT_FALSE (!ses0))
@@ -374,8 +375,8 @@ snat_det_in2out_node_fn (vlib_main_t * vm,
continue;
ses0 =
- snat_det_ses_create (dm0, &ip0->src_address, tcp0->src,
- &key0);
+ snat_det_ses_create (thread_index, dm0, &ip0->src_address,
+ tcp0->src, &key0);
break;
}
if (PREDICT_FALSE (!ses0))
@@ -538,8 +539,8 @@ snat_det_in2out_node_fn (vlib_main_t * vm,
continue;
ses1 =
- snat_det_ses_create (dm1, &ip1->src_address, tcp1->src,
- &key1);
+ snat_det_ses_create (thread_index, dm1, &ip1->src_address,
+ tcp1->src, &key1);
break;
}
if (PREDICT_FALSE (!ses1))
@@ -738,8 +739,8 @@ snat_det_in2out_node_fn (vlib_main_t * vm,
continue;
ses0 =
- snat_det_ses_create (dm0, &ip0->src_address, tcp0->src,
- &key0);
+ snat_det_ses_create (thread_index, dm0, &ip0->src_address,
+ tcp0->src, &key0);
break;
}
if (PREDICT_FALSE (!ses0))