FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
fib_test.h File Reference
+ Include dependency graph for fib_test.h:

Go to the source code of this file.

Data Structures

struct  fib_test_lb_bucket_t_
 
struct  fib_test_rep_bucket_t_
 

Typedefs

typedef enum fib_test_lb_bucket_type_t_ fib_test_lb_bucket_type_t
 
typedef struct fib_test_lb_bucket_t_ fib_test_lb_bucket_t
 
typedef enum fib_test_rep_bucket_type_t_ fib_test_rep_bucket_type_t
 
typedef struct fib_test_rep_bucket_t_ fib_test_rep_bucket_t
 

Enumerations

enum  fib_test_lb_bucket_type_t_ {
  FT_LB_LABEL_O_ADJ, FT_LB_LABEL_STACK_O_ADJ, FT_LB_LABEL_O_LB, FT_LB_O_LB,
  FT_LB_MPLS_DISP_PIPE_O_ADJ, FT_LB_INTF, FT_LB_L2, FT_LB_BIER_TABLE,
  FT_LB_BIER_FMASK, FT_LB_DROP, FT_LB_PUNT, FT_LB_ADJ
}
 
enum  fib_test_rep_bucket_type_t_ { FT_REP_LABEL_O_ADJ, FT_REP_DISP_MFIB_LOOKUP, FT_REP_INTF }
 

Functions

int fib_test_validate_rep_v (const replicate_t *rep, u16 n_buckets, va_list *ap)
 
int fib_test_validate_lb_v (const load_balance_t *lb, int n_buckets, va_list *ap)
 
int fib_test_validate_lb (const dpo_id_t *dpo, int n_buckets,...)
 
int fib_test_validate_entry (fib_node_index_t fei, fib_forward_chain_type_t fct, int n_buckets,...)
 

Typedef Documentation

◆ fib_test_lb_bucket_t

◆ fib_test_lb_bucket_type_t

◆ fib_test_rep_bucket_t

◆ fib_test_rep_bucket_type_t

Enumeration Type Documentation

◆ fib_test_lb_bucket_type_t_

Enumerator
FT_LB_LABEL_O_ADJ 
FT_LB_LABEL_STACK_O_ADJ 
FT_LB_LABEL_O_LB 
FT_LB_O_LB 
FT_LB_MPLS_DISP_PIPE_O_ADJ 
FT_LB_INTF 
FT_LB_L2 
FT_LB_BIER_TABLE 
FT_LB_BIER_FMASK 
FT_LB_DROP 
FT_LB_PUNT 
FT_LB_ADJ 

Definition at line 27 of file fib_test.h.

◆ fib_test_rep_bucket_type_t_

Enumerator
FT_REP_LABEL_O_ADJ 
FT_REP_DISP_MFIB_LOOKUP 
FT_REP_INTF 

Definition at line 94 of file fib_test.h.

Function Documentation

◆ fib_test_validate_entry()

int fib_test_validate_entry ( fib_node_index_t  fei,
fib_forward_chain_type_t  fct,
int  n_buckets,
  ... 
)

◆ fib_test_validate_lb()

int fib_test_validate_lb ( const dpo_id_t dpo,
int  n_buckets,
  ... 
)

◆ fib_test_validate_lb_v()

int fib_test_validate_lb_v ( const load_balance_t lb,
int  n_buckets,
va_list *  ap 
)

◆ fib_test_validate_rep_v()

int fib_test_validate_rep_v ( const replicate_t rep,
u16  n_buckets,
va_list *  ap 
)