aboutsummaryrefslogtreecommitdiffstats
path: root/net.h
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-07 17:43:44 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-07 17:43:44 +0000
commit676cff2940f3d34e2ef7735df0f83cce958b0d77 (patch)
tree67333b5e19b42a5fe51386a0953059a643196e2a /net.h
parentbf38c1a0e1d7ebbe0930d8926dbc499b88a2d7db (diff)
Assign a name to each VLAN client (Mark McLoughlin)
Automatically assign a name to each vlan client based on its model, e.g. e1000.0, tap.3 or vde.1. This name is intended to be used by the forthcoming 'set_link' monitor command. 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@6217 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 a2c6a501d..078dd18dd 100644
--- a/net.h
+++ b/net.h
@@ -19,6 +19,7 @@ struct VLANClientState {
struct VLANClientState *next;
struct VLANState *vlan;
char *model;
+ char *name;
char info_str[256];
};