X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Flisp-gpe%2Flisp_gpe.h;h=660f8a6628bd2b2f86c1596fe55076ac0508052e;hb=a4e63e5593d53692b8085dc666f8670ece135f32;hp=f0405644b11585f9d334b1489c5f29b7b7573c92;hpb=6899a30bd70f219cfd182dfb0e9ac96faf5d9892;p=vpp.git diff --git a/src/vnet/lisp-gpe/lisp_gpe.h b/src/vnet/lisp-gpe/lisp_gpe.h index f0405644b11..660f8a6628b 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; @@ -269,6 +273,12 @@ typedef struct }; } vnet_lisp_gpe_add_del_fwd_entry_args_t; +typedef struct +{ + fib_route_path_t rpath; + u8 is_add; +} vnet_gpe_native_fwd_rpath_args_t; + typedef struct { u32 fwd_entry_index; @@ -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 */ /*