Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
VPP-81: Print interface name after creating an interface with CLI
[vpp.git]
/
vnet
/
vnet
/
devices
/
af_packet
/
af_packet.h
diff --git
a/vnet/vnet/devices/af_packet/af_packet.h
b/vnet/vnet/devices/af_packet/af_packet.h
index
21f41c7
..
258700b
100644
(file)
--- a/
vnet/vnet/devices/af_packet/af_packet.h
+++ b/
vnet/vnet/devices/af_packet/af_packet.h
@@
-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;
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);
int af_packet_delete_if(vlib_main_t * vm, u8 * host_if_name);