1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 18:17:52 -05:00
v2fly/common/net/destination.proto

18 lines
435 B
Protocol Buffer
Raw Normal View History

2016-09-20 04:44:44 -04:00
syntax = "proto3";
2016-09-26 09:14:16 -04:00
package v2ray.core.common.net;
2016-12-22 18:24:28 -05:00
option csharp_namespace = "V2Ray.Core.Common.Net";
option go_package = "v2ray.com/core/common/net";
2016-09-26 09:14:16 -04:00
option java_package = "com.v2ray.core.common.net";
2017-02-03 17:15:10 -05:00
option java_multiple_files = true;
2016-09-20 05:53:05 -04:00
import "common/net/network.proto";
import "common/net/address.proto";
2016-09-20 05:53:05 -04:00
2017-02-08 04:01:22 -05:00
// Endpoint of a network connection.
2016-10-12 12:43:55 -04:00
message Endpoint {
2016-09-20 05:53:05 -04:00
Network network = 1;
2016-10-12 12:43:55 -04:00
IPOrDomain address = 2;
2016-09-20 05:53:05 -04:00
uint32 port = 3;
2017-02-04 17:52:37 -05:00
}