summaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-07 17:46:21 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-07 17:46:21 +0000
commita048b1f88b36eae4f9ceb595445be57becaf5aab (patch)
treea0aa76dfcf83f7575eab561d0cb714e09bd00d4f /net.h
parent87cb13e7688473ad6ceca47095fc663f0f513cad (diff)
downloadqemu-a048b1f88b36eae4f9ceb595445be57becaf5aab.tar.gz
qemu-a048b1f88b36eae4f9ceb595445be57becaf5aab.tar.bz2
qemu-a048b1f88b36eae4f9ceb595445be57becaf5aab.zip
Add qemu_format_nic_info_str() (Mark McLoughlin)
Factor out a simple little function for formatting a NIC's info_str and make all NICs use it. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6218 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'net.h')
-rw-r--r--net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net.h b/net.h
index 078dd18dd6..904519a354 100644
--- a/net.h
+++ b/net.h
@@ -41,6 +41,7 @@ int qemu_can_send_packet(VLANClientState *vc);
ssize_t qemu_sendv_packet(VLANClientState *vc, const struct iovec *iov,
int iovcnt);
void qemu_send_packet(VLANClientState *vc, const uint8_t *buf, int size);
+void qemu_format_nic_info_str(VLANClientState *vc, uint8_t macaddr[6]);
void qemu_handler_true(void *opaque);
void do_info_network(void);