mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-29 00:55:22 +00:00
4acd358a76
The keepalive program has two procedures: PING, and PONG. Both are used only in asynchronous messages and the sender doesn't wait for any reply. However, the party which receives PING messages is supposed to react by sending PONG message the other party, but no explicit binding between PING and PONG messages is made. For backward compatibility neither server nor client are allowed to send keepalive messages before checking that remote party supports them.
8 lines
164 B
Plaintext
8 lines
164 B
Plaintext
const KEEPALIVE_PROGRAM = 0x6b656570;
|
|
const KEEPALIVE_PROTOCOL_VERSION = 1;
|
|
|
|
enum keepalive_procedure {
|
|
KEEPALIVE_PROC_PING = 1,
|
|
KEEPALIVE_PROC_PONG = 2
|
|
};
|