CNDP  22.08.0
private_fib6.h File Reference
#include <stdint.h>
#include <cne_common.h>
#include "cne_fib6.h"

Go to the source code of this file.

Macros

#define CNE_FIB6_MAXDEPTH   128
 

Typedefs

typedef int(* cne_fib6_modify_fn_t) (struct cne_fib6 *fib, const uint8_t ip[CNE_FIB6_IPV6_ADDR_SIZE], uint8_t depth, uint64_t next_hop, int op)
 
typedef void(* cne_fib6_lookup_fn_t) (void *fib, uint8_t ips[][CNE_FIB6_IPV6_ADDR_SIZE], uint64_t *next_hops, const unsigned int n)
 

Detailed Description

CNE FIB6 private information.

FIB (Forwarding information base) implementation for IPv6 Longest Prefix Match

Definition in file private_fib6.h.

Macro Definition Documentation

◆ CNE_FIB6_MAXDEPTH

#define CNE_FIB6_MAXDEPTH   128

Maximum depth value possible for IPv6 FIB.

Definition at line 28 of file private_fib6.h.

Typedef Documentation

◆ cne_fib6_modify_fn_t

typedef int(* cne_fib6_modify_fn_t) (struct cne_fib6 *fib, const uint8_t ip[CNE_FIB6_IPV6_ADDR_SIZE], uint8_t depth, uint64_t next_hop, int op)

Modify FIB function

Definition at line 34 of file private_fib6.h.

◆ cne_fib6_lookup_fn_t

typedef void(* cne_fib6_lookup_fn_t) (void *fib, uint8_t ips[][CNE_FIB6_IPV6_ADDR_SIZE], uint64_t *next_hops, const unsigned int n)

FIB bulk lookup function

Definition at line 37 of file private_fib6.h.