summaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-gpe/lisp_gpe.h
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2017-01-18 12:57:37 +0100
committerFlorin Coras <florin.coras@gmail.com>2017-01-30 10:40:35 +0000
commit5fae99c184e09342aed888d4d7790b533513209f (patch)
treef636af17d41b0c0ea307647357cd019cbe7278a9 /src/vnet/lisp-gpe/lisp_gpe.h
parent006eb478bb7a14ba7ba4199fecce29ebc495fb9c (diff)
LISP: add dump calls for GPE entries API
Change-Id: Ie7f51643fd3522a0fa8df8d0309305481c211f5f Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet/lisp-gpe/lisp_gpe.h')
-rw-r--r--src/vnet/lisp-gpe/lisp_gpe.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/vnet/lisp-gpe/lisp_gpe.h b/src/vnet/lisp-gpe/lisp_gpe.h
index bb0f788b197..3288c99ffee 100644
--- a/src/vnet/lisp-gpe/lisp_gpe.h
+++ b/src/vnet/lisp-gpe/lisp_gpe.h
@@ -220,6 +220,15 @@ typedef struct
};
} vnet_lisp_gpe_add_del_fwd_entry_args_t;
+typedef struct
+{
+ u32 fwd_entry_index;
+ u32 dp_table;
+ u32 vni;
+ dp_address_t leid;
+ dp_address_t reid;
+} lisp_api_gpe_fwd_entry_t;
+
#define foreach_lgpe_ip4_lookup_next \
_(DROP, "error-drop") \
_(LISP_CP_LOOKUP, "lisp-cp-lookup")
@@ -246,6 +255,8 @@ typedef enum lgpe_ip6_lookup_next
u8 *format_vnet_lisp_gpe_status (u8 * s, va_list * args);
+lisp_api_gpe_fwd_entry_t *vnet_lisp_gpe_fwd_entries_get_by_vni (u32 vni);
+
#endif /* included_vnet_lisp_gpe_h */
/*