Home
last modified time | relevance | path

Searched refs:socket_ctx (Results 1 – 8 of 8) sorted by relevance

/dpdk/examples/ipsec-secgw/
H A Dipsec.h242 struct socket_ctx { struct
264 extern struct socket_ctx socket_ctx[NB_SOCKETS]; argument
366 sp4_init(struct socket_ctx *ctx, int32_t socket_id);
369 sp6_init(struct socket_ctx *ctx, int32_t socket_id);
392 sa_init(struct socket_ctx *ctx, int32_t socket_id);
395 rt_init(struct socket_ctx *ctx, int32_t socket_id);
412 create_inline_session(struct socket_ctx *skt_ctx, struct ipsec_sa *sa,
H A Dipsec_worker.c784 prepare_out_sessions_tbl(socket_ctx[socket_id].sa_out, data, in ipsec_wrkr_non_burst_int_port_drv_mode()
906 lconf.rt.rt4_ctx = socket_ctx[socket_id].rt_ip4; in ipsec_wrkr_non_burst_int_port_app_mode()
907 lconf.rt.rt6_ctx = socket_ctx[socket_id].rt_ip6; in ipsec_wrkr_non_burst_int_port_app_mode()
908 lconf.inbound.sp4_ctx = socket_ctx[socket_id].sp_ip4_in; in ipsec_wrkr_non_burst_int_port_app_mode()
909 lconf.inbound.sp6_ctx = socket_ctx[socket_id].sp_ip6_in; in ipsec_wrkr_non_burst_int_port_app_mode()
910 lconf.inbound.sa_ctx = socket_ctx[socket_id].sa_in; in ipsec_wrkr_non_burst_int_port_app_mode()
913 socket_ctx[socket_id].session_priv_pool; in ipsec_wrkr_non_burst_int_port_app_mode()
914 lconf.outbound.sp4_ctx = socket_ctx[socket_id].sp_ip4_out; in ipsec_wrkr_non_burst_int_port_app_mode()
915 lconf.outbound.sp6_ctx = socket_ctx[socket_id].sp_ip6_out; 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()
[all …]
H A Dipsec-secgw.c268 struct socket_ctx socket_ctx[NB_SOCKETS]; variable
1248 qconf->rt4_ctx = socket_ctx[socket_id].rt_ip4; in ipsec_poll_mode_worker()
1249 qconf->rt6_ctx = socket_ctx[socket_id].rt_ip6; in ipsec_poll_mode_worker()
1256 socket_ctx[socket_id].session_priv_pool; in ipsec_poll_mode_worker()
1263 socket_ctx[socket_id].session_priv_pool; in ipsec_poll_mode_worker()
2416 pool = socket_ctx[socket_id].mbuf_pool[0]; in port_init()
2540 if (socket_ctx[socket_id].mbuf_pool[portid]) in pool_init()
3391 if (socket_ctx[socket_id].session_pool) in main()
3467 (socket_ctx[socket_id].sa_in == NULL) && in main()
3468 (socket_ctx[socket_id].sa_out == NULL)) { in main()
[all …]
H A Drt.c124 rt_init(struct socket_ctx *ctx, int32_t socket_id) in rt_init()
H A Dsa.c1221 struct socket_ctx *skt_ctx) in sa_add_rules()
1408 uint32_t nb_entries, struct socket_ctx *skt_ctx) in sa_out_add_rules()
1415 uint32_t nb_entries, struct socket_ctx *skt_ctx) in sa_in_add_rules()
1637 sa_init(struct socket_ctx *ctx, int32_t socket_id) in sa_init()
H A Dsp4.c555 sp4_init(struct socket_ctx *ctx, int32_t socket_id) in sp4_init()
H A Dsp6.c686 sp6_init(struct socket_ctx *ctx, int32_t socket_id) in sp6_init()
H A Dipsec.c160 create_inline_session(struct socket_ctx *skt_ctx, struct ipsec_sa *sa, in create_inline_session()