summaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp/one.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/lisp-cp/one.api')
-rw-r--r--src/vnet/lisp-cp/one.api55
1 files changed, 55 insertions, 0 deletions
diff --git a/src/vnet/lisp-cp/one.api b/src/vnet/lisp-cp/one.api
index 14f6d47fd15..436c8089ade 100644
--- a/src/vnet/lisp-cp/one.api
+++ b/src/vnet/lisp-cp/one.api
@@ -877,3 +877,58 @@ define show_one_pitr_reply
u8 status;
u8 locator_set_name[64];
};
+
+define one_stats_dump
+{
+ u32 client_index;
+ u32 context;
+};
+
+define one_stats_details
+{
+ u32 context;
+ u32 vni;
+ u8 eid_type;
+ u8 deid[16];
+ u8 seid[16];
+ u8 deid_pref_len;
+ u8 seid_pref_len;
+ u8 is_ip4;
+ u8 rloc[16];
+ u8 lloc[16];
+
+ u32 pkt_count;
+ u32 bytes;
+};
+
+define one_stats_enable_disable
+{
+ u32 client_index;
+ u32 context;
+ u8 is_en;
+};
+
+define one_stats_enable_disable_reply
+{
+ u32 context;
+ i32 retval;
+};
+
+define show_one_stats_enable_disable
+{
+ u32 client_index;
+ u32 context;
+};
+
+define show_one_stats_enable_disable_reply
+{
+ u32 context;
+ i32 retval;
+ u8 is_en;
+};
+
+/*
+ * Local Variables:
+ * eval: (c-set-style "gnu")
+ * End:
+ */