Lines Matching refs:sa_ctx
89 prepare_out_sessions_tbl(struct sa_ctx *sa_out, in prepare_out_sessions_tbl()
185 check_sp_sa_bulk(struct sp_ctx *sp, struct sa_ctx *sa_ctx, in check_sp_sa_bulk() argument
214 if (unlikely(sa->spi != sa_ctx->sa[res - 1].spi)) { in check_sp_sa_bulk()
349 if (sa_idx >= ctx->sa_ctx->nb_sa) in process_ipsec_ev_inbound()
359 if (unlikely(sa->spi != ctx->sa_ctx->sa[sa_idx].spi)) in process_ipsec_ev_inbound()
389 struct sa_ctx *sa_ctx; in process_ipsec_ev_outbound() local
439 if (unlikely(sa_idx >= ctx->sa_ctx->nb_sa)) in process_ipsec_ev_outbound()
445 sa_ctx = ctx->sa_ctx; in process_ipsec_ev_outbound()
448 sa = &(sa_ctx->sa[sa_idx]); in process_ipsec_ev_outbound()
488 struct ipsec_traffic *t, struct sa_ctx *sa_ctx) in ipsec_ev_route_pkts() argument
531 if (unlikely(sa_idx >= sa_ctx->nb_sa)) in ipsec_ev_route_pkts()
535 sa = &(sa_ctx->sa[sa_idx]); in ipsec_ev_route_pkts()
615 check_sp_sa_bulk(ctx->sp4_ctx, ctx->sa_ctx, &t.ip4); in process_ipsec_ev_inbound_vector()
616 check_sp_sa_bulk(ctx->sp6_ctx, ctx->sa_ctx, &t.ip6); in process_ipsec_ev_inbound_vector()
618 return ipsec_ev_route_pkts(vec, rt, &t, ctx->sa_ctx); in process_ipsec_ev_inbound_vector()
646 return ipsec_ev_route_pkts(vec, rt, &t, ctx->sa_ctx); in process_ipsec_ev_outbound_vector()
910 lconf.inbound.sa_ctx = socket_ctx[socket_id].sa_in; in ipsec_wrkr_non_burst_int_port_app_mode()
916 lconf.outbound.sa_ctx = socket_ctx[socket_id].sa_out; in ipsec_wrkr_non_burst_int_port_app_mode()