header.proto 364 Bytes
Newer Older
1
2
3
4
5
package protocol;

message prp_header {
	optional uint32 version = 1;
	optional uint32 type = 2;
nikaeinn's avatar
nikaeinn committed
6
	optional uint32 xid = 4;
7
8
9
10
11
12
13
14
15
16
17
}

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;
18
}
nikaeinn's avatar
nikaeinn committed
19