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

Function destroy_sa

dpdk/app/test/test_ipsec.c:1185–1195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1183}
1184
1185static void
1186destroy_sa(uint32_t j)
1187{
1188 struct ipsec_unitest_params *ut = &unittest_params;
1189 struct ipsec_testsuite_params *ts = &testsuite_params;
1190
1191 rte_ipsec_sa_fini(ut->ss[j].sa);
1192 rte_free(ut->ss[j].sa);
1193
1194 destroy_session(ut, ts->valid_dev, j);
1195}
1196
1197static int
1198crypto_inb_burst_null_null_check(struct ipsec_unitest_params *ut_params, int i,

Calls 3

rte_ipsec_sa_finiFunction · 0.85
rte_freeFunction · 0.85
destroy_sessionFunction · 0.85

Tested by

no test coverage detected