19 lines
363 B
Protocol Buffer
19 lines
363 B
Protocol Buffer
package protocol;
|
|
|
|
message prp_header {
|
|
optional uint32 version = 1;
|
|
optional uint32 type = 2;
|
|
optional uint32 xid = 3;
|
|
}
|
|
|
|
enum prp_type {
|
|
// Discovery and maintenance messages
|
|
PRPT_HELLO = 0;
|
|
PRPT_ECHO_REQUEST = 1;
|
|
PRPT_ECHO_REPLY = 2;
|
|
|
|
// Statistics and measurement messages
|
|
PRPT_STATS_REQUEST = 3;
|
|
PRPT_STATS_REPLY = 4;
|
|
}
|