summaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
authorBenjamin <mlspirat42@gmail.com>2012-01-11 09:20:54 +0900
committerAnthony Liguori <aliguori@us.ibm.com>2012-01-12 10:34:20 -0600
commit0e0e7facc775e9bb020314f48751b3d09f316c8b (patch)
treea0ccab34ffd4e2a72252c6273a38d9c09b24e6ce /net.c
parent4aa7534d22aaa48663770a98f989450b0cb34ef0 (diff)
downloadqemu-0e0e7facc775e9bb020314f48751b3d09f316c8b.tar.gz
qemu-0e0e7facc775e9bb020314f48751b3d09f316c8b.tar.bz2
qemu-0e0e7facc775e9bb020314f48751b3d09f316c8b.zip
Support for UDP unicast network backend
Signed-off-by: Benjamin MARSILI <mlspirat42@gmail.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net.c')
-rw-r--r--net.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/net.c b/net.c
index f7bebf8cc4..2b0f766408 100644
--- a/net.c
+++ b/net.c
@@ -1000,7 +1000,11 @@ static const struct {
}, {
.name = "localaddr",
.type = QEMU_OPT_STRING,
- .help = "source address for multicast packets",
+ .help = "source address and port for multicast and udp packets",
+ }, {
+ .name = "udp",
+ .type = QEMU_OPT_STRING,
+ .help = "UDP unicast address and port number",
},
{ /* end of list */ }
},