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";
|
2016-09-20 08:44:44 +00:00
|
|
|
option go_package = "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 "v2ray.com/core/common/net/network.proto";
|
|
|
|
import "v2ray.com/core/common/net/address.proto";
|
|
|
|
|
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
|
|
|
}
|