From 890ee6abb385d6508bba7f5273c74a8e43bea6af Mon Sep 17 00:00:00 2001 From: Scott Feldman Date: Fri, 13 Mar 2015 21:09:25 -0700 Subject: net: add MAC address string printer We can use this in virtio-net code as well as new Rocker driver code, so up-level this. Signed-off-by: Scott Feldman Reviewed-by: Eric Blake Message-id: 1426306173-24884-2-git-send-email-sfeldma@gmail.com Signed-off-by: Stefan Hajnoczi --- include/net/net.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/net/net.h') diff --git a/include/net/net.h b/include/net/net.h index 50ffcb9281..e66ca03bf3 100644 --- a/include/net/net.h +++ b/include/net/net.h @@ -97,6 +97,7 @@ typedef struct NICState { bool peer_deleted; } NICState; +char *qemu_mac_strdup_printf(const uint8_t *macaddr); NetClientState *qemu_find_netdev(const char *id); int qemu_find_net_clients_except(const char *id, NetClientState **ncs, NetClientOptionsKind type, int max); -- cgit v1.2.3-55-g7522