2016-08-27 00:04:35 +02:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2016-09-26 15:14:16 +02:00
|
|
|
package v2ray.core.common.net;
|
2016-12-23 00:24:28 +01:00
|
|
|
option csharp_namespace = "V2Ray.Core.Common.Net";
|
2016-08-27 00:04:35 +02:00
|
|
|
option go_package = "net";
|
2016-09-26 15:14:16 +02:00
|
|
|
option java_package = "com.v2ray.core.common.net";
|
2017-02-03 23:15:10 +01:00
|
|
|
option java_multiple_files = true;
|
2016-08-27 00:04:35 +02:00
|
|
|
|
|
|
|
// PortRange represents a range of ports.
|
|
|
|
message PortRange {
|
2017-02-08 10:01:22 +01:00
|
|
|
// The port that this range starts from.
|
2016-08-27 00:04:35 +02:00
|
|
|
uint32 From = 1;
|
2017-02-08 10:01:22 +01:00
|
|
|
// The port that this range ends with (inclusive).
|
2016-08-27 00:04:35 +02:00
|
|
|
uint32 To = 2;
|
|
|
|
}
|