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";
|
2022-01-02 10:16:23 -05:00
|
|
|
option go_package = "github.com/v2fly/v2ray-core/v5/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
|
|
|
|
2020-08-24 08:10:26 -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
|
|
|
}
|