[PATCH v3 13/31] RPC: Introduce virNetStreamHole

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is going to be RPC representation for virStreamSendHole.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 src/rpc/virnetprotocol.x   | 5 +++++
 src/virnetprotocol-structs | 4 ++++
 2 files changed, 9 insertions(+)

diff --git a/src/rpc/virnetprotocol.x b/src/rpc/virnetprotocol.x
index 9ce33b073..cab047cb0 100644
--- a/src/rpc/virnetprotocol.x
+++ b/src/rpc/virnetprotocol.x
@@ -236,3 +236,8 @@ struct virNetMessageError {
     int int2;
     virNetMessageNetwork net; /* unused */
 };
+
+struct virNetStreamHole {
+    hyper length;
+    unsigned int flags;
+};
diff --git a/src/virnetprotocol-structs b/src/virnetprotocol-structs
index af4526c90..aa6e0602a 100644
--- a/src/virnetprotocol-structs
+++ b/src/virnetprotocol-structs
@@ -42,3 +42,7 @@ struct virNetMessageError {
         int                        int2;
         virNetMessageNetwork       net;
 };
+struct virNetStreamHole {
+        int64_t                    length;
+        u_int                      flags;
+};
-- 
2.13.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux