github.com/networkservicemesh/govpp@v0.0.0-20240328101142-8a444680fbba/binapi/memclnt/memclnt.ba.go (about) 1 // Code generated by GoVPP's binapi-generator. DO NOT EDIT. 2 // versions: 3 // binapi-generator: v0.10.0-dev 4 // VPP: 23.10-rc0~170-g6f1548434 5 // source: core/memclnt.api.json 6 7 // Package memclnt contains generated bindings for API file memclnt.api. 8 // 9 // Contents: 10 // - 2 structs 11 // - 26 messages 12 package memclnt 13 14 import ( 15 api "go.fd.io/govpp/api" 16 codec "go.fd.io/govpp/codec" 17 ) 18 19 // This is a compile-time assertion to ensure that this generated file 20 // is compatible with the GoVPP api package it is being compiled against. 21 // A compilation error at this line likely means your copy of the 22 // GoVPP api package needs to be updated. 23 const _ = api.GoVppAPIPackageIsVersion2 24 25 const ( 26 APIFile = "memclnt" 27 APIVersion = "2.1.0" 28 VersionCrc = 0x21d36234 29 ) 30 31 // MessageTableEntry defines type 'message_table_entry'. 32 type MessageTableEntry struct { 33 Index uint16 `binapi:"u16,name=index" json:"index,omitempty"` 34 Name string `binapi:"string[64],name=name" json:"name,omitempty"` 35 } 36 37 // ModuleVersion defines type 'module_version'. 38 type ModuleVersion struct { 39 Major uint32 `binapi:"u32,name=major" json:"major,omitempty"` 40 Minor uint32 `binapi:"u32,name=minor" json:"minor,omitempty"` 41 Patch uint32 `binapi:"u32,name=patch" json:"patch,omitempty"` 42 Name string `binapi:"string[64],name=name" json:"name,omitempty"` 43 } 44 45 // /* 46 // - Get API version table (includes built-in and plugins) 47 // 48 // APIVersions defines message 'api_versions'. 49 type APIVersions struct{} 50 51 func (m *APIVersions) Reset() { *m = APIVersions{} } 52 func (*APIVersions) GetMessageName() string { return "api_versions" } 53 func (*APIVersions) GetCrcString() string { return "51077d14" } 54 func (*APIVersions) GetMessageType() api.MessageType { 55 return api.RequestMessage 56 } 57 58 func (m *APIVersions) Size() (size int) { 59 if m == nil { 60 return 0 61 } 62 return size 63 } 64 func (m *APIVersions) Marshal(b []byte) ([]byte, error) { 65 if b == nil { 66 b = make([]byte, m.Size()) 67 } 68 buf := codec.NewBuffer(b) 69 return buf.Bytes(), nil 70 } 71 func (m *APIVersions) Unmarshal(b []byte) error { 72 return nil 73 } 74 75 // APIVersionsReply defines message 'api_versions_reply'. 76 type APIVersionsReply struct { 77 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` 78 Count uint32 `binapi:"u32,name=count" json:"-"` 79 APIVersions []ModuleVersion `binapi:"module_version[count],name=api_versions" json:"api_versions,omitempty"` 80 } 81 82 func (m *APIVersionsReply) Reset() { *m = APIVersionsReply{} } 83 func (*APIVersionsReply) GetMessageName() string { return "api_versions_reply" } 84 func (*APIVersionsReply) GetCrcString() string { return "5f0d99d6" } 85 func (*APIVersionsReply) GetMessageType() api.MessageType { 86 return api.ReplyMessage 87 } 88 89 func (m *APIVersionsReply) Size() (size int) { 90 if m == nil { 91 return 0 92 } 93 size += 4 // m.Retval 94 size += 4 // m.Count 95 for j1 := 0; j1 < len(m.APIVersions); j1++ { 96 var s1 ModuleVersion 97 _ = s1 98 if j1 < len(m.APIVersions) { 99 s1 = m.APIVersions[j1] 100 } 101 size += 4 // s1.Major 102 size += 4 // s1.Minor 103 size += 4 // s1.Patch 104 size += 64 // s1.Name 105 } 106 return size 107 } 108 func (m *APIVersionsReply) Marshal(b []byte) ([]byte, error) { 109 if b == nil { 110 b = make([]byte, m.Size()) 111 } 112 buf := codec.NewBuffer(b) 113 buf.EncodeInt32(m.Retval) 114 buf.EncodeUint32(uint32(len(m.APIVersions))) 115 for j0 := 0; j0 < len(m.APIVersions); j0++ { 116 var v0 ModuleVersion // APIVersions 117 if j0 < len(m.APIVersions) { 118 v0 = m.APIVersions[j0] 119 } 120 buf.EncodeUint32(v0.Major) 121 buf.EncodeUint32(v0.Minor) 122 buf.EncodeUint32(v0.Patch) 123 buf.EncodeString(v0.Name, 64) 124 } 125 return buf.Bytes(), nil 126 } 127 func (m *APIVersionsReply) Unmarshal(b []byte) error { 128 buf := codec.NewBuffer(b) 129 m.Retval = buf.DecodeInt32() 130 m.Count = buf.DecodeUint32() 131 m.APIVersions = make([]ModuleVersion, m.Count) 132 for j0 := 0; j0 < len(m.APIVersions); j0++ { 133 m.APIVersions[j0].Major = buf.DecodeUint32() 134 m.APIVersions[j0].Minor = buf.DecodeUint32() 135 m.APIVersions[j0].Patch = buf.DecodeUint32() 136 m.APIVersions[j0].Name = buf.DecodeString(64) 137 } 138 return nil 139 } 140 141 // Control ping from client to api server request 142 // ControlPing defines message 'control_ping'. 143 type ControlPing struct{} 144 145 func (m *ControlPing) Reset() { *m = ControlPing{} } 146 func (*ControlPing) GetMessageName() string { return "control_ping" } 147 func (*ControlPing) GetCrcString() string { return "51077d14" } 148 func (*ControlPing) GetMessageType() api.MessageType { 149 return api.RequestMessage 150 } 151 152 func (m *ControlPing) Size() (size int) { 153 if m == nil { 154 return 0 155 } 156 return size 157 } 158 func (m *ControlPing) Marshal(b []byte) ([]byte, error) { 159 if b == nil { 160 b = make([]byte, m.Size()) 161 } 162 buf := codec.NewBuffer(b) 163 return buf.Bytes(), nil 164 } 165 func (m *ControlPing) Unmarshal(b []byte) error { 166 return nil 167 } 168 169 // Control ping from the client to the server response 170 // - retval - return code for the request 171 // - vpe_pid - the pid of the vpe, returned by the server 172 // 173 // ControlPingReply defines message 'control_ping_reply'. 174 type ControlPingReply struct { 175 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` 176 ClientIndex uint32 `binapi:"u32,name=client_index" json:"client_index,omitempty"` 177 VpePID uint32 `binapi:"u32,name=vpe_pid" json:"vpe_pid,omitempty"` 178 } 179 180 func (m *ControlPingReply) Reset() { *m = ControlPingReply{} } 181 func (*ControlPingReply) GetMessageName() string { return "control_ping_reply" } 182 func (*ControlPingReply) GetCrcString() string { return "f6b0b8ca" } 183 func (*ControlPingReply) GetMessageType() api.MessageType { 184 return api.ReplyMessage 185 } 186 187 func (m *ControlPingReply) Size() (size int) { 188 if m == nil { 189 return 0 190 } 191 size += 4 // m.Retval 192 size += 4 // m.ClientIndex 193 size += 4 // m.VpePID 194 return size 195 } 196 func (m *ControlPingReply) Marshal(b []byte) ([]byte, error) { 197 if b == nil { 198 b = make([]byte, m.Size()) 199 } 200 buf := codec.NewBuffer(b) 201 buf.EncodeInt32(m.Retval) 202 buf.EncodeUint32(m.ClientIndex) 203 buf.EncodeUint32(m.VpePID) 204 return buf.Bytes(), nil 205 } 206 func (m *ControlPingReply) Unmarshal(b []byte) error { 207 buf := codec.NewBuffer(b) 208 m.Retval = buf.DecodeInt32() 209 m.ClientIndex = buf.DecodeUint32() 210 m.VpePID = buf.DecodeUint32() 211 return nil 212 } 213 214 // /* 215 // - Lookup message-ID base by name 216 // 217 // GetFirstMsgID defines message 'get_first_msg_id'. 218 type GetFirstMsgID struct { 219 Name string `binapi:"string[64],name=name" json:"name,omitempty"` 220 } 221 222 func (m *GetFirstMsgID) Reset() { *m = GetFirstMsgID{} } 223 func (*GetFirstMsgID) GetMessageName() string { return "get_first_msg_id" } 224 func (*GetFirstMsgID) GetCrcString() string { return "ebf79a66" } 225 func (*GetFirstMsgID) GetMessageType() api.MessageType { 226 return api.RequestMessage 227 } 228 229 func (m *GetFirstMsgID) Size() (size int) { 230 if m == nil { 231 return 0 232 } 233 size += 64 // m.Name 234 return size 235 } 236 func (m *GetFirstMsgID) Marshal(b []byte) ([]byte, error) { 237 if b == nil { 238 b = make([]byte, m.Size()) 239 } 240 buf := codec.NewBuffer(b) 241 buf.EncodeString(m.Name, 64) 242 return buf.Bytes(), nil 243 } 244 func (m *GetFirstMsgID) Unmarshal(b []byte) error { 245 buf := codec.NewBuffer(b) 246 m.Name = buf.DecodeString(64) 247 return nil 248 } 249 250 // GetFirstMsgIDReply defines message 'get_first_msg_id_reply'. 251 type GetFirstMsgIDReply struct { 252 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` 253 FirstMsgID uint16 `binapi:"u16,name=first_msg_id" json:"first_msg_id,omitempty"` 254 } 255 256 func (m *GetFirstMsgIDReply) Reset() { *m = GetFirstMsgIDReply{} } 257 func (*GetFirstMsgIDReply) GetMessageName() string { return "get_first_msg_id_reply" } 258 func (*GetFirstMsgIDReply) GetCrcString() string { return "7d337472" } 259 func (*GetFirstMsgIDReply) GetMessageType() api.MessageType { 260 return api.ReplyMessage 261 } 262 263 func (m *GetFirstMsgIDReply) Size() (size int) { 264 if m == nil { 265 return 0 266 } 267 size += 4 // m.Retval 268 size += 2 // m.FirstMsgID 269 return size 270 } 271 func (m *GetFirstMsgIDReply) Marshal(b []byte) ([]byte, error) { 272 if b == nil { 273 b = make([]byte, m.Size()) 274 } 275 buf := codec.NewBuffer(b) 276 buf.EncodeInt32(m.Retval) 277 buf.EncodeUint16(m.FirstMsgID) 278 return buf.Bytes(), nil 279 } 280 func (m *GetFirstMsgIDReply) Unmarshal(b []byte) error { 281 buf := codec.NewBuffer(b) 282 m.Retval = buf.DecodeInt32() 283 m.FirstMsgID = buf.DecodeUint16() 284 return nil 285 } 286 287 // /* 288 // - Create a client registration 289 // 290 // MemclntCreate defines message 'memclnt_create'. 291 // Deprecated: the message will be removed in the future versions 292 type MemclntCreate struct { 293 CtxQuota int32 `binapi:"i32,name=ctx_quota" json:"ctx_quota,omitempty"` 294 InputQueue uint64 `binapi:"u64,name=input_queue" json:"input_queue,omitempty"` 295 Name string `binapi:"string[64],name=name" json:"name,omitempty"` 296 APIVersions []uint32 `binapi:"u32[8],name=api_versions" json:"api_versions,omitempty"` 297 } 298 299 func (m *MemclntCreate) Reset() { *m = MemclntCreate{} } 300 func (*MemclntCreate) GetMessageName() string { return "memclnt_create" } 301 func (*MemclntCreate) GetCrcString() string { return "9c5e1c2f" } 302 func (*MemclntCreate) GetMessageType() api.MessageType { 303 return api.ReplyMessage 304 } 305 306 func (m *MemclntCreate) Size() (size int) { 307 if m == nil { 308 return 0 309 } 310 size += 4 // m.CtxQuota 311 size += 8 // m.InputQueue 312 size += 64 // m.Name 313 size += 4 * 8 // m.APIVersions 314 return size 315 } 316 func (m *MemclntCreate) Marshal(b []byte) ([]byte, error) { 317 if b == nil { 318 b = make([]byte, m.Size()) 319 } 320 buf := codec.NewBuffer(b) 321 buf.EncodeInt32(m.CtxQuota) 322 buf.EncodeUint64(m.InputQueue) 323 buf.EncodeString(m.Name, 64) 324 for i := 0; i < 8; i++ { 325 var x uint32 326 if i < len(m.APIVersions) { 327 x = uint32(m.APIVersions[i]) 328 } 329 buf.EncodeUint32(x) 330 } 331 return buf.Bytes(), nil 332 } 333 func (m *MemclntCreate) Unmarshal(b []byte) error { 334 buf := codec.NewBuffer(b) 335 m.CtxQuota = buf.DecodeInt32() 336 m.InputQueue = buf.DecodeUint64() 337 m.Name = buf.DecodeString(64) 338 m.APIVersions = make([]uint32, 8) 339 for i := 0; i < len(m.APIVersions); i++ { 340 m.APIVersions[i] = buf.DecodeUint32() 341 } 342 return nil 343 } 344 345 // MemclntCreateReply defines message 'memclnt_create_reply'. 346 // Deprecated: the message will be removed in the future versions 347 type MemclntCreateReply struct { 348 Response int32 `binapi:"i32,name=response" json:"response,omitempty"` 349 Handle uint64 `binapi:"u64,name=handle" json:"handle,omitempty"` 350 Index uint32 `binapi:"u32,name=index" json:"index,omitempty"` 351 MessageTable uint64 `binapi:"u64,name=message_table" json:"message_table,omitempty"` 352 } 353 354 func (m *MemclntCreateReply) Reset() { *m = MemclntCreateReply{} } 355 func (*MemclntCreateReply) GetMessageName() string { return "memclnt_create_reply" } 356 func (*MemclntCreateReply) GetCrcString() string { return "42ec4560" } 357 func (*MemclntCreateReply) GetMessageType() api.MessageType { 358 return api.ReplyMessage 359 } 360 361 func (m *MemclntCreateReply) Size() (size int) { 362 if m == nil { 363 return 0 364 } 365 size += 4 // m.Response 366 size += 8 // m.Handle 367 size += 4 // m.Index 368 size += 8 // m.MessageTable 369 return size 370 } 371 func (m *MemclntCreateReply) Marshal(b []byte) ([]byte, error) { 372 if b == nil { 373 b = make([]byte, m.Size()) 374 } 375 buf := codec.NewBuffer(b) 376 buf.EncodeInt32(m.Response) 377 buf.EncodeUint64(m.Handle) 378 buf.EncodeUint32(m.Index) 379 buf.EncodeUint64(m.MessageTable) 380 return buf.Bytes(), nil 381 } 382 func (m *MemclntCreateReply) Unmarshal(b []byte) error { 383 buf := codec.NewBuffer(b) 384 m.Response = buf.DecodeInt32() 385 m.Handle = buf.DecodeUint64() 386 m.Index = buf.DecodeUint32() 387 m.MessageTable = buf.DecodeUint64() 388 return nil 389 } 390 391 // MemclntCreateV2 defines message 'memclnt_create_v2'. 392 type MemclntCreateV2 struct { 393 CtxQuota int32 `binapi:"i32,name=ctx_quota" json:"ctx_quota,omitempty"` 394 InputQueue uint64 `binapi:"u64,name=input_queue" json:"input_queue,omitempty"` 395 Name string `binapi:"string[64],name=name" json:"name,omitempty"` 396 APIVersions []uint32 `binapi:"u32[8],name=api_versions" json:"api_versions,omitempty"` 397 Keepalive bool `binapi:"bool,name=keepalive,default=true" json:"keepalive,omitempty"` 398 } 399 400 func (m *MemclntCreateV2) Reset() { *m = MemclntCreateV2{} } 401 func (*MemclntCreateV2) GetMessageName() string { return "memclnt_create_v2" } 402 func (*MemclntCreateV2) GetCrcString() string { return "c4bd4882" } 403 func (*MemclntCreateV2) GetMessageType() api.MessageType { 404 return api.ReplyMessage 405 } 406 407 func (m *MemclntCreateV2) Size() (size int) { 408 if m == nil { 409 return 0 410 } 411 size += 4 // m.CtxQuota 412 size += 8 // m.InputQueue 413 size += 64 // m.Name 414 size += 4 * 8 // m.APIVersions 415 size += 1 // m.Keepalive 416 return size 417 } 418 func (m *MemclntCreateV2) Marshal(b []byte) ([]byte, error) { 419 if b == nil { 420 b = make([]byte, m.Size()) 421 } 422 buf := codec.NewBuffer(b) 423 buf.EncodeInt32(m.CtxQuota) 424 buf.EncodeUint64(m.InputQueue) 425 buf.EncodeString(m.Name, 64) 426 for i := 0; i < 8; i++ { 427 var x uint32 428 if i < len(m.APIVersions) { 429 x = uint32(m.APIVersions[i]) 430 } 431 buf.EncodeUint32(x) 432 } 433 buf.EncodeBool(m.Keepalive) 434 return buf.Bytes(), nil 435 } 436 func (m *MemclntCreateV2) Unmarshal(b []byte) error { 437 buf := codec.NewBuffer(b) 438 m.CtxQuota = buf.DecodeInt32() 439 m.InputQueue = buf.DecodeUint64() 440 m.Name = buf.DecodeString(64) 441 m.APIVersions = make([]uint32, 8) 442 for i := 0; i < len(m.APIVersions); i++ { 443 m.APIVersions[i] = buf.DecodeUint32() 444 } 445 m.Keepalive = buf.DecodeBool() 446 return nil 447 } 448 449 // MemclntCreateV2Reply defines message 'memclnt_create_v2_reply'. 450 type MemclntCreateV2Reply struct { 451 Response int32 `binapi:"i32,name=response" json:"response,omitempty"` 452 Handle uint64 `binapi:"u64,name=handle" json:"handle,omitempty"` 453 Index uint32 `binapi:"u32,name=index" json:"index,omitempty"` 454 MessageTable uint64 `binapi:"u64,name=message_table" json:"message_table,omitempty"` 455 } 456 457 func (m *MemclntCreateV2Reply) Reset() { *m = MemclntCreateV2Reply{} } 458 func (*MemclntCreateV2Reply) GetMessageName() string { return "memclnt_create_v2_reply" } 459 func (*MemclntCreateV2Reply) GetCrcString() string { return "42ec4560" } 460 func (*MemclntCreateV2Reply) GetMessageType() api.MessageType { 461 return api.ReplyMessage 462 } 463 464 func (m *MemclntCreateV2Reply) Size() (size int) { 465 if m == nil { 466 return 0 467 } 468 size += 4 // m.Response 469 size += 8 // m.Handle 470 size += 4 // m.Index 471 size += 8 // m.MessageTable 472 return size 473 } 474 func (m *MemclntCreateV2Reply) Marshal(b []byte) ([]byte, error) { 475 if b == nil { 476 b = make([]byte, m.Size()) 477 } 478 buf := codec.NewBuffer(b) 479 buf.EncodeInt32(m.Response) 480 buf.EncodeUint64(m.Handle) 481 buf.EncodeUint32(m.Index) 482 buf.EncodeUint64(m.MessageTable) 483 return buf.Bytes(), nil 484 } 485 func (m *MemclntCreateV2Reply) Unmarshal(b []byte) error { 486 buf := codec.NewBuffer(b) 487 m.Response = buf.DecodeInt32() 488 m.Handle = buf.DecodeUint64() 489 m.Index = buf.DecodeUint32() 490 m.MessageTable = buf.DecodeUint64() 491 return nil 492 } 493 494 // /* 495 // - Delete a client registration 496 // 497 // MemclntDelete defines message 'memclnt_delete'. 498 type MemclntDelete struct { 499 Index uint32 `binapi:"u32,name=index" json:"index,omitempty"` 500 Handle uint64 `binapi:"u64,name=handle" json:"handle,omitempty"` 501 DoCleanup bool `binapi:"bool,name=do_cleanup" json:"do_cleanup,omitempty"` 502 } 503 504 func (m *MemclntDelete) Reset() { *m = MemclntDelete{} } 505 func (*MemclntDelete) GetMessageName() string { return "memclnt_delete" } 506 func (*MemclntDelete) GetCrcString() string { return "7e1c04e3" } 507 func (*MemclntDelete) GetMessageType() api.MessageType { 508 return api.OtherMessage 509 } 510 511 func (m *MemclntDelete) Size() (size int) { 512 if m == nil { 513 return 0 514 } 515 size += 4 // m.Index 516 size += 8 // m.Handle 517 size += 1 // m.DoCleanup 518 return size 519 } 520 func (m *MemclntDelete) Marshal(b []byte) ([]byte, error) { 521 if b == nil { 522 b = make([]byte, m.Size()) 523 } 524 buf := codec.NewBuffer(b) 525 buf.EncodeUint32(m.Index) 526 buf.EncodeUint64(m.Handle) 527 buf.EncodeBool(m.DoCleanup) 528 return buf.Bytes(), nil 529 } 530 func (m *MemclntDelete) Unmarshal(b []byte) error { 531 buf := codec.NewBuffer(b) 532 m.Index = buf.DecodeUint32() 533 m.Handle = buf.DecodeUint64() 534 m.DoCleanup = buf.DecodeBool() 535 return nil 536 } 537 538 // MemclntDeleteReply defines message 'memclnt_delete_reply'. 539 type MemclntDeleteReply struct { 540 Response int32 `binapi:"i32,name=response" json:"response,omitempty"` 541 Handle uint64 `binapi:"u64,name=handle" json:"handle,omitempty"` 542 } 543 544 func (m *MemclntDeleteReply) Reset() { *m = MemclntDeleteReply{} } 545 func (*MemclntDeleteReply) GetMessageName() string { return "memclnt_delete_reply" } 546 func (*MemclntDeleteReply) GetCrcString() string { return "3d3b6312" } 547 func (*MemclntDeleteReply) GetMessageType() api.MessageType { 548 return api.OtherMessage 549 } 550 551 func (m *MemclntDeleteReply) Size() (size int) { 552 if m == nil { 553 return 0 554 } 555 size += 4 // m.Response 556 size += 8 // m.Handle 557 return size 558 } 559 func (m *MemclntDeleteReply) Marshal(b []byte) ([]byte, error) { 560 if b == nil { 561 b = make([]byte, m.Size()) 562 } 563 buf := codec.NewBuffer(b) 564 buf.EncodeInt32(m.Response) 565 buf.EncodeUint64(m.Handle) 566 return buf.Bytes(), nil 567 } 568 func (m *MemclntDeleteReply) Unmarshal(b []byte) error { 569 buf := codec.NewBuffer(b) 570 m.Response = buf.DecodeInt32() 571 m.Handle = buf.DecodeUint64() 572 return nil 573 } 574 575 // /* 576 // - Memory client ping / response 577 // - Only sent on inactive connections 578 // 579 // MemclntKeepalive defines message 'memclnt_keepalive'. 580 type MemclntKeepalive struct{} 581 582 func (m *MemclntKeepalive) Reset() { *m = MemclntKeepalive{} } 583 func (*MemclntKeepalive) GetMessageName() string { return "memclnt_keepalive" } 584 func (*MemclntKeepalive) GetCrcString() string { return "51077d14" } 585 func (*MemclntKeepalive) GetMessageType() api.MessageType { 586 return api.RequestMessage 587 } 588 589 func (m *MemclntKeepalive) Size() (size int) { 590 if m == nil { 591 return 0 592 } 593 return size 594 } 595 func (m *MemclntKeepalive) Marshal(b []byte) ([]byte, error) { 596 if b == nil { 597 b = make([]byte, m.Size()) 598 } 599 buf := codec.NewBuffer(b) 600 return buf.Bytes(), nil 601 } 602 func (m *MemclntKeepalive) Unmarshal(b []byte) error { 603 return nil 604 } 605 606 // MemclntKeepaliveReply defines message 'memclnt_keepalive_reply'. 607 type MemclntKeepaliveReply struct { 608 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` 609 } 610 611 func (m *MemclntKeepaliveReply) Reset() { *m = MemclntKeepaliveReply{} } 612 func (*MemclntKeepaliveReply) GetMessageName() string { return "memclnt_keepalive_reply" } 613 func (*MemclntKeepaliveReply) GetCrcString() string { return "e8d4e804" } 614 func (*MemclntKeepaliveReply) GetMessageType() api.MessageType { 615 return api.ReplyMessage 616 } 617 618 func (m *MemclntKeepaliveReply) Size() (size int) { 619 if m == nil { 620 return 0 621 } 622 size += 4 // m.Retval 623 return size 624 } 625 func (m *MemclntKeepaliveReply) Marshal(b []byte) ([]byte, error) { 626 if b == nil { 627 b = make([]byte, m.Size()) 628 } 629 buf := codec.NewBuffer(b) 630 buf.EncodeInt32(m.Retval) 631 return buf.Bytes(), nil 632 } 633 func (m *MemclntKeepaliveReply) Unmarshal(b []byte) error { 634 buf := codec.NewBuffer(b) 635 m.Retval = buf.DecodeInt32() 636 return nil 637 } 638 639 // /* 640 // - Client read timeout 641 // 642 // MemclntReadTimeout defines message 'memclnt_read_timeout'. 643 type MemclntReadTimeout struct { 644 Dummy uint8 `binapi:"u8,name=dummy" json:"dummy,omitempty"` 645 } 646 647 func (m *MemclntReadTimeout) Reset() { *m = MemclntReadTimeout{} } 648 func (*MemclntReadTimeout) GetMessageName() string { return "memclnt_read_timeout" } 649 func (*MemclntReadTimeout) GetCrcString() string { return "c3a3a452" } 650 func (*MemclntReadTimeout) GetMessageType() api.MessageType { 651 return api.OtherMessage 652 } 653 654 func (m *MemclntReadTimeout) Size() (size int) { 655 if m == nil { 656 return 0 657 } 658 size += 1 // m.Dummy 659 return size 660 } 661 func (m *MemclntReadTimeout) Marshal(b []byte) ([]byte, error) { 662 if b == nil { 663 b = make([]byte, m.Size()) 664 } 665 buf := codec.NewBuffer(b) 666 buf.EncodeUint8(m.Dummy) 667 return buf.Bytes(), nil 668 } 669 func (m *MemclntReadTimeout) Unmarshal(b []byte) error { 670 buf := codec.NewBuffer(b) 671 m.Dummy = buf.DecodeUint8() 672 return nil 673 } 674 675 // /* 676 // - Client RX thread suspend 677 // 678 // MemclntRxThreadSuspend defines message 'memclnt_rx_thread_suspend'. 679 type MemclntRxThreadSuspend struct { 680 Dummy uint8 `binapi:"u8,name=dummy" json:"dummy,omitempty"` 681 } 682 683 func (m *MemclntRxThreadSuspend) Reset() { *m = MemclntRxThreadSuspend{} } 684 func (*MemclntRxThreadSuspend) GetMessageName() string { return "memclnt_rx_thread_suspend" } 685 func (*MemclntRxThreadSuspend) GetCrcString() string { return "c3a3a452" } 686 func (*MemclntRxThreadSuspend) GetMessageType() api.MessageType { 687 return api.OtherMessage 688 } 689 690 func (m *MemclntRxThreadSuspend) Size() (size int) { 691 if m == nil { 692 return 0 693 } 694 size += 1 // m.Dummy 695 return size 696 } 697 func (m *MemclntRxThreadSuspend) Marshal(b []byte) ([]byte, error) { 698 if b == nil { 699 b = make([]byte, m.Size()) 700 } 701 buf := codec.NewBuffer(b) 702 buf.EncodeUint8(m.Dummy) 703 return buf.Bytes(), nil 704 } 705 func (m *MemclntRxThreadSuspend) Unmarshal(b []byte) error { 706 buf := codec.NewBuffer(b) 707 m.Dummy = buf.DecodeUint8() 708 return nil 709 } 710 711 // /* 712 // - RPC 713 // 714 // RPCCall defines message 'rpc_call'. 715 type RPCCall struct { 716 Function uint64 `binapi:"u64,name=function" json:"function,omitempty"` 717 Multicast uint8 `binapi:"u8,name=multicast" json:"multicast,omitempty"` 718 NeedBarrierSync uint8 `binapi:"u8,name=need_barrier_sync" json:"need_barrier_sync,omitempty"` 719 SendReply uint8 `binapi:"u8,name=send_reply" json:"send_reply,omitempty"` 720 DataLen uint32 `binapi:"u32,name=data_len" json:"-"` 721 Data []byte `binapi:"u8[data_len],name=data" json:"data,omitempty"` 722 } 723 724 func (m *RPCCall) Reset() { *m = RPCCall{} } 725 func (*RPCCall) GetMessageName() string { return "rpc_call" } 726 func (*RPCCall) GetCrcString() string { return "7e8a2c95" } 727 func (*RPCCall) GetMessageType() api.MessageType { 728 return api.RequestMessage 729 } 730 731 func (m *RPCCall) Size() (size int) { 732 if m == nil { 733 return 0 734 } 735 size += 8 // m.Function 736 size += 1 // m.Multicast 737 size += 1 // m.NeedBarrierSync 738 size += 1 // m.SendReply 739 size += 4 // m.DataLen 740 size += 1 * len(m.Data) // m.Data 741 return size 742 } 743 func (m *RPCCall) Marshal(b []byte) ([]byte, error) { 744 if b == nil { 745 b = make([]byte, m.Size()) 746 } 747 buf := codec.NewBuffer(b) 748 buf.EncodeUint64(m.Function) 749 buf.EncodeUint8(m.Multicast) 750 buf.EncodeUint8(m.NeedBarrierSync) 751 buf.EncodeUint8(m.SendReply) 752 buf.EncodeUint32(uint32(len(m.Data))) 753 buf.EncodeBytes(m.Data, 0) 754 return buf.Bytes(), nil 755 } 756 func (m *RPCCall) Unmarshal(b []byte) error { 757 buf := codec.NewBuffer(b) 758 m.Function = buf.DecodeUint64() 759 m.Multicast = buf.DecodeUint8() 760 m.NeedBarrierSync = buf.DecodeUint8() 761 m.SendReply = buf.DecodeUint8() 762 m.DataLen = buf.DecodeUint32() 763 m.Data = make([]byte, m.DataLen) 764 copy(m.Data, buf.DecodeBytes(len(m.Data))) 765 return nil 766 } 767 768 // RPCCallReply defines message 'rpc_call_reply'. 769 type RPCCallReply struct { 770 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` 771 } 772 773 func (m *RPCCallReply) Reset() { *m = RPCCallReply{} } 774 func (*RPCCallReply) GetMessageName() string { return "rpc_call_reply" } 775 func (*RPCCallReply) GetCrcString() string { return "e8d4e804" } 776 func (*RPCCallReply) GetMessageType() api.MessageType { 777 return api.ReplyMessage 778 } 779 780 func (m *RPCCallReply) Size() (size int) { 781 if m == nil { 782 return 0 783 } 784 size += 4 // m.Retval 785 return size 786 } 787 func (m *RPCCallReply) Marshal(b []byte) ([]byte, error) { 788 if b == nil { 789 b = make([]byte, m.Size()) 790 } 791 buf := codec.NewBuffer(b) 792 buf.EncodeInt32(m.Retval) 793 return buf.Bytes(), nil 794 } 795 func (m *RPCCallReply) Unmarshal(b []byte) error { 796 buf := codec.NewBuffer(b) 797 m.Retval = buf.DecodeInt32() 798 return nil 799 } 800 801 // /* 802 // - Client RX thread exit 803 // 804 // RxThreadExit defines message 'rx_thread_exit'. 805 type RxThreadExit struct { 806 Dummy uint8 `binapi:"u8,name=dummy" json:"dummy,omitempty"` 807 } 808 809 func (m *RxThreadExit) Reset() { *m = RxThreadExit{} } 810 func (*RxThreadExit) GetMessageName() string { return "rx_thread_exit" } 811 func (*RxThreadExit) GetCrcString() string { return "c3a3a452" } 812 func (*RxThreadExit) GetMessageType() api.MessageType { 813 return api.OtherMessage 814 } 815 816 func (m *RxThreadExit) Size() (size int) { 817 if m == nil { 818 return 0 819 } 820 size += 1 // m.Dummy 821 return size 822 } 823 func (m *RxThreadExit) Marshal(b []byte) ([]byte, error) { 824 if b == nil { 825 b = make([]byte, m.Size()) 826 } 827 buf := codec.NewBuffer(b) 828 buf.EncodeUint8(m.Dummy) 829 return buf.Bytes(), nil 830 } 831 func (m *RxThreadExit) Unmarshal(b []byte) error { 832 buf := codec.NewBuffer(b) 833 m.Dummy = buf.DecodeUint8() 834 return nil 835 } 836 837 // /* 838 // - Initialize shm api over socket api 839 // 840 // SockInitShm defines message 'sock_init_shm'. 841 type SockInitShm struct { 842 RequestedSize uint32 `binapi:"u32,name=requested_size" json:"requested_size,omitempty"` 843 Nitems uint8 `binapi:"u8,name=nitems" json:"-"` 844 Configs []uint64 `binapi:"u64[nitems],name=configs" json:"configs,omitempty"` 845 } 846 847 func (m *SockInitShm) Reset() { *m = SockInitShm{} } 848 func (*SockInitShm) GetMessageName() string { return "sock_init_shm" } 849 func (*SockInitShm) GetCrcString() string { return "51646d92" } 850 func (*SockInitShm) GetMessageType() api.MessageType { 851 return api.RequestMessage 852 } 853 854 func (m *SockInitShm) Size() (size int) { 855 if m == nil { 856 return 0 857 } 858 size += 4 // m.RequestedSize 859 size += 1 // m.Nitems 860 size += 8 * len(m.Configs) // m.Configs 861 return size 862 } 863 func (m *SockInitShm) Marshal(b []byte) ([]byte, error) { 864 if b == nil { 865 b = make([]byte, m.Size()) 866 } 867 buf := codec.NewBuffer(b) 868 buf.EncodeUint32(m.RequestedSize) 869 buf.EncodeUint8(uint8(len(m.Configs))) 870 for i := 0; i < len(m.Configs); i++ { 871 var x uint64 872 if i < len(m.Configs) { 873 x = uint64(m.Configs[i]) 874 } 875 buf.EncodeUint64(x) 876 } 877 return buf.Bytes(), nil 878 } 879 func (m *SockInitShm) Unmarshal(b []byte) error { 880 buf := codec.NewBuffer(b) 881 m.RequestedSize = buf.DecodeUint32() 882 m.Nitems = buf.DecodeUint8() 883 m.Configs = make([]uint64, m.Nitems) 884 for i := 0; i < len(m.Configs); i++ { 885 m.Configs[i] = buf.DecodeUint64() 886 } 887 return nil 888 } 889 890 // SockInitShmReply defines message 'sock_init_shm_reply'. 891 type SockInitShmReply struct { 892 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` 893 } 894 895 func (m *SockInitShmReply) Reset() { *m = SockInitShmReply{} } 896 func (*SockInitShmReply) GetMessageName() string { return "sock_init_shm_reply" } 897 func (*SockInitShmReply) GetCrcString() string { return "e8d4e804" } 898 func (*SockInitShmReply) GetMessageType() api.MessageType { 899 return api.ReplyMessage 900 } 901 902 func (m *SockInitShmReply) Size() (size int) { 903 if m == nil { 904 return 0 905 } 906 size += 4 // m.Retval 907 return size 908 } 909 func (m *SockInitShmReply) Marshal(b []byte) ([]byte, error) { 910 if b == nil { 911 b = make([]byte, m.Size()) 912 } 913 buf := codec.NewBuffer(b) 914 buf.EncodeInt32(m.Retval) 915 return buf.Bytes(), nil 916 } 917 func (m *SockInitShmReply) Unmarshal(b []byte) error { 918 buf := codec.NewBuffer(b) 919 m.Retval = buf.DecodeInt32() 920 return nil 921 } 922 923 // /* 924 // - Create a socket client registration. 925 // 926 // SockclntCreate defines message 'sockclnt_create'. 927 type SockclntCreate struct { 928 Name string `binapi:"string[64],name=name" json:"name,omitempty"` 929 } 930 931 func (m *SockclntCreate) Reset() { *m = SockclntCreate{} } 932 func (*SockclntCreate) GetMessageName() string { return "sockclnt_create" } 933 func (*SockclntCreate) GetCrcString() string { return "455fb9c4" } 934 func (*SockclntCreate) GetMessageType() api.MessageType { 935 return api.ReplyMessage 936 } 937 938 func (m *SockclntCreate) Size() (size int) { 939 if m == nil { 940 return 0 941 } 942 size += 64 // m.Name 943 return size 944 } 945 func (m *SockclntCreate) Marshal(b []byte) ([]byte, error) { 946 if b == nil { 947 b = make([]byte, m.Size()) 948 } 949 buf := codec.NewBuffer(b) 950 buf.EncodeString(m.Name, 64) 951 return buf.Bytes(), nil 952 } 953 func (m *SockclntCreate) Unmarshal(b []byte) error { 954 buf := codec.NewBuffer(b) 955 m.Name = buf.DecodeString(64) 956 return nil 957 } 958 959 // SockclntCreateReply defines message 'sockclnt_create_reply'. 960 type SockclntCreateReply struct { 961 Response int32 `binapi:"i32,name=response" json:"response,omitempty"` 962 Index uint32 `binapi:"u32,name=index" json:"index,omitempty"` 963 Count uint16 `binapi:"u16,name=count" json:"-"` 964 MessageTable []MessageTableEntry `binapi:"message_table_entry[count],name=message_table" json:"message_table,omitempty"` 965 } 966 967 func (m *SockclntCreateReply) Reset() { *m = SockclntCreateReply{} } 968 func (*SockclntCreateReply) GetMessageName() string { return "sockclnt_create_reply" } 969 func (*SockclntCreateReply) GetCrcString() string { return "35166268" } 970 func (*SockclntCreateReply) GetMessageType() api.MessageType { 971 return api.RequestMessage 972 } 973 974 func (m *SockclntCreateReply) Size() (size int) { 975 if m == nil { 976 return 0 977 } 978 size += 4 // m.Response 979 size += 4 // m.Index 980 size += 2 // m.Count 981 for j1 := 0; j1 < len(m.MessageTable); j1++ { 982 var s1 MessageTableEntry 983 _ = s1 984 if j1 < len(m.MessageTable) { 985 s1 = m.MessageTable[j1] 986 } 987 size += 2 // s1.Index 988 size += 64 // s1.Name 989 } 990 return size 991 } 992 func (m *SockclntCreateReply) Marshal(b []byte) ([]byte, error) { 993 if b == nil { 994 b = make([]byte, m.Size()) 995 } 996 buf := codec.NewBuffer(b) 997 buf.EncodeInt32(m.Response) 998 buf.EncodeUint32(m.Index) 999 buf.EncodeUint16(uint16(len(m.MessageTable))) 1000 for j0 := 0; j0 < len(m.MessageTable); j0++ { 1001 var v0 MessageTableEntry // MessageTable 1002 if j0 < len(m.MessageTable) { 1003 v0 = m.MessageTable[j0] 1004 } 1005 buf.EncodeUint16(v0.Index) 1006 buf.EncodeString(v0.Name, 64) 1007 } 1008 return buf.Bytes(), nil 1009 } 1010 func (m *SockclntCreateReply) Unmarshal(b []byte) error { 1011 buf := codec.NewBuffer(b) 1012 m.Response = buf.DecodeInt32() 1013 m.Index = buf.DecodeUint32() 1014 m.Count = buf.DecodeUint16() 1015 m.MessageTable = make([]MessageTableEntry, m.Count) 1016 for j0 := 0; j0 < len(m.MessageTable); j0++ { 1017 m.MessageTable[j0].Index = buf.DecodeUint16() 1018 m.MessageTable[j0].Name = buf.DecodeString(64) 1019 } 1020 return nil 1021 } 1022 1023 // /* 1024 // - Delete a client registration 1025 // 1026 // SockclntDelete defines message 'sockclnt_delete'. 1027 type SockclntDelete struct { 1028 Index uint32 `binapi:"u32,name=index" json:"index,omitempty"` 1029 } 1030 1031 func (m *SockclntDelete) Reset() { *m = SockclntDelete{} } 1032 func (*SockclntDelete) GetMessageName() string { return "sockclnt_delete" } 1033 func (*SockclntDelete) GetCrcString() string { return "8ac76db6" } 1034 func (*SockclntDelete) GetMessageType() api.MessageType { 1035 return api.RequestMessage 1036 } 1037 1038 func (m *SockclntDelete) Size() (size int) { 1039 if m == nil { 1040 return 0 1041 } 1042 size += 4 // m.Index 1043 return size 1044 } 1045 func (m *SockclntDelete) Marshal(b []byte) ([]byte, error) { 1046 if b == nil { 1047 b = make([]byte, m.Size()) 1048 } 1049 buf := codec.NewBuffer(b) 1050 buf.EncodeUint32(m.Index) 1051 return buf.Bytes(), nil 1052 } 1053 func (m *SockclntDelete) Unmarshal(b []byte) error { 1054 buf := codec.NewBuffer(b) 1055 m.Index = buf.DecodeUint32() 1056 return nil 1057 } 1058 1059 // SockclntDeleteReply defines message 'sockclnt_delete_reply'. 1060 type SockclntDeleteReply struct { 1061 Response int32 `binapi:"i32,name=response" json:"response,omitempty"` 1062 } 1063 1064 func (m *SockclntDeleteReply) Reset() { *m = SockclntDeleteReply{} } 1065 func (*SockclntDeleteReply) GetMessageName() string { return "sockclnt_delete_reply" } 1066 func (*SockclntDeleteReply) GetCrcString() string { return "8f38b1ee" } 1067 func (*SockclntDeleteReply) GetMessageType() api.MessageType { 1068 return api.ReplyMessage 1069 } 1070 1071 func (m *SockclntDeleteReply) Size() (size int) { 1072 if m == nil { 1073 return 0 1074 } 1075 size += 4 // m.Response 1076 return size 1077 } 1078 func (m *SockclntDeleteReply) Marshal(b []byte) ([]byte, error) { 1079 if b == nil { 1080 b = make([]byte, m.Size()) 1081 } 1082 buf := codec.NewBuffer(b) 1083 buf.EncodeInt32(m.Response) 1084 return buf.Bytes(), nil 1085 } 1086 func (m *SockclntDeleteReply) Unmarshal(b []byte) error { 1087 buf := codec.NewBuffer(b) 1088 m.Response = buf.DecodeInt32() 1089 return nil 1090 } 1091 1092 // /* 1093 // - Trace the plugin message-id allocator 1094 // - so we stand a chance of dealing with different sets of plugins 1095 // - at api trace replay time 1096 // 1097 // TracePluginMsgIds defines message 'trace_plugin_msg_ids'. 1098 type TracePluginMsgIds struct { 1099 PluginName string `binapi:"string[128],name=plugin_name" json:"plugin_name,omitempty"` 1100 FirstMsgID uint16 `binapi:"u16,name=first_msg_id" json:"first_msg_id,omitempty"` 1101 LastMsgID uint16 `binapi:"u16,name=last_msg_id" json:"last_msg_id,omitempty"` 1102 } 1103 1104 func (m *TracePluginMsgIds) Reset() { *m = TracePluginMsgIds{} } 1105 func (*TracePluginMsgIds) GetMessageName() string { return "trace_plugin_msg_ids" } 1106 func (*TracePluginMsgIds) GetCrcString() string { return "f476d3ce" } 1107 func (*TracePluginMsgIds) GetMessageType() api.MessageType { 1108 return api.RequestMessage 1109 } 1110 1111 func (m *TracePluginMsgIds) Size() (size int) { 1112 if m == nil { 1113 return 0 1114 } 1115 size += 128 // m.PluginName 1116 size += 2 // m.FirstMsgID 1117 size += 2 // m.LastMsgID 1118 return size 1119 } 1120 func (m *TracePluginMsgIds) Marshal(b []byte) ([]byte, error) { 1121 if b == nil { 1122 b = make([]byte, m.Size()) 1123 } 1124 buf := codec.NewBuffer(b) 1125 buf.EncodeString(m.PluginName, 128) 1126 buf.EncodeUint16(m.FirstMsgID) 1127 buf.EncodeUint16(m.LastMsgID) 1128 return buf.Bytes(), nil 1129 } 1130 func (m *TracePluginMsgIds) Unmarshal(b []byte) error { 1131 buf := codec.NewBuffer(b) 1132 m.PluginName = buf.DecodeString(128) 1133 m.FirstMsgID = buf.DecodeUint16() 1134 m.LastMsgID = buf.DecodeUint16() 1135 return nil 1136 } 1137 1138 func init() { file_memclnt_binapi_init() } 1139 func file_memclnt_binapi_init() { 1140 api.RegisterMessage((*APIVersions)(nil), "api_versions_51077d14") 1141 api.RegisterMessage((*APIVersionsReply)(nil), "api_versions_reply_5f0d99d6") 1142 api.RegisterMessage((*ControlPing)(nil), "control_ping_51077d14") 1143 api.RegisterMessage((*ControlPingReply)(nil), "control_ping_reply_f6b0b8ca") 1144 api.RegisterMessage((*GetFirstMsgID)(nil), "get_first_msg_id_ebf79a66") 1145 api.RegisterMessage((*GetFirstMsgIDReply)(nil), "get_first_msg_id_reply_7d337472") 1146 api.RegisterMessage((*MemclntCreate)(nil), "memclnt_create_9c5e1c2f") 1147 api.RegisterMessage((*MemclntCreateReply)(nil), "memclnt_create_reply_42ec4560") 1148 api.RegisterMessage((*MemclntCreateV2)(nil), "memclnt_create_v2_c4bd4882") 1149 api.RegisterMessage((*MemclntCreateV2Reply)(nil), "memclnt_create_v2_reply_42ec4560") 1150 api.RegisterMessage((*MemclntDelete)(nil), "memclnt_delete_7e1c04e3") 1151 api.RegisterMessage((*MemclntDeleteReply)(nil), "memclnt_delete_reply_3d3b6312") 1152 api.RegisterMessage((*MemclntKeepalive)(nil), "memclnt_keepalive_51077d14") 1153 api.RegisterMessage((*MemclntKeepaliveReply)(nil), "memclnt_keepalive_reply_e8d4e804") 1154 api.RegisterMessage((*MemclntReadTimeout)(nil), "memclnt_read_timeout_c3a3a452") 1155 api.RegisterMessage((*MemclntRxThreadSuspend)(nil), "memclnt_rx_thread_suspend_c3a3a452") 1156 api.RegisterMessage((*RPCCall)(nil), "rpc_call_7e8a2c95") 1157 api.RegisterMessage((*RPCCallReply)(nil), "rpc_call_reply_e8d4e804") 1158 api.RegisterMessage((*RxThreadExit)(nil), "rx_thread_exit_c3a3a452") 1159 api.RegisterMessage((*SockInitShm)(nil), "sock_init_shm_51646d92") 1160 api.RegisterMessage((*SockInitShmReply)(nil), "sock_init_shm_reply_e8d4e804") 1161 api.RegisterMessage((*SockclntCreate)(nil), "sockclnt_create_455fb9c4") 1162 api.RegisterMessage((*SockclntCreateReply)(nil), "sockclnt_create_reply_35166268") 1163 api.RegisterMessage((*SockclntDelete)(nil), "sockclnt_delete_8ac76db6") 1164 api.RegisterMessage((*SockclntDeleteReply)(nil), "sockclnt_delete_reply_8f38b1ee") 1165 api.RegisterMessage((*TracePluginMsgIds)(nil), "trace_plugin_msg_ids_f476d3ce") 1166 } 1167 1168 // Messages returns list of all messages in this module. 1169 func AllMessages() []api.Message { 1170 return []api.Message{ 1171 (*APIVersions)(nil), 1172 (*APIVersionsReply)(nil), 1173 (*ControlPing)(nil), 1174 (*ControlPingReply)(nil), 1175 (*GetFirstMsgID)(nil), 1176 (*GetFirstMsgIDReply)(nil), 1177 (*MemclntCreate)(nil), 1178 (*MemclntCreateReply)(nil), 1179 (*MemclntCreateV2)(nil), 1180 (*MemclntCreateV2Reply)(nil), 1181 (*MemclntDelete)(nil), 1182 (*MemclntDeleteReply)(nil), 1183 (*MemclntKeepalive)(nil), 1184 (*MemclntKeepaliveReply)(nil), 1185 (*MemclntReadTimeout)(nil), 1186 (*MemclntRxThreadSuspend)(nil), 1187 (*RPCCall)(nil), 1188 (*RPCCallReply)(nil), 1189 (*RxThreadExit)(nil), 1190 (*SockInitShm)(nil), 1191 (*SockInitShmReply)(nil), 1192 (*SockclntCreate)(nil), 1193 (*SockclntCreateReply)(nil), 1194 (*SockclntDelete)(nil), 1195 (*SockclntDeleteReply)(nil), 1196 (*TracePluginMsgIds)(nil), 1197 } 1198 }