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-363: add ability to change mac address of the interface
[vpp.git]
/
vnet
/
vnet
/
interface_funcs.h
diff --git
a/vnet/vnet/interface_funcs.h
b/vnet/vnet/interface_funcs.h
index
735d47e
..
f603a03
100644
(file)
--- a/
vnet/vnet/interface_funcs.h
+++ b/
vnet/vnet/interface_funcs.h
@@
-173,6
+173,11
@@
void vnet_hw_interface_init_for_class (vnet_main_t * vnm, u32 hw_if_index,
clib_error_t *vnet_rename_interface (vnet_main_t * vnm, u32 hw_if_index,
char *new_name);
clib_error_t *vnet_rename_interface (vnet_main_t * vnm, u32 hw_if_index,
char *new_name);
+/* Change interface mac address*/
+clib_error_t *vnet_hw_interface_change_mac_address (vnet_main_t * vnm,
+ u32 hw_if_index,
+ u64 mac_address);
+
/* Formats sw/hw interface. */
format_function_t format_vnet_hw_interface;
format_function_t format_vnet_sw_interface;
/* Formats sw/hw interface. */
format_function_t format_vnet_hw_interface;
format_function_t format_vnet_sw_interface;