FD.io VPP  v17.07.01-10-g3be13f0
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_SPECIAL, FT_LB_ADJ, FT_LB_INTF
}
 
enum  fib_test_rep_bucket_type_t_ { FT_REP_LABEL_O_ADJ, 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, u16 n_buckets, va_list ap)
 
int fib_test_validate_entry (fib_node_index_t fei, fib_forward_chain_type_t fct, u16 n_buckets,...)
 

Typedef Documentation

Enumeration Type Documentation

Enumerator
FT_LB_LABEL_O_ADJ 
FT_LB_LABEL_STACK_O_ADJ 
FT_LB_LABEL_O_LB 
FT_LB_O_LB 
FT_LB_SPECIAL 
FT_LB_ADJ 
FT_LB_INTF 

Definition at line 21 of file fib_test.h.

Enumerator
FT_REP_LABEL_O_ADJ 
FT_REP_INTF 

Definition at line 73 of file fib_test.h.

Function Documentation

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