* limitations under the License.
*/
+typeonly manual_print manual_endian define one_local_locator
+{
+ u32 sw_if_index;
+ u8 priority;
+ u8 weight;
+};
+
/** \brief add or delete locator_set
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
u8 is_add;
u8 locator_set_name[64];
u32 locator_num;
- vl_api_local_locator_t locators[locator_num];
+ vl_api_one_local_locator_t locators[locator_num];
};
/** \brief Reply for locator_set add/del
u8 mode;
};
+typeonly manual_endian manual_print define one_remote_locator
+{
+ u8 is_ip4;
+ u8 priority;
+ u8 weight;
+ u8 addr[16];
+};
+
/** \brief add or delete remote static mapping
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
u8 seid[16];
u8 seid_len;
u32 rloc_num;
- vl_api_remote_locator_t rlocs[rloc_num];
+ vl_api_one_remote_locator_t rlocs[rloc_num];
};
/** \brief Reply for one_add_del_remote_mapping
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:
+ */