Darien Raymond 7 éve
szülő
commit
47337d6496

+ 12 - 0
transport/internet/udp/config.go

@@ -0,0 +1,12 @@
+package udp
+
+import (
+	"v2ray.com/core/common"
+	"v2ray.com/core/transport/internet"
+)
+
+func init() {
+	common.Must(internet.RegisterProtocolConfigCreatorByName(protocolName, func() interface{} {
+		return new(Config)
+	}))
+}

+ 67 - 0
transport/internet/udp/config.pb.go

@@ -0,0 +1,67 @@
+package udp
+
+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
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+
+type Config struct {
+	XXX_NoUnkeyedLiteral struct{} `json:"-"`
+	XXX_unrecognized     []byte   `json:"-"`
+	XXX_sizecache        int32    `json:"-"`
+}
+
+func (m *Config) Reset()         { *m = Config{} }
+func (m *Config) String() string { return proto.CompactTextString(m) }
+func (*Config) ProtoMessage()    {}
+func (*Config) Descriptor() ([]byte, []int) {
+	return fileDescriptor_24b1bb4dd7adcb36, []int{0}
+}
+func (m *Config) XXX_Unmarshal(b []byte) error {
+	return xxx_messageInfo_Config.Unmarshal(m, b)
+}
+func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	return xxx_messageInfo_Config.Marshal(b, m, deterministic)
+}
+func (m *Config) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_Config.Merge(m, src)
+}
+func (m *Config) XXX_Size() int {
+	return xxx_messageInfo_Config.Size(m)
+}
+func (m *Config) XXX_DiscardUnknown() {
+	xxx_messageInfo_Config.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Config proto.InternalMessageInfo
+
+func init() {
+	proto.RegisterType((*Config)(nil), "v2ray.core.transport.internet.udp.Config")
+}
+
+func init() {
+	proto.RegisterFile("v2ray.com/core/transport/internet/udp/config.proto", fileDescriptor_24b1bb4dd7adcb36)
+}
+
+var fileDescriptor_24b1bb4dd7adcb36 = []byte{
+	// 143 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x2a, 0x33, 0x2a, 0x4a,
+	0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0x29, 0x4a, 0xcc, 0x2b,
+	0x2e, 0xc8, 0x2f, 0x2a, 0xd1, 0xcf, 0xcc, 0x2b, 0x49, 0x2d, 0xca, 0x4b, 0x2d, 0xd1, 0x2f, 0x4d,
+	0x29, 0xd0, 0x4f, 0xce, 0xcf, 0x4b, 0xcb, 0x4c, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52,
+	0x84, 0xe9, 0x29, 0x4a, 0xd5, 0x83, 0xab, 0xd7, 0x83, 0xa9, 0xd7, 0x2b, 0x4d, 0x29, 0x50, 0xe2,
+	0xe0, 0x62, 0x73, 0x06, 0x6b, 0x71, 0x0a, 0xe2, 0x52, 0x4d, 0xce, 0xcf, 0xd5, 0x23, 0xa8, 0x25,
+	0x80, 0x31, 0x8a, 0xb9, 0x34, 0xa5, 0x60, 0x15, 0x93, 0x62, 0x98, 0x51, 0x50, 0x62, 0xa5, 0x9e,
+	0x33, 0x48, 0x69, 0x08, 0x5c, 0xa9, 0x27, 0x4c, 0x69, 0x68, 0x4a, 0x41, 0x12, 0x1b, 0xd8, 0x1d,
+	0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xca, 0x60, 0x88, 0xfb, 0xbd, 0x00, 0x00, 0x00,
+}

+ 10 - 0
transport/internet/udp/config.proto

@@ -0,0 +1,10 @@
+syntax = "proto3";
+
+package v2ray.core.transport.internet.udp;
+option csharp_namespace = "V2Ray.Core.Transport.Internet.Udp";
+option go_package = "udp";
+option java_package = "com.v2ray.core.transport.internet.udp";
+option java_multiple_files = true;
+
+message Config {
+}