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, u32 * sw_if_index);
int af_packet_delete_if (vlib_main_t * vm, u8 * host_if_name);
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, u32 * sw_if_index);
int af_packet_delete_if (vlib_main_t * vm, u8 * host_if_name);