util: add qemu_ether_ntoa
This adds a helper to format ethernet MAC address. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>
This commit is contained in:
parent
db237e33c0
commit
4297c8ee6f
2 changed files with 16 additions and 0 deletions
|
|
@ -472,4 +472,6 @@ size_t buffer_find_nonzero_offset(const void *buf, size_t len);
|
|||
*/
|
||||
int parse_debug_env(const char *name, int max, int initial);
|
||||
|
||||
const char *qemu_ether_ntoa(const MACAddr *mac);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue