Home
last modified time | relevance | path

Searched refs:lpm6 (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/contrib/dpdk_rte_lpm/
H A Ddpdk_lpm6.c70 struct rte_lpm6 *lpm6; member
96 const struct rte_lpm6 *lpm6; in lookup_ptr() local
102 lpm6 = (const struct rte_lpm6 *)algo_data; in lookup_ptr()
283 if (dd->lpm6 != NULL) in destroy_dd()
284 rte_lpm6_free(dd->lpm6); in destroy_dd()
340 dd->lpm6, abuf, plen, nhidx, ret); in add_route_cb()
373 dp->arg = dd->lpm6; in check_dump_success()
395 struct rte_lpm6 *lpm6; in build_table() local
408 lpm6 = rte_lpm6_create("test", 0, &cfg); in build_table()
409 if (lpm6 == NULL) { in build_table()
[all …]
/f-stack/dpdk/examples/ipsec-secgw/
H A Drt.c130 struct rte_lpm6 *lpm6; in rt_init() local
178 lpm6 = rte_lpm6_create(name, socket_id, &conf6); in rt_init()
179 if (lpm6 == NULL) in rt_init()
185 ret = rte_lpm6_add(lpm6, rt_ip6[i].ip, rt_ip6[i].depth, in rt_init()
205 ctx->rt_ip6 = (struct rt_ctx *)lpm6; in rt_init()
/f-stack/dpdk/examples/ip_fragmentation/
H A Dmain.c133 struct rte_lpm6 *lpm6; member
312 if (rte_lpm6_lookup(rxq->lpm6, ip_hdr->dst_addr, in l3fwd_simple_forward()
718 struct rte_lpm6 *lpm6; in init_routing_table() local
748 lpm6 = socket_lpm6[socket]; in init_routing_table()
751 ret = rte_lpm6_add(lpm6, in init_routing_table()
780 struct rte_lpm6 *lpm6; in init_mem() local
845 lpm6 = rte_lpm6_create(buf, socket, &lpm6_config); in init_mem()
846 if (lpm6 == NULL) { in init_mem()
850 socket_lpm6[socket] = lpm6; in init_mem()
941 rxq->lpm6 = socket_lpm6[socket]; in main()
/f-stack/dpdk/examples/ip_reassembly/
H A Dmain.c137 struct rte_lpm6 *lpm6; member
401 if (rte_lpm6_lookup(rxq->lpm6, ip_hdr->dst_addr, in reassemble()
766 struct rte_lpm6 *lpm6; in init_routing_table() local
796 lpm6 = socket_lpm6[socket]; in init_routing_table()
799 ret = rte_lpm6_add(lpm6, in init_routing_table()
902 struct rte_lpm6 *lpm6; in init_mem() local
939 lpm6 = rte_lpm6_create(buf, socket, &lpm6_config); in init_mem()
940 if (lpm6 == NULL) { in init_mem()
944 socket_lpm6[socket] = lpm6; in init_mem()
1072 rxq->lpm6 = socket_lpm6[socket]; in main()