FD.io VPP  v16.12-rc0-308-g931be3a
Vector Packet Processing
lisp_gpe_fwd_entry.h File Reference

LISP-GPE definitions. More...

+ Include dependency graph for lisp_gpe_fwd_entry.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lisp_fwd_path_t_
 A path on which to forward lisp traffic. More...
 
struct  lisp_gpe_fwd_entry_key_t_
 LISP-GPE fwd entry key. More...
 
struct  lisp_gpe_fwd_entry_t_
 A LISP Forwarding Entry. More...
 

Typedefs

typedef struct lisp_fwd_path_t_ lisp_fwd_path_t
 A path on which to forward lisp traffic. More...
 
typedef enum lisp_gpe_fwd_entry_type_t_ lisp_gpe_fwd_entry_type_t
 A Forwarding entry can be 'normal' or 'negative' Negative implies we deliberately want to add a FIB entry for an EID that results in 'special' behaviour determined by an 'action'. More...
 
typedef struct lisp_gpe_fwd_entry_key_t_ lisp_gpe_fwd_entry_key_t
 LISP-GPE fwd entry key. More...
 
typedef struct lisp_gpe_fwd_entry_t_ lisp_gpe_fwd_entry_t
 A LISP Forwarding Entry. More...
 

Enumerations

enum  lisp_gpe_fwd_entry_type_t_ { LISP_GPE_FWD_ENTRY_TYPE_NORMAL, LISP_GPE_FWD_ENTRY_TYPE_NEGATIVE }
 A Forwarding entry can be 'normal' or 'negative' Negative implies we deliberately want to add a FIB entry for an EID that results in 'special' behaviour determined by an 'action'. More...
 

Functions

int vnet_lisp_gpe_add_del_fwd_entry (vnet_lisp_gpe_add_del_fwd_entry_args_t *a, u32 *hw_if_indexp)
 Forwarding entry create/remove dispatcher. More...
 
void vnet_lisp_gpe_fwd_entry_flush (void)
 Flush all the forwrding entries. More...
 
u32 lisp_l2_fib_lookup (lisp_gpe_main_t *lgm, u16 bd_index, u8 src_mac[8], u8 dst_mac[8])
 

Detailed Description

LISP-GPE definitions.

Definition in file lisp_gpe_fwd_entry.h.

Typedef Documentation

A path on which to forward lisp traffic.

LISP-GPE fwd entry key.

A LISP Forwarding Entry.

A forwarding entry is from a locai EID to a remote EID over a set of rloc pairs

A Forwarding entry can be 'normal' or 'negative' Negative implies we deliberately want to add a FIB entry for an EID that results in 'special' behaviour determined by an 'action'.

means send it down some tunnels.

Enumeration Type Documentation

A Forwarding entry can be 'normal' or 'negative' Negative implies we deliberately want to add a FIB entry for an EID that results in 'special' behaviour determined by an 'action'.

means send it down some tunnels.

Enumerator
LISP_GPE_FWD_ENTRY_TYPE_NORMAL 
LISP_GPE_FWD_ENTRY_TYPE_NEGATIVE 

Definition at line 53 of file lisp_gpe_fwd_entry.h.

Function Documentation

u32 lisp_l2_fib_lookup ( lisp_gpe_main_t lgm,
u16  bd_index,
u8  src_mac[8],
u8  dst_mac[8] 
)
int vnet_lisp_gpe_add_del_fwd_entry ( vnet_lisp_gpe_add_del_fwd_entry_args_t a,
u32 hw_if_indexp 
)

Forwarding entry create/remove dispatcher.

Calls l2 or l3 forwarding entry add/del function based on input data.

Parameters
[in]aForwarding entry parameters.
[out]hw_if_indexpNOT USED
Returns
0 on success.

Definition at line 836 of file lisp_gpe_fwd_entry.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vnet_lisp_gpe_fwd_entry_flush ( void  )

Flush all the forwrding entries.

Definition at line 872 of file lisp_gpe_fwd_entry.c.

+ Here is the caller graph for this function: