FD.io VPP  v17.04-9-g99c0734
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])
 
const dpo_id_tlisp_nsh_fib_lookup (lisp_gpe_main_t *lgm, u32 spi_si)
 Lookup NSH SD FIB entry. More...
 
void vnet_lisp_gpe_del_fwd_counters (vnet_lisp_gpe_add_del_fwd_entry_args_t *a, u32 fwd_entry_index)
 
void vnet_lisp_gpe_add_fwd_counters (vnet_lisp_gpe_add_del_fwd_entry_args_t *a, u32 fwd_entry_index)
 

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] 
)
const dpo_id_t* lisp_nsh_fib_lookup ( lisp_gpe_main_t lgm,
u32  spi_si_net_order 
)

Lookup NSH SD FIB entry.

Does an SPI+SI lookup in the NSH LISP FIB.

Parameters
[in]lgmReference to lisp_gpe_main_t.
[in]spi_siSPI + SI.
Returns
next node index.

Definition at line 841 of file lisp_gpe_fwd_entry.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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 1173 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_add_fwd_counters ( vnet_lisp_gpe_add_del_fwd_entry_args_t a,
u32  fwd_entry_index 
)

Definition at line 413 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_del_fwd_counters ( vnet_lisp_gpe_add_del_fwd_entry_args_t a,
u32  fwd_entry_index 
)

Definition at line 1241 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 1268 of file lisp_gpe_fwd_entry.c.

+ Here is the caller graph for this function: