nebula.pb.go 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0
  4. // protoc v3.14.0
  5. // source: nebula.proto
  6. package nebula
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type NebulaMeta_MessageType int32
  20. const (
  21. NebulaMeta_None NebulaMeta_MessageType = 0
  22. NebulaMeta_HostQuery NebulaMeta_MessageType = 1
  23. NebulaMeta_HostQueryReply NebulaMeta_MessageType = 2
  24. NebulaMeta_HostUpdateNotification NebulaMeta_MessageType = 3
  25. NebulaMeta_HostMovedNotification NebulaMeta_MessageType = 4
  26. NebulaMeta_HostPunchNotification NebulaMeta_MessageType = 5
  27. NebulaMeta_HostWhoami NebulaMeta_MessageType = 6
  28. NebulaMeta_HostWhoamiReply NebulaMeta_MessageType = 7
  29. NebulaMeta_PathCheck NebulaMeta_MessageType = 8
  30. NebulaMeta_PathCheckReply NebulaMeta_MessageType = 9
  31. )
  32. // Enum value maps for NebulaMeta_MessageType.
  33. var (
  34. NebulaMeta_MessageType_name = map[int32]string{
  35. 0: "None",
  36. 1: "HostQuery",
  37. 2: "HostQueryReply",
  38. 3: "HostUpdateNotification",
  39. 4: "HostMovedNotification",
  40. 5: "HostPunchNotification",
  41. 6: "HostWhoami",
  42. 7: "HostWhoamiReply",
  43. 8: "PathCheck",
  44. 9: "PathCheckReply",
  45. }
  46. NebulaMeta_MessageType_value = map[string]int32{
  47. "None": 0,
  48. "HostQuery": 1,
  49. "HostQueryReply": 2,
  50. "HostUpdateNotification": 3,
  51. "HostMovedNotification": 4,
  52. "HostPunchNotification": 5,
  53. "HostWhoami": 6,
  54. "HostWhoamiReply": 7,
  55. "PathCheck": 8,
  56. "PathCheckReply": 9,
  57. }
  58. )
  59. func (x NebulaMeta_MessageType) Enum() *NebulaMeta_MessageType {
  60. p := new(NebulaMeta_MessageType)
  61. *p = x
  62. return p
  63. }
  64. func (x NebulaMeta_MessageType) String() string {
  65. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  66. }
  67. func (NebulaMeta_MessageType) Descriptor() protoreflect.EnumDescriptor {
  68. return file_nebula_proto_enumTypes[0].Descriptor()
  69. }
  70. func (NebulaMeta_MessageType) Type() protoreflect.EnumType {
  71. return &file_nebula_proto_enumTypes[0]
  72. }
  73. func (x NebulaMeta_MessageType) Number() protoreflect.EnumNumber {
  74. return protoreflect.EnumNumber(x)
  75. }
  76. // Deprecated: Use NebulaMeta_MessageType.Descriptor instead.
  77. func (NebulaMeta_MessageType) EnumDescriptor() ([]byte, []int) {
  78. return file_nebula_proto_rawDescGZIP(), []int{0, 0}
  79. }
  80. type NebulaPing_MessageType int32
  81. const (
  82. NebulaPing_Ping NebulaPing_MessageType = 0
  83. NebulaPing_Reply NebulaPing_MessageType = 1
  84. )
  85. // Enum value maps for NebulaPing_MessageType.
  86. var (
  87. NebulaPing_MessageType_name = map[int32]string{
  88. 0: "Ping",
  89. 1: "Reply",
  90. }
  91. NebulaPing_MessageType_value = map[string]int32{
  92. "Ping": 0,
  93. "Reply": 1,
  94. }
  95. )
  96. func (x NebulaPing_MessageType) Enum() *NebulaPing_MessageType {
  97. p := new(NebulaPing_MessageType)
  98. *p = x
  99. return p
  100. }
  101. func (x NebulaPing_MessageType) String() string {
  102. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  103. }
  104. func (NebulaPing_MessageType) Descriptor() protoreflect.EnumDescriptor {
  105. return file_nebula_proto_enumTypes[1].Descriptor()
  106. }
  107. func (NebulaPing_MessageType) Type() protoreflect.EnumType {
  108. return &file_nebula_proto_enumTypes[1]
  109. }
  110. func (x NebulaPing_MessageType) Number() protoreflect.EnumNumber {
  111. return protoreflect.EnumNumber(x)
  112. }
  113. // Deprecated: Use NebulaPing_MessageType.Descriptor instead.
  114. func (NebulaPing_MessageType) EnumDescriptor() ([]byte, []int) {
  115. return file_nebula_proto_rawDescGZIP(), []int{4, 0}
  116. }
  117. type NebulaMeta struct {
  118. state protoimpl.MessageState
  119. sizeCache protoimpl.SizeCache
  120. unknownFields protoimpl.UnknownFields
  121. Type NebulaMeta_MessageType `protobuf:"varint,1,opt,name=Type,proto3,enum=nebula.NebulaMeta_MessageType" json:"Type,omitempty"`
  122. Details *NebulaMetaDetails `protobuf:"bytes,2,opt,name=Details,proto3" json:"Details,omitempty"`
  123. }
  124. func (x *NebulaMeta) Reset() {
  125. *x = NebulaMeta{}
  126. if protoimpl.UnsafeEnabled {
  127. mi := &file_nebula_proto_msgTypes[0]
  128. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  129. ms.StoreMessageInfo(mi)
  130. }
  131. }
  132. func (x *NebulaMeta) String() string {
  133. return protoimpl.X.MessageStringOf(x)
  134. }
  135. func (*NebulaMeta) ProtoMessage() {}
  136. func (x *NebulaMeta) ProtoReflect() protoreflect.Message {
  137. mi := &file_nebula_proto_msgTypes[0]
  138. if protoimpl.UnsafeEnabled && x != nil {
  139. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  140. if ms.LoadMessageInfo() == nil {
  141. ms.StoreMessageInfo(mi)
  142. }
  143. return ms
  144. }
  145. return mi.MessageOf(x)
  146. }
  147. // Deprecated: Use NebulaMeta.ProtoReflect.Descriptor instead.
  148. func (*NebulaMeta) Descriptor() ([]byte, []int) {
  149. return file_nebula_proto_rawDescGZIP(), []int{0}
  150. }
  151. func (x *NebulaMeta) GetType() NebulaMeta_MessageType {
  152. if x != nil {
  153. return x.Type
  154. }
  155. return NebulaMeta_None
  156. }
  157. func (x *NebulaMeta) GetDetails() *NebulaMetaDetails {
  158. if x != nil {
  159. return x.Details
  160. }
  161. return nil
  162. }
  163. type NebulaMetaDetails struct {
  164. state protoimpl.MessageState
  165. sizeCache protoimpl.SizeCache
  166. unknownFields protoimpl.UnknownFields
  167. VpnIp uint32 `protobuf:"varint,1,opt,name=VpnIp,proto3" json:"VpnIp,omitempty"`
  168. IpAndPorts []*IpAndPort `protobuf:"bytes,2,rep,name=IpAndPorts,proto3" json:"IpAndPorts,omitempty"`
  169. Ip6AndPorts []*Ip6AndPort `protobuf:"bytes,4,rep,name=Ip6AndPorts,proto3" json:"Ip6AndPorts,omitempty"`
  170. Counter uint32 `protobuf:"varint,3,opt,name=counter,proto3" json:"counter,omitempty"`
  171. }
  172. func (x *NebulaMetaDetails) Reset() {
  173. *x = NebulaMetaDetails{}
  174. if protoimpl.UnsafeEnabled {
  175. mi := &file_nebula_proto_msgTypes[1]
  176. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  177. ms.StoreMessageInfo(mi)
  178. }
  179. }
  180. func (x *NebulaMetaDetails) String() string {
  181. return protoimpl.X.MessageStringOf(x)
  182. }
  183. func (*NebulaMetaDetails) ProtoMessage() {}
  184. func (x *NebulaMetaDetails) ProtoReflect() protoreflect.Message {
  185. mi := &file_nebula_proto_msgTypes[1]
  186. if protoimpl.UnsafeEnabled && x != nil {
  187. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  188. if ms.LoadMessageInfo() == nil {
  189. ms.StoreMessageInfo(mi)
  190. }
  191. return ms
  192. }
  193. return mi.MessageOf(x)
  194. }
  195. // Deprecated: Use NebulaMetaDetails.ProtoReflect.Descriptor instead.
  196. func (*NebulaMetaDetails) Descriptor() ([]byte, []int) {
  197. return file_nebula_proto_rawDescGZIP(), []int{1}
  198. }
  199. func (x *NebulaMetaDetails) GetVpnIp() uint32 {
  200. if x != nil {
  201. return x.VpnIp
  202. }
  203. return 0
  204. }
  205. func (x *NebulaMetaDetails) GetIpAndPorts() []*IpAndPort {
  206. if x != nil {
  207. return x.IpAndPorts
  208. }
  209. return nil
  210. }
  211. func (x *NebulaMetaDetails) GetIp6AndPorts() []*Ip6AndPort {
  212. if x != nil {
  213. return x.Ip6AndPorts
  214. }
  215. return nil
  216. }
  217. func (x *NebulaMetaDetails) GetCounter() uint32 {
  218. if x != nil {
  219. return x.Counter
  220. }
  221. return 0
  222. }
  223. type IpAndPort struct {
  224. state protoimpl.MessageState
  225. sizeCache protoimpl.SizeCache
  226. unknownFields protoimpl.UnknownFields
  227. Ip uint32 `protobuf:"varint,1,opt,name=Ip,proto3" json:"Ip,omitempty"`
  228. Port uint32 `protobuf:"varint,2,opt,name=Port,proto3" json:"Port,omitempty"`
  229. }
  230. func (x *IpAndPort) Reset() {
  231. *x = IpAndPort{}
  232. if protoimpl.UnsafeEnabled {
  233. mi := &file_nebula_proto_msgTypes[2]
  234. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  235. ms.StoreMessageInfo(mi)
  236. }
  237. }
  238. func (x *IpAndPort) String() string {
  239. return protoimpl.X.MessageStringOf(x)
  240. }
  241. func (*IpAndPort) ProtoMessage() {}
  242. func (x *IpAndPort) ProtoReflect() protoreflect.Message {
  243. mi := &file_nebula_proto_msgTypes[2]
  244. if protoimpl.UnsafeEnabled && x != nil {
  245. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  246. if ms.LoadMessageInfo() == nil {
  247. ms.StoreMessageInfo(mi)
  248. }
  249. return ms
  250. }
  251. return mi.MessageOf(x)
  252. }
  253. // Deprecated: Use IpAndPort.ProtoReflect.Descriptor instead.
  254. func (*IpAndPort) Descriptor() ([]byte, []int) {
  255. return file_nebula_proto_rawDescGZIP(), []int{2}
  256. }
  257. func (x *IpAndPort) GetIp() uint32 {
  258. if x != nil {
  259. return x.Ip
  260. }
  261. return 0
  262. }
  263. func (x *IpAndPort) GetPort() uint32 {
  264. if x != nil {
  265. return x.Port
  266. }
  267. return 0
  268. }
  269. type Ip6AndPort struct {
  270. state protoimpl.MessageState
  271. sizeCache protoimpl.SizeCache
  272. unknownFields protoimpl.UnknownFields
  273. Ip []byte `protobuf:"bytes,1,opt,name=Ip,proto3" json:"Ip,omitempty"`
  274. Port uint32 `protobuf:"varint,2,opt,name=Port,proto3" json:"Port,omitempty"`
  275. }
  276. func (x *Ip6AndPort) Reset() {
  277. *x = Ip6AndPort{}
  278. if protoimpl.UnsafeEnabled {
  279. mi := &file_nebula_proto_msgTypes[3]
  280. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  281. ms.StoreMessageInfo(mi)
  282. }
  283. }
  284. func (x *Ip6AndPort) String() string {
  285. return protoimpl.X.MessageStringOf(x)
  286. }
  287. func (*Ip6AndPort) ProtoMessage() {}
  288. func (x *Ip6AndPort) ProtoReflect() protoreflect.Message {
  289. mi := &file_nebula_proto_msgTypes[3]
  290. if protoimpl.UnsafeEnabled && x != nil {
  291. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  292. if ms.LoadMessageInfo() == nil {
  293. ms.StoreMessageInfo(mi)
  294. }
  295. return ms
  296. }
  297. return mi.MessageOf(x)
  298. }
  299. // Deprecated: Use Ip6AndPort.ProtoReflect.Descriptor instead.
  300. func (*Ip6AndPort) Descriptor() ([]byte, []int) {
  301. return file_nebula_proto_rawDescGZIP(), []int{3}
  302. }
  303. func (x *Ip6AndPort) GetIp() []byte {
  304. if x != nil {
  305. return x.Ip
  306. }
  307. return nil
  308. }
  309. func (x *Ip6AndPort) GetPort() uint32 {
  310. if x != nil {
  311. return x.Port
  312. }
  313. return 0
  314. }
  315. type NebulaPing struct {
  316. state protoimpl.MessageState
  317. sizeCache protoimpl.SizeCache
  318. unknownFields protoimpl.UnknownFields
  319. Type NebulaPing_MessageType `protobuf:"varint,1,opt,name=Type,proto3,enum=nebula.NebulaPing_MessageType" json:"Type,omitempty"`
  320. Time uint64 `protobuf:"varint,2,opt,name=Time,proto3" json:"Time,omitempty"`
  321. }
  322. func (x *NebulaPing) Reset() {
  323. *x = NebulaPing{}
  324. if protoimpl.UnsafeEnabled {
  325. mi := &file_nebula_proto_msgTypes[4]
  326. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  327. ms.StoreMessageInfo(mi)
  328. }
  329. }
  330. func (x *NebulaPing) String() string {
  331. return protoimpl.X.MessageStringOf(x)
  332. }
  333. func (*NebulaPing) ProtoMessage() {}
  334. func (x *NebulaPing) ProtoReflect() protoreflect.Message {
  335. mi := &file_nebula_proto_msgTypes[4]
  336. if protoimpl.UnsafeEnabled && x != nil {
  337. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  338. if ms.LoadMessageInfo() == nil {
  339. ms.StoreMessageInfo(mi)
  340. }
  341. return ms
  342. }
  343. return mi.MessageOf(x)
  344. }
  345. // Deprecated: Use NebulaPing.ProtoReflect.Descriptor instead.
  346. func (*NebulaPing) Descriptor() ([]byte, []int) {
  347. return file_nebula_proto_rawDescGZIP(), []int{4}
  348. }
  349. func (x *NebulaPing) GetType() NebulaPing_MessageType {
  350. if x != nil {
  351. return x.Type
  352. }
  353. return NebulaPing_Ping
  354. }
  355. func (x *NebulaPing) GetTime() uint64 {
  356. if x != nil {
  357. return x.Time
  358. }
  359. return 0
  360. }
  361. type NebulaHandshake struct {
  362. state protoimpl.MessageState
  363. sizeCache protoimpl.SizeCache
  364. unknownFields protoimpl.UnknownFields
  365. Details *NebulaHandshakeDetails `protobuf:"bytes,1,opt,name=Details,proto3" json:"Details,omitempty"`
  366. Hmac []byte `protobuf:"bytes,2,opt,name=Hmac,proto3" json:"Hmac,omitempty"`
  367. }
  368. func (x *NebulaHandshake) Reset() {
  369. *x = NebulaHandshake{}
  370. if protoimpl.UnsafeEnabled {
  371. mi := &file_nebula_proto_msgTypes[5]
  372. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  373. ms.StoreMessageInfo(mi)
  374. }
  375. }
  376. func (x *NebulaHandshake) String() string {
  377. return protoimpl.X.MessageStringOf(x)
  378. }
  379. func (*NebulaHandshake) ProtoMessage() {}
  380. func (x *NebulaHandshake) ProtoReflect() protoreflect.Message {
  381. mi := &file_nebula_proto_msgTypes[5]
  382. if protoimpl.UnsafeEnabled && x != nil {
  383. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  384. if ms.LoadMessageInfo() == nil {
  385. ms.StoreMessageInfo(mi)
  386. }
  387. return ms
  388. }
  389. return mi.MessageOf(x)
  390. }
  391. // Deprecated: Use NebulaHandshake.ProtoReflect.Descriptor instead.
  392. func (*NebulaHandshake) Descriptor() ([]byte, []int) {
  393. return file_nebula_proto_rawDescGZIP(), []int{5}
  394. }
  395. func (x *NebulaHandshake) GetDetails() *NebulaHandshakeDetails {
  396. if x != nil {
  397. return x.Details
  398. }
  399. return nil
  400. }
  401. func (x *NebulaHandshake) GetHmac() []byte {
  402. if x != nil {
  403. return x.Hmac
  404. }
  405. return nil
  406. }
  407. type NebulaHandshakeDetails struct {
  408. state protoimpl.MessageState
  409. sizeCache protoimpl.SizeCache
  410. unknownFields protoimpl.UnknownFields
  411. Cert []byte `protobuf:"bytes,1,opt,name=Cert,proto3" json:"Cert,omitempty"`
  412. InitiatorIndex uint32 `protobuf:"varint,2,opt,name=InitiatorIndex,proto3" json:"InitiatorIndex,omitempty"`
  413. ResponderIndex uint32 `protobuf:"varint,3,opt,name=ResponderIndex,proto3" json:"ResponderIndex,omitempty"`
  414. Cookie uint64 `protobuf:"varint,4,opt,name=Cookie,proto3" json:"Cookie,omitempty"`
  415. Time uint64 `protobuf:"varint,5,opt,name=Time,proto3" json:"Time,omitempty"`
  416. }
  417. func (x *NebulaHandshakeDetails) Reset() {
  418. *x = NebulaHandshakeDetails{}
  419. if protoimpl.UnsafeEnabled {
  420. mi := &file_nebula_proto_msgTypes[6]
  421. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  422. ms.StoreMessageInfo(mi)
  423. }
  424. }
  425. func (x *NebulaHandshakeDetails) String() string {
  426. return protoimpl.X.MessageStringOf(x)
  427. }
  428. func (*NebulaHandshakeDetails) ProtoMessage() {}
  429. func (x *NebulaHandshakeDetails) ProtoReflect() protoreflect.Message {
  430. mi := &file_nebula_proto_msgTypes[6]
  431. if protoimpl.UnsafeEnabled && x != nil {
  432. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  433. if ms.LoadMessageInfo() == nil {
  434. ms.StoreMessageInfo(mi)
  435. }
  436. return ms
  437. }
  438. return mi.MessageOf(x)
  439. }
  440. // Deprecated: Use NebulaHandshakeDetails.ProtoReflect.Descriptor instead.
  441. func (*NebulaHandshakeDetails) Descriptor() ([]byte, []int) {
  442. return file_nebula_proto_rawDescGZIP(), []int{6}
  443. }
  444. func (x *NebulaHandshakeDetails) GetCert() []byte {
  445. if x != nil {
  446. return x.Cert
  447. }
  448. return nil
  449. }
  450. func (x *NebulaHandshakeDetails) GetInitiatorIndex() uint32 {
  451. if x != nil {
  452. return x.InitiatorIndex
  453. }
  454. return 0
  455. }
  456. func (x *NebulaHandshakeDetails) GetResponderIndex() uint32 {
  457. if x != nil {
  458. return x.ResponderIndex
  459. }
  460. return 0
  461. }
  462. func (x *NebulaHandshakeDetails) GetCookie() uint64 {
  463. if x != nil {
  464. return x.Cookie
  465. }
  466. return 0
  467. }
  468. func (x *NebulaHandshakeDetails) GetTime() uint64 {
  469. if x != nil {
  470. return x.Time
  471. }
  472. return 0
  473. }
  474. var File_nebula_proto protoreflect.FileDescriptor
  475. var file_nebula_proto_rawDesc = []byte{
  476. 0x0a, 0x0c, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06,
  477. 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x22, 0xcc, 0x02, 0x0a, 0x0a, 0x4e, 0x65, 0x62, 0x75, 0x6c,
  478. 0x61, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x32, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
  479. 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x4e, 0x65, 0x62,
  480. 0x75, 0x6c, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
  481. 0x79, 0x70, 0x65, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x44, 0x65, 0x74,
  482. 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x65, 0x62,
  483. 0x75, 0x6c, 0x61, 0x2e, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x44, 0x65,
  484. 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0xd4,
  485. 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08,
  486. 0x0a, 0x04, 0x4e, 0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x48, 0x6f, 0x73, 0x74,
  487. 0x51, 0x75, 0x65, 0x72, 0x79, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x48, 0x6f, 0x73, 0x74, 0x51,
  488. 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x48,
  489. 0x6f, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63,
  490. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x48, 0x6f, 0x73, 0x74, 0x4d,
  491. 0x6f, 0x76, 0x65, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  492. 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x48, 0x6f, 0x73, 0x74, 0x50, 0x75, 0x6e, 0x63, 0x68, 0x4e,
  493. 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x05, 0x12, 0x0e, 0x0a,
  494. 0x0a, 0x48, 0x6f, 0x73, 0x74, 0x57, 0x68, 0x6f, 0x61, 0x6d, 0x69, 0x10, 0x06, 0x12, 0x13, 0x0a,
  495. 0x0f, 0x48, 0x6f, 0x73, 0x74, 0x57, 0x68, 0x6f, 0x61, 0x6d, 0x69, 0x52, 0x65, 0x70, 0x6c, 0x79,
  496. 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x61, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x10,
  497. 0x08, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65,
  498. 0x70, 0x6c, 0x79, 0x10, 0x09, 0x22, 0xac, 0x01, 0x0a, 0x11, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61,
  499. 0x4d, 0x65, 0x74, 0x61, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x56,
  500. 0x70, 0x6e, 0x49, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x56, 0x70, 0x6e, 0x49,
  501. 0x70, 0x12, 0x31, 0x0a, 0x0a, 0x49, 0x70, 0x41, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x18,
  502. 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x49,
  503. 0x70, 0x41, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x0a, 0x49, 0x70, 0x41, 0x6e, 0x64, 0x50,
  504. 0x6f, 0x72, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x0b, 0x49, 0x70, 0x36, 0x41, 0x6e, 0x64, 0x50, 0x6f,
  505. 0x72, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6e, 0x65, 0x62, 0x75,
  506. 0x6c, 0x61, 0x2e, 0x49, 0x70, 0x36, 0x41, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x0b, 0x49,
  507. 0x70, 0x36, 0x41, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f,
  508. 0x75, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x63, 0x6f, 0x75,
  509. 0x6e, 0x74, 0x65, 0x72, 0x22, 0x2f, 0x0a, 0x09, 0x49, 0x70, 0x41, 0x6e, 0x64, 0x50, 0x6f, 0x72,
  510. 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x49,
  511. 0x70, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
  512. 0x04, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x30, 0x0a, 0x0a, 0x49, 0x70, 0x36, 0x41, 0x6e, 0x64, 0x50,
  513. 0x6f, 0x72, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
  514. 0x02, 0x49, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
  515. 0x0d, 0x52, 0x04, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x78, 0x0a, 0x0a, 0x4e, 0x65, 0x62, 0x75, 0x6c,
  516. 0x61, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x32, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
  517. 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x4e, 0x65, 0x62,
  518. 0x75, 0x6c, 0x61, 0x50, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
  519. 0x79, 0x70, 0x65, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x69, 0x6d,
  520. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x22, 0x0a,
  521. 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04,
  522. 0x50, 0x69, 0x6e, 0x67, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x10,
  523. 0x01, 0x22, 0x5f, 0x0a, 0x0f, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x48, 0x61, 0x6e, 0x64, 0x73,
  524. 0x68, 0x61, 0x6b, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18,
  525. 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x4e,
  526. 0x65, 0x62, 0x75, 0x6c, 0x61, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x44, 0x65,
  527. 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x12,
  528. 0x0a, 0x04, 0x48, 0x6d, 0x61, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x48, 0x6d,
  529. 0x61, 0x63, 0x22, 0xa8, 0x01, 0x0a, 0x16, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x48, 0x61, 0x6e,
  530. 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x12, 0x0a,
  531. 0x04, 0x43, 0x65, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x43, 0x65, 0x72,
  532. 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e,
  533. 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x49, 0x6e, 0x69, 0x74, 0x69,
  534. 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0e, 0x52, 0x65, 0x73,
  535. 0x70, 0x6f, 0x6e, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28,
  536. 0x0d, 0x52, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x64, 0x65,
  537. 0x78, 0x12, 0x16, 0x0a, 0x06, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
  538. 0x04, 0x52, 0x06, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x69, 0x6d,
  539. 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x1b, 0x5a,
  540. 0x19, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6c, 0x61, 0x63,
  541. 0x6b, 0x68, 0x71, 0x2f, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  542. 0x6f, 0x33,
  543. }
  544. var (
  545. file_nebula_proto_rawDescOnce sync.Once
  546. file_nebula_proto_rawDescData = file_nebula_proto_rawDesc
  547. )
  548. func file_nebula_proto_rawDescGZIP() []byte {
  549. file_nebula_proto_rawDescOnce.Do(func() {
  550. file_nebula_proto_rawDescData = protoimpl.X.CompressGZIP(file_nebula_proto_rawDescData)
  551. })
  552. return file_nebula_proto_rawDescData
  553. }
  554. var file_nebula_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  555. var file_nebula_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
  556. var file_nebula_proto_goTypes = []interface{}{
  557. (NebulaMeta_MessageType)(0), // 0: nebula.NebulaMeta.MessageType
  558. (NebulaPing_MessageType)(0), // 1: nebula.NebulaPing.MessageType
  559. (*NebulaMeta)(nil), // 2: nebula.NebulaMeta
  560. (*NebulaMetaDetails)(nil), // 3: nebula.NebulaMetaDetails
  561. (*IpAndPort)(nil), // 4: nebula.IpAndPort
  562. (*Ip6AndPort)(nil), // 5: nebula.Ip6AndPort
  563. (*NebulaPing)(nil), // 6: nebula.NebulaPing
  564. (*NebulaHandshake)(nil), // 7: nebula.NebulaHandshake
  565. (*NebulaHandshakeDetails)(nil), // 8: nebula.NebulaHandshakeDetails
  566. }
  567. var file_nebula_proto_depIdxs = []int32{
  568. 0, // 0: nebula.NebulaMeta.Type:type_name -> nebula.NebulaMeta.MessageType
  569. 3, // 1: nebula.NebulaMeta.Details:type_name -> nebula.NebulaMetaDetails
  570. 4, // 2: nebula.NebulaMetaDetails.IpAndPorts:type_name -> nebula.IpAndPort
  571. 5, // 3: nebula.NebulaMetaDetails.Ip6AndPorts:type_name -> nebula.Ip6AndPort
  572. 1, // 4: nebula.NebulaPing.Type:type_name -> nebula.NebulaPing.MessageType
  573. 8, // 5: nebula.NebulaHandshake.Details:type_name -> nebula.NebulaHandshakeDetails
  574. 6, // [6:6] is the sub-list for method output_type
  575. 6, // [6:6] is the sub-list for method input_type
  576. 6, // [6:6] is the sub-list for extension type_name
  577. 6, // [6:6] is the sub-list for extension extendee
  578. 0, // [0:6] is the sub-list for field type_name
  579. }
  580. func init() { file_nebula_proto_init() }
  581. func file_nebula_proto_init() {
  582. if File_nebula_proto != nil {
  583. return
  584. }
  585. if !protoimpl.UnsafeEnabled {
  586. file_nebula_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  587. switch v := v.(*NebulaMeta); i {
  588. case 0:
  589. return &v.state
  590. case 1:
  591. return &v.sizeCache
  592. case 2:
  593. return &v.unknownFields
  594. default:
  595. return nil
  596. }
  597. }
  598. file_nebula_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  599. switch v := v.(*NebulaMetaDetails); i {
  600. case 0:
  601. return &v.state
  602. case 1:
  603. return &v.sizeCache
  604. case 2:
  605. return &v.unknownFields
  606. default:
  607. return nil
  608. }
  609. }
  610. file_nebula_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  611. switch v := v.(*IpAndPort); i {
  612. case 0:
  613. return &v.state
  614. case 1:
  615. return &v.sizeCache
  616. case 2:
  617. return &v.unknownFields
  618. default:
  619. return nil
  620. }
  621. }
  622. file_nebula_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  623. switch v := v.(*Ip6AndPort); i {
  624. case 0:
  625. return &v.state
  626. case 1:
  627. return &v.sizeCache
  628. case 2:
  629. return &v.unknownFields
  630. default:
  631. return nil
  632. }
  633. }
  634. file_nebula_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  635. switch v := v.(*NebulaPing); i {
  636. case 0:
  637. return &v.state
  638. case 1:
  639. return &v.sizeCache
  640. case 2:
  641. return &v.unknownFields
  642. default:
  643. return nil
  644. }
  645. }
  646. file_nebula_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  647. switch v := v.(*NebulaHandshake); i {
  648. case 0:
  649. return &v.state
  650. case 1:
  651. return &v.sizeCache
  652. case 2:
  653. return &v.unknownFields
  654. default:
  655. return nil
  656. }
  657. }
  658. file_nebula_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  659. switch v := v.(*NebulaHandshakeDetails); i {
  660. case 0:
  661. return &v.state
  662. case 1:
  663. return &v.sizeCache
  664. case 2:
  665. return &v.unknownFields
  666. default:
  667. return nil
  668. }
  669. }
  670. }
  671. type x struct{}
  672. out := protoimpl.TypeBuilder{
  673. File: protoimpl.DescBuilder{
  674. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  675. RawDescriptor: file_nebula_proto_rawDesc,
  676. NumEnums: 2,
  677. NumMessages: 7,
  678. NumExtensions: 0,
  679. NumServices: 0,
  680. },
  681. GoTypes: file_nebula_proto_goTypes,
  682. DependencyIndexes: file_nebula_proto_depIdxs,
  683. EnumInfos: file_nebula_proto_enumTypes,
  684. MessageInfos: file_nebula_proto_msgTypes,
  685. }.Build()
  686. File_nebula_proto = out.File
  687. file_nebula_proto_rawDesc = nil
  688. file_nebula_proto_goTypes = nil
  689. file_nebula_proto_depIdxs = nil
  690. }