github.com/xraypb/xray-core@v1.6.6/common/net/port.proto (about) 1 syntax = "proto3"; 2 3 package xray.common.net; 4 option csharp_namespace = "Xray.Common.Net"; 5 option go_package = "github.com/xraypb/xray-core/common/net"; 6 option java_package = "com.xray.common.net"; 7 option java_multiple_files = true; 8 9 // PortRange represents a range of ports. 10 message PortRange { 11 // The port that this range starts from. 12 uint32 From = 1; 13 // The port that this range ends with (inclusive). 14 uint32 To = 2; 15 } 16 17 // PortList is a list of ports. 18 message PortList { 19 repeated PortRange range = 1; 20 }