1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-07-05 05:25:23 +00:00
v2fly/common/net/destination.proto

18 lines
451 B
Protocol Buffer
Raw Normal View History

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