Searched refs:rt_ctx (Results 1 – 5 of 5) sorted by relevance
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | ipsec_worker.h | 24 struct rt_ctx *rt4_ctx; 25 struct rt_ctx *rt6_ctx;
|
| H A D | ipsec_worker.c | 127 route4_pkt(struct rte_mbuf *pkt, struct rt_ctx *rt_ctx) in route4_pkt() argument 138 ret = rte_lpm_lookup((struct rte_lpm *)rt_ctx, dst_ip, &hop); in route4_pkt() 151 route6_pkt(struct rte_mbuf *pkt, struct rt_ctx *rt_ctx) in route6_pkt() argument 163 ret = rte_lpm6_lookup((struct rte_lpm6 *)rt_ctx, dst_ip, &hop); in route6_pkt()
|
| H A D | rt.c | 204 ctx->rt_ip4 = (struct rt_ctx *)lpm; in rt_init() 205 ctx->rt_ip6 = (struct rt_ctx *)lpm6; in rt_init()
|
| H A D | ipsec.h | 241 struct rt_ctx *rt_ip4; 242 struct rt_ctx *rt_ip6;
|
| H A D | ipsec-secgw.c | 222 struct rt_ctx *rt4_ctx; 223 struct rt_ctx *rt6_ctx; 926 route4_pkts(struct rt_ctx *rt_ctx, struct rte_mbuf *pkts[], uint8_t nb_pkts) in route4_pkts() argument 954 rte_lpm_lookup_bulk((struct rte_lpm *)rt_ctx, dst_ip, hop, lpm_pkts); in route4_pkts() 976 route6_pkts(struct rt_ctx *rt_ctx, struct rte_mbuf *pkts[], uint8_t nb_pkts) in route6_pkts() argument 1005 rte_lpm6_lookup_bulk_func((struct rte_lpm6 *)rt_ctx, dst_ip, hop, in route6_pkts()
|