MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ipsec_process_inline_group

Function ipsec_process_inline_group

dpdk/examples/ipsec-secgw/ipsec_process.c:196–210  ·  view source on GitHub ↗

* finish processing of packets successfully decrypted by an inline processor */

Source from the content-addressed store, hash-verified

194 * finish processing of packets successfully decrypted by an inline processor
195 */
196static uint32_t
197ipsec_process_inline_group(struct rte_ipsec_session *ips, void *sa,
198 struct ipsec_traffic *trf, struct rte_mbuf *mb[], uint32_t cnt)
199{
200 uint64_t satp;
201 uint32_t k;
202
203 /* get SA type */
204 satp = rte_ipsec_sa_type(ips->sa);
205 prep_process_group(sa, mb, cnt);
206
207 k = rte_ipsec_pkt_process(ips, mb, cnt);
208 copy_to_trf(trf, satp, mb, k);
209 return k;
210}
211
212/*
213 * process packets synchronously

Callers 1

ipsec_processFunction · 0.85

Calls 4

rte_ipsec_sa_typeFunction · 0.85
prep_process_groupFunction · 0.85
rte_ipsec_pkt_processFunction · 0.85
copy_to_trfFunction · 0.85

Tested by

no test coverage detected