Home
last modified time | relevance | path

Searched refs:ipsec_ctx (Results 1 – 7 of 7) sorted by relevance

/f-stack/dpdk/examples/ipsec-secgw/
H A Dipsec.c58 create_lookaside_session(struct ipsec_ctx *ipsec_ctx, struct ipsec_sa *sa, in create_lookaside_session() argument
145 ipsec_ctx->session_pool); in create_lookaside_session()
522 ipsec_enqueue(ipsec_xform_fn xform_func, struct ipsec_ctx *ipsec_ctx, in ipsec_enqueue() argument
596 ipsec_ctx->ol_pkts[ipsec_ctx->ol_pkts_cnt++] = pkts[i]; in ipsec_enqueue()
618 ipsec_ctx->ol_pkts[ipsec_ctx->ol_pkts_cnt++] = pkts[i]; in ipsec_enqueue()
633 ipsec_inline_dequeue(ipsec_xform_fn xform_func, struct ipsec_ctx *ipsec_ctx, in ipsec_inline_dequeue() argument
643 pkt = ipsec_ctx->ol_pkts[--ipsec_ctx->ol_pkts_cnt]; in ipsec_inline_dequeue()
659 ipsec_dequeue(ipsec_xform_fn xform_func, struct ipsec_ctx *ipsec_ctx, in ipsec_dequeue() argument
671 cqp = &ipsec_ctx->tbl[ipsec_ctx->last_qp++]; in ipsec_dequeue()
672 if (ipsec_ctx->last_qp == ipsec_ctx->nb_qps) in ipsec_dequeue()
[all …]
H A Dipsec.h211 struct ipsec_ctx { struct
271 ipsec_inbound(struct ipsec_ctx *ctx, struct rte_mbuf *pkts[],
275 ipsec_outbound(struct ipsec_ctx *ctx, struct rte_mbuf *pkts[],
279 ipsec_inbound_cqp_dequeue(struct ipsec_ctx *ctx, struct rte_mbuf *pkts[],
283 ipsec_outbound_cqp_dequeue(struct ipsec_ctx *ctx, struct rte_mbuf *pkts[],
287 ipsec_process(struct ipsec_ctx *ctx, struct ipsec_traffic *trf);
290 ipsec_cqp_process(struct ipsec_ctx *ctx, struct ipsec_traffic *trf);
400 create_lookaside_session(struct ipsec_ctx *ipsec_ctx, struct ipsec_sa *sa,
H A Dipsec-secgw.c220 struct ipsec_ctx inbound;
711 process_pkts_inbound(struct ipsec_ctx *ipsec_ctx, in process_pkts_inbound() argument
729 inbound_sp_sa(ipsec_ctx->sp4_ctx, ipsec_ctx->sa_ctx, &traffic->ip4, in process_pkts_inbound()
732 inbound_sp_sa(ipsec_ctx->sp6_ctx, ipsec_ctx->sa_ctx, &traffic->ip6, in process_pkts_inbound()
766 process_pkts_outbound(struct ipsec_ctx *ipsec_ctx, in process_pkts_outbound() argument
806 process_pkts_inbound_nosp(struct ipsec_ctx *ipsec_ctx, in process_pkts_inbound_nosp() argument
846 process_pkts_outbound_nosp(struct ipsec_ctx *ipsec_ctx, in process_pkts_outbound_nosp() argument
1070 struct ipsec_ctx *ctx; in drain_crypto_buffers()
1898 struct ipsec_ctx *ipsec_ctx, in add_mapping() argument
1931 ipsec_ctx->nb_qps++; in add_mapping()
[all …]
H A Dipsec_worker.h32 struct ipsec_ctx inbound;
33 struct ipsec_ctx outbound;
H A Dipsec_process.c80 fill_ipsec_session(struct rte_ipsec_session *ss, struct ipsec_ctx *ctx, in fill_ipsec_session()
181 ipsec_prepare_crypto_group(struct ipsec_ctx *ctx, struct ipsec_sa *sa, in ipsec_prepare_crypto_group()
275 ipsec_process(struct ipsec_ctx *ctx, struct ipsec_traffic *trf) in ipsec_process()
348 ctx_dequeue(struct ipsec_ctx *ctx, struct rte_crypto_op *cop[], uint32_t num) in ctx_dequeue()
368 ipsec_cqp_process(struct ipsec_ctx *ctx, struct ipsec_traffic *trf) in ipsec_cqp_process()
H A Dparser.c418 cmdline_parse_ctx_t ipsec_ctx[] = { variable
430 struct cmdline *cl = cmdline_stdin_new(ipsec_ctx, ""); in parse_cfg_file()
H A Dipsec_worker.c186 process_ipsec_ev_inbound(struct ipsec_ctx *ctx, struct route_table *rt, in process_ipsec_ev_inbound()
285 process_ipsec_ev_outbound(struct ipsec_ctx *ctx, struct route_table *rt, in process_ipsec_ev_outbound()