So here are my patches to add the possibility to dump network traffic over the streaming
api.
The docs are still missing. Futhermore I got a nasty "End of file while reading
data" error from libvirtd when closing the stream. Is there any way to fix it. I
checked a few other functions which use streams but couldn't find a solution for
this.
However, it would be nice if someone could have a look at the patches.
Thanks
Hendrik
Hendrik Schwartke (2):
Add virInterfaceDumpTraffic
Add the command iface-dumptraffic to virsh
include/libvirt/libvirt.h.in | 6 ++
src/driver.h | 9 ++
src/interface/netcf_driver.c | 217 ++++++++++++++++++++++++++++++++++++++++++
src/libvirt.c | 52 ++++++++++
src/libvirt_public.syms | 5 +
src/remote/remote_driver.c | 1 +
src/remote/remote_protocol.x | 11 ++-
tools/virsh.c | 84 ++++++++++++++++
8 files changed, 384 insertions(+), 1 deletion(-)
--
1.7.9.5