summaryrefslogtreecommitdiff
path: root/src/virnetprotocol-structs
Commit message (Collapse)AuthorAgeFilesLines
* Introduce VIR_NET_STREAM_HOLE message typeMichal Privoznik2017-05-181-0/+1
| | | | | | | | This is a special type of stream packet, that is bidirectional and contains information regarding how many bytes each side will be skipping in the stream. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
* RPC: Introduce virNetStreamHoleMichal Privoznik2017-05-181-0/+4
| | | | | | This is going to be RPC representation for virStreamSendHole. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
* Extend RPC protocol to allow FD passingDaniel P. Berrange2011-10-281-0/+2
| | | | | | | | | | | | | | | | Define two new RPC message types VIR_NET_CALL_WITH_FDS and VIR_NET_REPLY_WITH_FDS. These message types are equivalent to VIR_NET_CALL and VIR_NET_REPLY, except that between the message header, and payload there is a 32-bit integer field specifying how many file descriptors have been passed. The actual file descriptors are sent/recv'd out of band. * src/rpc/virnetmessage.c, src/rpc/virnetmessage.h, src/libvirt_private.syms: Add support for handling passed file descriptors * src/rpc/virnetprotocol.x: Extend protocol for FD passing
* build: also track RPC on-wire enum valuesEric Blake2011-07-151-0/+11
| | | | | | | | | | | As long as we guarantee RPC struct layout stability, we might as well also guarantee RPC enum value constancy. * src/Makefile.am (r1, r2, PDWTAGS): Adjust rule to pick up named and anonymous enums. * src/remote_protocol-structs: Add enum values. * src/qemu_protocol-structs: Likewise. * src/virnetprotocol-structs: Likewise.
* build: check for virnetprotocol on-the-wire stabilityEric Blake2011-07-141-0/+31
Similar to the recent qemu_protocol-structs addition. * src/virnetprotocol-structs: New file. * src/Makefile.am (%_protocol-structs): Factor body... (PDWTAGS): ...into new helper macro. (virnetprotocol-structs): New rule. (PROTOCOL_STRUCTS): Add virnetprotocol-structs.