#include <vnet/dpo/lookup_dpo.h>
#include <vnet/dpo/classify_dpo.h>
#include <vnet/dpo/ip_null_dpo.h>
+
#define vl_typedefs /* define message structures */
#include <vpp/api/vpe_all_api_h.h>
#undef vl_typedefs
vnet_hw_interface_t *hi = 0;
u8 *intf_name = format (0, "pg%d", ntohl (mp->interface_id), 0);
+ vec_terminate_c_string (intf_name);
u32 hw_if_index = ~0;
uword *p = hash_get_mem (im->hw_interface_by_name, intf_name);
if (p)
u8 *arc_name = format (0, "%s%c", mp->arc_name, 0);
u8 *feature_name = format (0, "%s%c", mp->feature_name, 0);
+ vec_terminate_c_string (arc_name);
+ vec_terminate_c_string (feature_name);
+
vnet_feature_registration_t *reg =
vnet_get_feature_reg ((const char *) arc_name,
(const char *) feature_name);
foreach_vl_msg_name_crc_memclnt;
foreach_vl_msg_name_crc_vpe;
#undef _
+
+#define vl_api_version_tuple(n,mj, mi, p) \
+ vl_msg_api_add_version (am, #n, mj, mi, p);
+#include <vpp/api/vpe_all_api_h.h>
+#undef vl_api_version_tuple
}