mirror of https://github.com/v2ray/v2ray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.8 KiB
44 lines
1.8 KiB
8 years ago
|
// Code generated by protoc-gen-go.
|
||
|
// source: port.proto
|
||
|
// DO NOT EDIT!
|
||
|
|
||
|
package net
|
||
|
|
||
|
import proto "github.com/golang/protobuf/proto"
|
||
|
import fmt "fmt"
|
||
|
import math "math"
|
||
|
|
||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||
|
var _ = proto.Marshal
|
||
|
var _ = fmt.Errorf
|
||
|
var _ = math.Inf
|
||
|
|
||
|
// PortRange represents a range of ports.
|
||
|
type PortRange struct {
|
||
|
From uint32 `protobuf:"varint,1,opt,name=From,json=from" json:"From,omitempty"`
|
||
|
To uint32 `protobuf:"varint,2,opt,name=To,json=to" json:"To,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *PortRange) Reset() { *m = PortRange{} }
|
||
|
func (m *PortRange) String() string { return proto.CompactTextString(m) }
|
||
|
func (*PortRange) ProtoMessage() {}
|
||
|
func (*PortRange) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*PortRange)(nil), "com.v2ray.core.common.net.PortRange")
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("port.proto", fileDescriptor1) }
|
||
|
|
||
|
var fileDescriptor1 = []byte{
|
||
|
// 121 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xe2, 0x2a, 0xc8, 0x2f, 0x2a,
|
||
|
0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x4c, 0xce, 0xcf, 0xd5, 0x2b, 0x33, 0x2a, 0x4a,
|
||
|
0xac, 0xd4, 0x4b, 0xce, 0x2f, 0x4a, 0xd5, 0x4b, 0xce, 0xcf, 0xcd, 0xcd, 0xcf, 0xd3, 0xcb, 0x4b,
|
||
|
0x2d, 0x51, 0xd2, 0xe7, 0xe2, 0x0c, 0xc8, 0x2f, 0x2a, 0x09, 0x4a, 0xcc, 0x4b, 0x4f, 0x15, 0x12,
|
||
|
0xe2, 0x62, 0x71, 0x2b, 0xca, 0xcf, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0d, 0x62, 0x49, 0x2b,
|
||
|
0xca, 0xcf, 0x15, 0xe2, 0xe3, 0x62, 0x0a, 0xc9, 0x97, 0x60, 0x02, 0x8b, 0x30, 0x95, 0xe4, 0x3b,
|
||
|
0xb1, 0x46, 0x31, 0xe7, 0xa5, 0x96, 0x24, 0xb1, 0x81, 0x4d, 0x36, 0x06, 0x04, 0x00, 0x00, 0xff,
|
||
|
0xff, 0xd4, 0x6d, 0x95, 0xa8, 0x67, 0x00, 0x00, 0x00,
|
||
|
}
|