VPP-81: Print interface name after creating an interface with CLI
[vpp.git] / vnet / vnet / devices / af_packet / af_packet.h
index 21f41c7..258700b 100644 (file)
@@ -54,5 +54,5 @@ af_packet_main_t af_packet_main;
 extern vnet_device_class_t af_packet_device_class;
 extern vlib_node_registration_t af_packet_input_node;
 
-int af_packet_create_if(vlib_main_t * vm, u8 * host_if_name, u8 * hw_addr_set);
+int af_packet_create_if(vlib_main_t * vm, u8 * host_if_name, u8 * hw_addr_set, u32 *sw_if_index);
 int af_packet_delete_if(vlib_main_t * vm, u8 * host_if_name);