This is going to be RPC representation for virStreamSendHole.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
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