20 #include <rte_compat.h> 30 #define RTE_FIB_MAXDEPTH 32 40 uint8_t depth, uint64_t next_hop,
int op);
43 uint64_t *next_hops,
const unsigned int n);
146 rte_fib_add(
struct rte_fib *fib, uint32_t ip, uint8_t depth, uint64_t next_hop);
182 uint64_t *next_hops,
int n);
int(* rte_fib_modify_fn_t)(struct rte_fib *fib, uint32_t ip, uint8_t depth, uint64_t next_hop, int op)
struct rte_fib * rte_fib_create(const char *name, int socket_id, struct rte_fib_conf *conf)
void * rte_fib_get_dp(struct rte_fib *fib)
void rte_fib_free(struct rte_fib *fib)
struct rte_rib * rte_fib_get_rib(struct rte_fib *fib)
struct rte_fib * rte_fib_find_existing(const char *name)
void(* rte_fib_lookup_fn_t)(void *fib, const uint32_t *ips, uint64_t *next_hops, const unsigned int n)
int rte_fib_lookup_bulk(struct rte_fib *fib, uint32_t *ips, uint64_t *next_hops, int n)
int rte_fib_add(struct rte_fib *fib, uint32_t ip, uint8_t depth, uint64_t next_hop)
int rte_fib_select_lookup(struct rte_fib *fib, enum rte_fib_lookup_type type)
int rte_fib_delete(struct rte_fib *fib, uint32_t ip, uint8_t depth)