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

Function sa_in_add_rules

dpdk/examples/ipsec-secgw/sa.c:1455–1462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1453}
1454
1455static inline int
1456sa_in_add_rules(struct sa_ctx *sa_ctx, const struct ipsec_sa entries[],
1457 uint32_t nb_entries, struct socket_ctx *skt_ctx,
1458 struct ipsec_ctx *ips_ctx[],
1459 const struct eventmode_conf *em_conf)
1460{
1461 return sa_add_rules(sa_ctx, entries, nb_entries, 1, skt_ctx, ips_ctx, em_conf);
1462}
1463
1464/*
1465 * helper function, fills parameters that are identical for all SAs

Callers 1

sa_initFunction · 0.85

Calls 1

sa_add_rulesFunction · 0.85

Tested by

no test coverage detected