From 4297c8ee6f0ef70e5a71e3387a0fccaa20b04f94 Mon Sep 17 00:00:00 2001 From: Alexey Kardashevskiy Date: Tue, 11 Mar 2014 10:42:26 +1100 Subject: util: add qemu_ether_ntoa This adds a helper to format ethernet MAC address. Signed-off-by: Alexey Kardashevskiy Reviewed-by: Juan Quintela Signed-off-by: Amit Shah --- include/qemu-common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/qemu-common.h') diff --git a/include/qemu-common.h b/include/qemu-common.h index c8a58a873a..a998e8d36c 100644 --- a/include/qemu-common.h +++ b/include/qemu-common.h @@ -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 -- cgit v1.2.3