123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.26.0
- // protoc v3.14.0
- // source: nebula.proto
- package nebula
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type NebulaMeta_MessageType int32
- const (
- NebulaMeta_None NebulaMeta_MessageType = 0
- NebulaMeta_HostQuery NebulaMeta_MessageType = 1
- NebulaMeta_HostQueryReply NebulaMeta_MessageType = 2
- NebulaMeta_HostUpdateNotification NebulaMeta_MessageType = 3
- NebulaMeta_HostMovedNotification NebulaMeta_MessageType = 4
- NebulaMeta_HostPunchNotification NebulaMeta_MessageType = 5
- NebulaMeta_HostWhoami NebulaMeta_MessageType = 6
- NebulaMeta_HostWhoamiReply NebulaMeta_MessageType = 7
- NebulaMeta_PathCheck NebulaMeta_MessageType = 8
- NebulaMeta_PathCheckReply NebulaMeta_MessageType = 9
- )
- // Enum value maps for NebulaMeta_MessageType.
- var (
- NebulaMeta_MessageType_name = map[int32]string{
- 0: "None",
- 1: "HostQuery",
- 2: "HostQueryReply",
- 3: "HostUpdateNotification",
- 4: "HostMovedNotification",
- 5: "HostPunchNotification",
- 6: "HostWhoami",
- 7: "HostWhoamiReply",
- 8: "PathCheck",
- 9: "PathCheckReply",
- }
- NebulaMeta_MessageType_value = map[string]int32{
- "None": 0,
- "HostQuery": 1,
- "HostQueryReply": 2,
- "HostUpdateNotification": 3,
- "HostMovedNotification": 4,
- "HostPunchNotification": 5,
- "HostWhoami": 6,
- "HostWhoamiReply": 7,
- "PathCheck": 8,
- "PathCheckReply": 9,
- }
- )
- func (x NebulaMeta_MessageType) Enum() *NebulaMeta_MessageType {
- p := new(NebulaMeta_MessageType)
- *p = x
- return p
- }
- func (x NebulaMeta_MessageType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (NebulaMeta_MessageType) Descriptor() protoreflect.EnumDescriptor {
- return file_nebula_proto_enumTypes[0].Descriptor()
- }
- func (NebulaMeta_MessageType) Type() protoreflect.EnumType {
- return &file_nebula_proto_enumTypes[0]
- }
- func (x NebulaMeta_MessageType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use NebulaMeta_MessageType.Descriptor instead.
- func (NebulaMeta_MessageType) EnumDescriptor() ([]byte, []int) {
- return file_nebula_proto_rawDescGZIP(), []int{0, 0}
- }
- type NebulaPing_MessageType int32
- const (
- NebulaPing_Ping NebulaPing_MessageType = 0
- NebulaPing_Reply NebulaPing_MessageType = 1
- )
- // Enum value maps for NebulaPing_MessageType.
- var (
- NebulaPing_MessageType_name = map[int32]string{
- 0: "Ping",
- 1: "Reply",
- }
- NebulaPing_MessageType_value = map[string]int32{
- "Ping": 0,
- "Reply": 1,
- }
- )
- func (x NebulaPing_MessageType) Enum() *NebulaPing_MessageType {
- p := new(NebulaPing_MessageType)
- *p = x
- return p
- }
- func (x NebulaPing_MessageType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (NebulaPing_MessageType) Descriptor() protoreflect.EnumDescriptor {
- return file_nebula_proto_enumTypes[1].Descriptor()
- }
- func (NebulaPing_MessageType) Type() protoreflect.EnumType {
- return &file_nebula_proto_enumTypes[1]
- }
- func (x NebulaPing_MessageType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use NebulaPing_MessageType.Descriptor instead.
- func (NebulaPing_MessageType) EnumDescriptor() ([]byte, []int) {
- return file_nebula_proto_rawDescGZIP(), []int{4, 0}
- }
- type NebulaMeta struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Type NebulaMeta_MessageType `protobuf:"varint,1,opt,name=Type,proto3,enum=nebula.NebulaMeta_MessageType" json:"Type,omitempty"`
- Details *NebulaMetaDetails `protobuf:"bytes,2,opt,name=Details,proto3" json:"Details,omitempty"`
- }
- func (x *NebulaMeta) Reset() {
- *x = NebulaMeta{}
- if protoimpl.UnsafeEnabled {
- mi := &file_nebula_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NebulaMeta) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NebulaMeta) ProtoMessage() {}
- func (x *NebulaMeta) ProtoReflect() protoreflect.Message {
- mi := &file_nebula_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use NebulaMeta.ProtoReflect.Descriptor instead.
- func (*NebulaMeta) Descriptor() ([]byte, []int) {
- return file_nebula_proto_rawDescGZIP(), []int{0}
- }
- func (x *NebulaMeta) GetType() NebulaMeta_MessageType {
- if x != nil {
- return x.Type
- }
- return NebulaMeta_None
- }
- func (x *NebulaMeta) GetDetails() *NebulaMetaDetails {
- if x != nil {
- return x.Details
- }
- return nil
- }
- type NebulaMetaDetails struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- VpnIp uint32 `protobuf:"varint,1,opt,name=VpnIp,proto3" json:"VpnIp,omitempty"`
- IpAndPorts []*IpAndPort `protobuf:"bytes,2,rep,name=IpAndPorts,proto3" json:"IpAndPorts,omitempty"`
- Ip6AndPorts []*Ip6AndPort `protobuf:"bytes,4,rep,name=Ip6AndPorts,proto3" json:"Ip6AndPorts,omitempty"`
- Counter uint32 `protobuf:"varint,3,opt,name=counter,proto3" json:"counter,omitempty"`
- }
- func (x *NebulaMetaDetails) Reset() {
- *x = NebulaMetaDetails{}
- if protoimpl.UnsafeEnabled {
- mi := &file_nebula_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NebulaMetaDetails) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NebulaMetaDetails) ProtoMessage() {}
- func (x *NebulaMetaDetails) ProtoReflect() protoreflect.Message {
- mi := &file_nebula_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use NebulaMetaDetails.ProtoReflect.Descriptor instead.
- func (*NebulaMetaDetails) Descriptor() ([]byte, []int) {
- return file_nebula_proto_rawDescGZIP(), []int{1}
- }
- func (x *NebulaMetaDetails) GetVpnIp() uint32 {
- if x != nil {
- return x.VpnIp
- }
- return 0
- }
- func (x *NebulaMetaDetails) GetIpAndPorts() []*IpAndPort {
- if x != nil {
- return x.IpAndPorts
- }
- return nil
- }
- func (x *NebulaMetaDetails) GetIp6AndPorts() []*Ip6AndPort {
- if x != nil {
- return x.Ip6AndPorts
- }
- return nil
- }
- func (x *NebulaMetaDetails) GetCounter() uint32 {
- if x != nil {
- return x.Counter
- }
- return 0
- }
- type IpAndPort struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Ip uint32 `protobuf:"varint,1,opt,name=Ip,proto3" json:"Ip,omitempty"`
- Port uint32 `protobuf:"varint,2,opt,name=Port,proto3" json:"Port,omitempty"`
- }
- func (x *IpAndPort) Reset() {
- *x = IpAndPort{}
- if protoimpl.UnsafeEnabled {
- mi := &file_nebula_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *IpAndPort) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*IpAndPort) ProtoMessage() {}
- func (x *IpAndPort) ProtoReflect() protoreflect.Message {
- mi := &file_nebula_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use IpAndPort.ProtoReflect.Descriptor instead.
- func (*IpAndPort) Descriptor() ([]byte, []int) {
- return file_nebula_proto_rawDescGZIP(), []int{2}
- }
- func (x *IpAndPort) GetIp() uint32 {
- if x != nil {
- return x.Ip
- }
- return 0
- }
- func (x *IpAndPort) GetPort() uint32 {
- if x != nil {
- return x.Port
- }
- return 0
- }
- type Ip6AndPort struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Ip []byte `protobuf:"bytes,1,opt,name=Ip,proto3" json:"Ip,omitempty"`
- Port uint32 `protobuf:"varint,2,opt,name=Port,proto3" json:"Port,omitempty"`
- }
- func (x *Ip6AndPort) Reset() {
- *x = Ip6AndPort{}
- if protoimpl.UnsafeEnabled {
- mi := &file_nebula_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Ip6AndPort) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Ip6AndPort) ProtoMessage() {}
- func (x *Ip6AndPort) ProtoReflect() protoreflect.Message {
- mi := &file_nebula_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Ip6AndPort.ProtoReflect.Descriptor instead.
- func (*Ip6AndPort) Descriptor() ([]byte, []int) {
- return file_nebula_proto_rawDescGZIP(), []int{3}
- }
- func (x *Ip6AndPort) GetIp() []byte {
- if x != nil {
- return x.Ip
- }
- return nil
- }
- func (x *Ip6AndPort) GetPort() uint32 {
- if x != nil {
- return x.Port
- }
- return 0
- }
- type NebulaPing struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Type NebulaPing_MessageType `protobuf:"varint,1,opt,name=Type,proto3,enum=nebula.NebulaPing_MessageType" json:"Type,omitempty"`
- Time uint64 `protobuf:"varint,2,opt,name=Time,proto3" json:"Time,omitempty"`
- }
- func (x *NebulaPing) Reset() {
- *x = NebulaPing{}
- if protoimpl.UnsafeEnabled {
- mi := &file_nebula_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NebulaPing) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NebulaPing) ProtoMessage() {}
- func (x *NebulaPing) ProtoReflect() protoreflect.Message {
- mi := &file_nebula_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use NebulaPing.ProtoReflect.Descriptor instead.
- func (*NebulaPing) Descriptor() ([]byte, []int) {
- return file_nebula_proto_rawDescGZIP(), []int{4}
- }
- func (x *NebulaPing) GetType() NebulaPing_MessageType {
- if x != nil {
- return x.Type
- }
- return NebulaPing_Ping
- }
- func (x *NebulaPing) GetTime() uint64 {
- if x != nil {
- return x.Time
- }
- return 0
- }
- type NebulaHandshake struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Details *NebulaHandshakeDetails `protobuf:"bytes,1,opt,name=Details,proto3" json:"Details,omitempty"`
- Hmac []byte `protobuf:"bytes,2,opt,name=Hmac,proto3" json:"Hmac,omitempty"`
- }
- func (x *NebulaHandshake) Reset() {
- *x = NebulaHandshake{}
- if protoimpl.UnsafeEnabled {
- mi := &file_nebula_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NebulaHandshake) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NebulaHandshake) ProtoMessage() {}
- func (x *NebulaHandshake) ProtoReflect() protoreflect.Message {
- mi := &file_nebula_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use NebulaHandshake.ProtoReflect.Descriptor instead.
- func (*NebulaHandshake) Descriptor() ([]byte, []int) {
- return file_nebula_proto_rawDescGZIP(), []int{5}
- }
- func (x *NebulaHandshake) GetDetails() *NebulaHandshakeDetails {
- if x != nil {
- return x.Details
- }
- return nil
- }
- func (x *NebulaHandshake) GetHmac() []byte {
- if x != nil {
- return x.Hmac
- }
- return nil
- }
- type NebulaHandshakeDetails struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Cert []byte `protobuf:"bytes,1,opt,name=Cert,proto3" json:"Cert,omitempty"`
- InitiatorIndex uint32 `protobuf:"varint,2,opt,name=InitiatorIndex,proto3" json:"InitiatorIndex,omitempty"`
- ResponderIndex uint32 `protobuf:"varint,3,opt,name=ResponderIndex,proto3" json:"ResponderIndex,omitempty"`
- Cookie uint64 `protobuf:"varint,4,opt,name=Cookie,proto3" json:"Cookie,omitempty"`
- Time uint64 `protobuf:"varint,5,opt,name=Time,proto3" json:"Time,omitempty"`
- }
- func (x *NebulaHandshakeDetails) Reset() {
- *x = NebulaHandshakeDetails{}
- if protoimpl.UnsafeEnabled {
- mi := &file_nebula_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NebulaHandshakeDetails) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NebulaHandshakeDetails) ProtoMessage() {}
- func (x *NebulaHandshakeDetails) ProtoReflect() protoreflect.Message {
- mi := &file_nebula_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use NebulaHandshakeDetails.ProtoReflect.Descriptor instead.
- func (*NebulaHandshakeDetails) Descriptor() ([]byte, []int) {
- return file_nebula_proto_rawDescGZIP(), []int{6}
- }
- func (x *NebulaHandshakeDetails) GetCert() []byte {
- if x != nil {
- return x.Cert
- }
- return nil
- }
- func (x *NebulaHandshakeDetails) GetInitiatorIndex() uint32 {
- if x != nil {
- return x.InitiatorIndex
- }
- return 0
- }
- func (x *NebulaHandshakeDetails) GetResponderIndex() uint32 {
- if x != nil {
- return x.ResponderIndex
- }
- return 0
- }
- func (x *NebulaHandshakeDetails) GetCookie() uint64 {
- if x != nil {
- return x.Cookie
- }
- return 0
- }
- func (x *NebulaHandshakeDetails) GetTime() uint64 {
- if x != nil {
- return x.Time
- }
- return 0
- }
- var File_nebula_proto protoreflect.FileDescriptor
- var file_nebula_proto_rawDesc = []byte{
- 0x0a, 0x0c, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06,
- 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x22, 0xcc, 0x02, 0x0a, 0x0a, 0x4e, 0x65, 0x62, 0x75, 0x6c,
- 0x61, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x32, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x4e, 0x65, 0x62,
- 0x75, 0x6c, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
- 0x79, 0x70, 0x65, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x44, 0x65, 0x74,
- 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x65, 0x62,
- 0x75, 0x6c, 0x61, 0x2e, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x44, 0x65,
- 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0xd4,
- 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08,
- 0x0a, 0x04, 0x4e, 0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x48, 0x6f, 0x73, 0x74,
- 0x51, 0x75, 0x65, 0x72, 0x79, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x48, 0x6f, 0x73, 0x74, 0x51,
- 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x48,
- 0x6f, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x48, 0x6f, 0x73, 0x74, 0x4d,
- 0x6f, 0x76, 0x65, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x48, 0x6f, 0x73, 0x74, 0x50, 0x75, 0x6e, 0x63, 0x68, 0x4e,
- 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x05, 0x12, 0x0e, 0x0a,
- 0x0a, 0x48, 0x6f, 0x73, 0x74, 0x57, 0x68, 0x6f, 0x61, 0x6d, 0x69, 0x10, 0x06, 0x12, 0x13, 0x0a,
- 0x0f, 0x48, 0x6f, 0x73, 0x74, 0x57, 0x68, 0x6f, 0x61, 0x6d, 0x69, 0x52, 0x65, 0x70, 0x6c, 0x79,
- 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x61, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x10,
- 0x08, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65,
- 0x70, 0x6c, 0x79, 0x10, 0x09, 0x22, 0xac, 0x01, 0x0a, 0x11, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61,
- 0x4d, 0x65, 0x74, 0x61, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x56,
- 0x70, 0x6e, 0x49, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x56, 0x70, 0x6e, 0x49,
- 0x70, 0x12, 0x31, 0x0a, 0x0a, 0x49, 0x70, 0x41, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x18,
- 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x49,
- 0x70, 0x41, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x0a, 0x49, 0x70, 0x41, 0x6e, 0x64, 0x50,
- 0x6f, 0x72, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x0b, 0x49, 0x70, 0x36, 0x41, 0x6e, 0x64, 0x50, 0x6f,
- 0x72, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6e, 0x65, 0x62, 0x75,
- 0x6c, 0x61, 0x2e, 0x49, 0x70, 0x36, 0x41, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x0b, 0x49,
- 0x70, 0x36, 0x41, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f,
- 0x75, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x63, 0x6f, 0x75,
- 0x6e, 0x74, 0x65, 0x72, 0x22, 0x2f, 0x0a, 0x09, 0x49, 0x70, 0x41, 0x6e, 0x64, 0x50, 0x6f, 0x72,
- 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x49,
- 0x70, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
- 0x04, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x30, 0x0a, 0x0a, 0x49, 0x70, 0x36, 0x41, 0x6e, 0x64, 0x50,
- 0x6f, 0x72, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
- 0x02, 0x49, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0d, 0x52, 0x04, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x78, 0x0a, 0x0a, 0x4e, 0x65, 0x62, 0x75, 0x6c,
- 0x61, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x32, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x4e, 0x65, 0x62,
- 0x75, 0x6c, 0x61, 0x50, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
- 0x79, 0x70, 0x65, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x69, 0x6d,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x22, 0x0a,
- 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04,
- 0x50, 0x69, 0x6e, 0x67, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x10,
- 0x01, 0x22, 0x5f, 0x0a, 0x0f, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x48, 0x61, 0x6e, 0x64, 0x73,
- 0x68, 0x61, 0x6b, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x4e,
- 0x65, 0x62, 0x75, 0x6c, 0x61, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x44, 0x65,
- 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x12,
- 0x0a, 0x04, 0x48, 0x6d, 0x61, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x48, 0x6d,
- 0x61, 0x63, 0x22, 0xa8, 0x01, 0x0a, 0x16, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x48, 0x61, 0x6e,
- 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x12, 0x0a,
- 0x04, 0x43, 0x65, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x43, 0x65, 0x72,
- 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e,
- 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x49, 0x6e, 0x69, 0x74, 0x69,
- 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0e, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x0d, 0x52, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x64, 0x65,
- 0x78, 0x12, 0x16, 0x0a, 0x06, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x04, 0x52, 0x06, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x69, 0x6d,
- 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x1b, 0x5a,
- 0x19, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6c, 0x61, 0x63,
- 0x6b, 0x68, 0x71, 0x2f, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x33,
- }
- var (
- file_nebula_proto_rawDescOnce sync.Once
- file_nebula_proto_rawDescData = file_nebula_proto_rawDesc
- )
- func file_nebula_proto_rawDescGZIP() []byte {
- file_nebula_proto_rawDescOnce.Do(func() {
- file_nebula_proto_rawDescData = protoimpl.X.CompressGZIP(file_nebula_proto_rawDescData)
- })
- return file_nebula_proto_rawDescData
- }
- var file_nebula_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
- var file_nebula_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
- var file_nebula_proto_goTypes = []interface{}{
- (NebulaMeta_MessageType)(0), // 0: nebula.NebulaMeta.MessageType
- (NebulaPing_MessageType)(0), // 1: nebula.NebulaPing.MessageType
- (*NebulaMeta)(nil), // 2: nebula.NebulaMeta
- (*NebulaMetaDetails)(nil), // 3: nebula.NebulaMetaDetails
- (*IpAndPort)(nil), // 4: nebula.IpAndPort
- (*Ip6AndPort)(nil), // 5: nebula.Ip6AndPort
- (*NebulaPing)(nil), // 6: nebula.NebulaPing
- (*NebulaHandshake)(nil), // 7: nebula.NebulaHandshake
- (*NebulaHandshakeDetails)(nil), // 8: nebula.NebulaHandshakeDetails
- }
- var file_nebula_proto_depIdxs = []int32{
- 0, // 0: nebula.NebulaMeta.Type:type_name -> nebula.NebulaMeta.MessageType
- 3, // 1: nebula.NebulaMeta.Details:type_name -> nebula.NebulaMetaDetails
- 4, // 2: nebula.NebulaMetaDetails.IpAndPorts:type_name -> nebula.IpAndPort
- 5, // 3: nebula.NebulaMetaDetails.Ip6AndPorts:type_name -> nebula.Ip6AndPort
- 1, // 4: nebula.NebulaPing.Type:type_name -> nebula.NebulaPing.MessageType
- 8, // 5: nebula.NebulaHandshake.Details:type_name -> nebula.NebulaHandshakeDetails
- 6, // [6:6] is the sub-list for method output_type
- 6, // [6:6] is the sub-list for method input_type
- 6, // [6:6] is the sub-list for extension type_name
- 6, // [6:6] is the sub-list for extension extendee
- 0, // [0:6] is the sub-list for field type_name
- }
- func init() { file_nebula_proto_init() }
- func file_nebula_proto_init() {
- if File_nebula_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_nebula_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NebulaMeta); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_nebula_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NebulaMetaDetails); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_nebula_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*IpAndPort); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_nebula_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Ip6AndPort); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_nebula_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NebulaPing); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_nebula_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NebulaHandshake); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_nebula_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NebulaHandshakeDetails); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_nebula_proto_rawDesc,
- NumEnums: 2,
- NumMessages: 7,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_nebula_proto_goTypes,
- DependencyIndexes: file_nebula_proto_depIdxs,
- EnumInfos: file_nebula_proto_enumTypes,
- MessageInfos: file_nebula_proto_msgTypes,
- }.Build()
- File_nebula_proto = out.File
- file_nebula_proto_rawDesc = nil
- file_nebula_proto_goTypes = nil
- file_nebula_proto_depIdxs = nil
- }
|