aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/hbb_common/protos/rendezvous.proto12
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/hbb_common/protos/rendezvous.proto b/libs/hbb_common/protos/rendezvous.proto
index 2c5f1b3..894eba1 100644
--- a/libs/hbb_common/protos/rendezvous.proto
+++ b/libs/hbb_common/protos/rendezvous.proto
@@ -148,6 +148,16 @@ message PeerDiscovery {
string misc = 7;
}
+message OnlineRequest {
+ string id = 1;
+ repeated string peers = 2;
+}
+
+message OnlineResponse {
+ repeated string onlines = 1;
+ repeated string offlines = 2;
+}
+
message RendezvousMessage {
oneof union {
RegisterPeer register_peer = 6;
@@ -167,5 +177,7 @@ message RendezvousMessage {
TestNatRequest test_nat_request = 20;
TestNatResponse test_nat_response = 21;
PeerDiscovery peer_discovery = 22;
+ OnlineRequest online_request = 23;
+ OnlineResponse online_response = 24;
}
}