FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
fib_entry_src_interpose.c File Reference
+ Include dependency graph for fib_entry_src_interpose.c:

Go to the source code of this file.

Functions

static void fib_entry_src_interpose_init (fib_entry_src_t *src)
 
static void fib_entry_src_interpose_deinit (fib_entry_src_t *src)
 
static fib_entry_src_tfib_entry_src_rr_get_next_best (const fib_entry_src_t *src, const fib_entry_t *fib_entry)
 
static int fib_entry_src_interpose_activate (fib_entry_src_t *src, const fib_entry_t *fib_entry)
 
static void fib_entry_src_interpose_deactivate (fib_entry_src_t *src, const fib_entry_t *fib_entry)
 Source Deactivate. More...
 
static int fib_entry_src_interpose_reactivate (fib_entry_src_t *src, const fib_entry_t *fib_entry)
 
static fib_entry_src_cover_res_t fib_entry_src_interpose_cover_change (fib_entry_src_t *src, const fib_entry_t *fib_entry)
 
static void fib_entry_src_interpose_add (fib_entry_src_t *src, const fib_entry_t *entry, fib_entry_flag_t flags, dpo_proto_t proto, const dpo_id_t *dpo)
 
static void fib_entry_src_interpose_remove (fib_entry_src_t *src)
 
static void fib_entry_src_interpose_set_data (fib_entry_src_t *src, const fib_entry_t *fib_entry, const void *data)
 
const dpo_id_tfib_entry_src_interpose_contribute (const fib_entry_src_t *src, const fib_entry_t *fib_entry)
 Contribute forwarding to interpose in the chain. More...
 
static void fib_entry_src_interpose_copy (const fib_entry_src_t *orig_src, const fib_entry_t *fib_entry, fib_entry_src_t *copy_src)
 
static void fib_entry_src_interpose_flag_change (fib_entry_src_t *src, const fib_entry_t *fib_entry, fib_entry_flag_t new_flags)
 
static u8fib_entry_src_interpose_format (fib_entry_src_t *src, u8 *s)
 
void fib_entry_src_interpose_register (void)
 

Variables

static const fib_entry_src_vft_t interpose_src_vft
 

Function Documentation

static int fib_entry_src_interpose_activate ( fib_entry_src_t src,
const fib_entry_t fib_entry 
)
static

Definition at line 82 of file fib_entry_src_interpose.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void fib_entry_src_interpose_add ( fib_entry_src_t src,
const fib_entry_t entry,
fib_entry_flag_t  flags,
dpo_proto_t  proto,
const dpo_id_t dpo 
)
static

Definition at line 267 of file fib_entry_src_interpose.c.

+ Here is the call graph for this function:

const dpo_id_t* fib_entry_src_interpose_contribute ( const fib_entry_src_t src,
const fib_entry_t fib_entry 
)

Contribute forwarding to interpose in the chain.

Definition at line 295 of file fib_entry_src_interpose.c.

static void fib_entry_src_interpose_copy ( const fib_entry_src_t orig_src,
const fib_entry_t fib_entry,
fib_entry_src_t copy_src 
)
static

Definition at line 302 of file fib_entry_src_interpose.c.

+ Here is the call graph for this function:

static fib_entry_src_cover_res_t fib_entry_src_interpose_cover_change ( fib_entry_src_t src,
const fib_entry_t fib_entry 
)
static

Definition at line 229 of file fib_entry_src_interpose.c.

+ Here is the call graph for this function:

static void fib_entry_src_interpose_deactivate ( fib_entry_src_t src,
const fib_entry_t fib_entry 
)
static

Source Deactivate.

Called when the source is no longer best source on the entry

Definition at line 182 of file fib_entry_src_interpose.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void fib_entry_src_interpose_deinit ( fib_entry_src_t src)
static

Definition at line 42 of file fib_entry_src_interpose.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void fib_entry_src_interpose_flag_change ( fib_entry_src_t src,
const fib_entry_t fib_entry,
fib_entry_flag_t  new_flags 
)
static

Definition at line 322 of file fib_entry_src_interpose.c.

+ Here is the call graph for this function:

static u8* fib_entry_src_interpose_format ( fib_entry_src_t src,
u8 s 
)
static

Definition at line 338 of file fib_entry_src_interpose.c.

+ Here is the call graph for this function:

static void fib_entry_src_interpose_init ( fib_entry_src_t src)
static

Definition at line 32 of file fib_entry_src_interpose.c.

static int fib_entry_src_interpose_reactivate ( fib_entry_src_t src,
const fib_entry_t fib_entry 
)
static

Definition at line 221 of file fib_entry_src_interpose.c.

+ Here is the call graph for this function:

void fib_entry_src_interpose_register ( void  )

Definition at line 367 of file fib_entry_src_interpose.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void fib_entry_src_interpose_remove ( fib_entry_src_t src)
static

Definition at line 277 of file fib_entry_src_interpose.c.

+ Here is the call graph for this function:

static void fib_entry_src_interpose_set_data ( fib_entry_src_t src,
const fib_entry_t fib_entry,
const void *  data 
)
static

Definition at line 283 of file fib_entry_src_interpose.c.

+ Here is the call graph for this function:

static fib_entry_src_t* fib_entry_src_rr_get_next_best ( const fib_entry_src_t src,
const fib_entry_t fib_entry 
)
static

Definition at line 53 of file fib_entry_src_interpose.c.

+ Here is the caller graph for this function:

Variable Documentation

const fib_entry_src_vft_t interpose_src_vft
static
Initial value:
= {
.fesv_cover_update = fib_entry_src_rr_cover_update,
.fesv_contribute_interpose = fib_entry_src_interpose_contribute,
}
static int fib_entry_src_interpose_activate(fib_entry_src_t *src, const fib_entry_t *fib_entry)
const dpo_id_t * fib_entry_src_interpose_contribute(const fib_entry_src_t *src, const fib_entry_t *fib_entry)
Contribute forwarding to interpose in the chain.
static void fib_entry_src_interpose_init(fib_entry_src_t *src)
static void fib_entry_src_interpose_copy(const fib_entry_src_t *orig_src, const fib_entry_t *fib_entry, fib_entry_src_t *copy_src)
static u8 * fib_entry_src_interpose_format(fib_entry_src_t *src, u8 *s)
static void fib_entry_src_interpose_set_data(fib_entry_src_t *src, const fib_entry_t *fib_entry, const void *data)
static void fib_entry_src_interpose_deactivate(fib_entry_src_t *src, const fib_entry_t *fib_entry)
Source Deactivate.
static void fib_entry_src_interpose_flag_change(fib_entry_src_t *src, const fib_entry_t *fib_entry, fib_entry_flag_t new_flags)
static fib_entry_src_cover_res_t fib_entry_src_interpose_cover_change(fib_entry_src_t *src, const fib_entry_t *fib_entry)
static void fib_entry_src_interpose_deinit(fib_entry_src_t *src)
fib_entry_src_cover_res_t fib_entry_src_rr_cover_update(fib_entry_src_t *src, const fib_entry_t *fib_entry)
static void fib_entry_src_interpose_remove(fib_entry_src_t *src)
static void fib_entry_src_interpose_add(fib_entry_src_t *src, const fib_entry_t *entry, fib_entry_flag_t flags, dpo_proto_t proto, const dpo_id_t *dpo)
static int fib_entry_src_interpose_reactivate(fib_entry_src_t *src, const fib_entry_t *fib_entry)

Definition at line 349 of file fib_entry_src_interpose.c.