aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-gpe/lisp_gpe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/lisp-gpe/lisp_gpe.h')
-rw-r--r--src/vnet/lisp-gpe/lisp_gpe.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/vnet/lisp-gpe/lisp_gpe.h b/src/vnet/lisp-gpe/lisp_gpe.h
index f0405644..660f8a66 100644
--- a/src/vnet/lisp-gpe/lisp_gpe.h
+++ b/src/vnet/lisp-gpe/lisp_gpe.h
@@ -163,6 +163,10 @@ typedef struct lisp_gpe_main
uword *lisp_stats_index_by_key;
vlib_combined_counter_main_t counters;
+ /** Native fwd data structures */
+ fib_route_path_t *native_fwd_rpath[2];
+ u32 *native_fwd_lfes[2];
+
/** convenience */
vlib_main_t *vlib_main;
vnet_main_t *vnet_main;
@@ -271,6 +275,12 @@ typedef struct
typedef struct
{
+ fib_route_path_t rpath;
+ u8 is_add;
+} vnet_gpe_native_fwd_rpath_args_t;
+
+typedef struct
+{
u32 fwd_entry_index;
u32 dp_table;
u32 vni;
@@ -313,7 +323,7 @@ u8 vnet_lisp_stats_enable_disable_state (void);
vnet_api_error_t vnet_lisp_stats_enable_disable (u8 enable);
lisp_api_stats_t *vnet_lisp_get_stats (void);
int vnet_lisp_flush_stats (void);
-
+int vnet_gpe_add_del_native_fwd_rpath (vnet_gpe_native_fwd_rpath_args_t * a);
#endif /* included_vnet_lisp_gpe_h */
/*