X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Ffib%2Frte_fib.h;h=e592d3251af1e20672f2ecc78241ad92c900f79d;hb=7be78d027918dbc846e502780faf94d5acdf5f75;hp=ac54f83cabce209ebbfaa539527c8817b7565462;hpb=8f532a34c4f2a0636913569596f97d68c0d0df7b;p=dpdk.git diff --git a/lib/fib/rte_fib.h b/lib/fib/rte_fib.h index ac54f83cab..e592d3251a 100644 --- a/lib/fib/rte_fib.h +++ b/lib/fib/rte_fib.h @@ -80,6 +80,8 @@ struct rte_fib_conf { /** Default value returned on lookup if there is no route */ uint64_t default_nh; int max_routes; + /** Size of the node extension in the internal RIB struct */ + unsigned int rib_ext_sz; union { struct { enum rte_fib_dir24_8_nh_sz nh_sz; @@ -187,7 +189,7 @@ rte_fib_lookup_bulk(struct rte_fib *fib, uint32_t *ips, * FIB object handle * @return * Pointer on the dataplane struct on success - * NULL othervise + * NULL otherwise */ void * rte_fib_get_dp(struct rte_fib *fib); @@ -199,7 +201,7 @@ rte_fib_get_dp(struct rte_fib *fib); * FIB object handle * @return * Pointer on the RIB on success - * NULL othervise + * NULL otherwise */ struct rte_rib * rte_fib_get_rib(struct rte_fib *fib);