1 // Code generated by govpp binapi-generator DO NOT EDIT.
2 // Package vpe represents the VPP binary API of the 'vpe' VPP module.
3 // Generated from 'bin_api/vpe.api.json'
6 import "git.fd.io/govpp.git/api"
8 // VlApiVersion contains version of the API.
9 const VlAPIVersion = 0xe02a02b0
11 // ControlPing represents the VPP binary API message 'control_ping'.
12 // Generated from 'bin_api/vpe.api.json', line 48:
28 // "crc": "0x51077d14"
31 type ControlPing struct {
34 func (*ControlPing) GetMessageName() string {
37 func (*ControlPing) GetMessageType() api.MessageType {
38 return api.RequestMessage
40 func (*ControlPing) GetCrcString() string {
43 func NewControlPing() api.Message {
47 // ControlPingReply represents the VPP binary API message 'control_ping_reply'.
48 // Generated from 'bin_api/vpe.api.json', line 66:
50 // "control_ping_reply",
72 // "crc": "0xf6b0b8ca"
75 type ControlPingReply struct {
81 func (*ControlPingReply) GetMessageName() string {
82 return "control_ping_reply"
84 func (*ControlPingReply) GetMessageType() api.MessageType {
85 return api.ReplyMessage
87 func (*ControlPingReply) GetCrcString() string {
90 func NewControlPingReply() api.Message {
91 return &ControlPingReply{}
94 // Cli represents the VPP binary API message 'cli'.
95 // Generated from 'bin_api/vpe.api.json', line 92:
115 // "crc": "0x23bfbfff"
122 func (*Cli) GetMessageName() string {
125 func (*Cli) GetMessageType() api.MessageType {
126 return api.RequestMessage
128 func (*Cli) GetCrcString() string {
131 func NewCli() api.Message {
135 // CliInband represents the VPP binary API message 'cli_inband'.
136 // Generated from 'bin_api/vpe.api.json', line 114:
162 // "crc": "0x74e00a49"
165 type CliInband struct {
166 Length uint32 `struc:"sizeof=Cmd"`
170 func (*CliInband) GetMessageName() string {
173 func (*CliInband) GetMessageType() api.MessageType {
174 return api.RequestMessage
176 func (*CliInband) GetCrcString() string {
179 func NewCliInband() api.Message {
183 // CliReply represents the VPP binary API message 'cli_reply'.
184 // Generated from 'bin_api/vpe.api.json', line 142:
204 // "crc": "0x06d68297"
207 type CliReply struct {
212 func (*CliReply) GetMessageName() string {
215 func (*CliReply) GetMessageType() api.MessageType {
216 return api.ReplyMessage
218 func (*CliReply) GetCrcString() string {
221 func NewCliReply() api.Message {
225 // CliInbandReply represents the VPP binary API message 'cli_inband_reply'.
226 // Generated from 'bin_api/vpe.api.json', line 164:
228 // "cli_inband_reply",
252 // "crc": "0x1f22bbb8"
255 type CliInbandReply struct {
257 Length uint32 `struc:"sizeof=Reply"`
261 func (*CliInbandReply) GetMessageName() string {
262 return "cli_inband_reply"
264 func (*CliInbandReply) GetMessageType() api.MessageType {
265 return api.ReplyMessage
267 func (*CliInbandReply) GetCrcString() string {
270 func NewCliInbandReply() api.Message {
271 return &CliInbandReply{}
274 // GetNodeIndex represents the VPP binary API message 'get_node_index'.
275 // Generated from 'bin_api/vpe.api.json', line 192:
296 // "crc": "0x6c9a495d"
299 type GetNodeIndex struct {
300 NodeName []byte `struc:"[64]byte"`
303 func (*GetNodeIndex) GetMessageName() string {
304 return "get_node_index"
306 func (*GetNodeIndex) GetMessageType() api.MessageType {
307 return api.RequestMessage
309 func (*GetNodeIndex) GetCrcString() string {
312 func NewGetNodeIndex() api.Message {
313 return &GetNodeIndex{}
316 // GetNodeIndexReply represents the VPP binary API message 'get_node_index_reply'.
317 // Generated from 'bin_api/vpe.api.json', line 215:
319 // "get_node_index_reply",
337 // "crc": "0xa8600b89"
340 type GetNodeIndexReply struct {
345 func (*GetNodeIndexReply) GetMessageName() string {
346 return "get_node_index_reply"
348 func (*GetNodeIndexReply) GetMessageType() api.MessageType {
349 return api.ReplyMessage
351 func (*GetNodeIndexReply) GetCrcString() string {
354 func NewGetNodeIndexReply() api.Message {
355 return &GetNodeIndexReply{}
358 // AddNodeNext represents the VPP binary API message 'add_node_next'.
359 // Generated from 'bin_api/vpe.api.json', line 237:
385 // "crc": "0x9ab92f7a"
388 type AddNodeNext struct {
389 NodeName []byte `struc:"[64]byte"`
390 NextName []byte `struc:"[64]byte"`
393 func (*AddNodeNext) GetMessageName() string {
394 return "add_node_next"
396 func (*AddNodeNext) GetMessageType() api.MessageType {
397 return api.RequestMessage
399 func (*AddNodeNext) GetCrcString() string {
402 func NewAddNodeNext() api.Message {
403 return &AddNodeNext{}
406 // AddNodeNextReply represents the VPP binary API message 'add_node_next_reply'.
407 // Generated from 'bin_api/vpe.api.json', line 265:
409 // "add_node_next_reply",
427 // "crc": "0x2ed75f32"
430 type AddNodeNextReply struct {
435 func (*AddNodeNextReply) GetMessageName() string {
436 return "add_node_next_reply"
438 func (*AddNodeNextReply) GetMessageType() api.MessageType {
439 return api.ReplyMessage
441 func (*AddNodeNextReply) GetCrcString() string {
444 func NewAddNodeNextReply() api.Message {
445 return &AddNodeNextReply{}
448 // ShowVersion represents the VPP binary API message 'show_version'.
449 // Generated from 'bin_api/vpe.api.json', line 287:
465 // "crc": "0x51077d14"
468 type ShowVersion struct {
471 func (*ShowVersion) GetMessageName() string {
472 return "show_version"
474 func (*ShowVersion) GetMessageType() api.MessageType {
475 return api.RequestMessage
477 func (*ShowVersion) GetCrcString() string {
480 func NewShowVersion() api.Message {
481 return &ShowVersion{}
484 // ShowVersionReply represents the VPP binary API message 'show_version_reply'.
485 // Generated from 'bin_api/vpe.api.json', line 305:
487 // "show_version_reply",
517 // "build_directory",
521 // "crc": "0x8b5a13b4"
524 type ShowVersionReply struct {
526 Program []byte `struc:"[32]byte"`
527 Version []byte `struc:"[32]byte"`
528 BuildDate []byte `struc:"[32]byte"`
529 BuildDirectory []byte `struc:"[256]byte"`
532 func (*ShowVersionReply) GetMessageName() string {
533 return "show_version_reply"
535 func (*ShowVersionReply) GetMessageType() api.MessageType {
536 return api.ReplyMessage
538 func (*ShowVersionReply) GetCrcString() string {
541 func NewShowVersionReply() api.Message {
542 return &ShowVersionReply{}
545 // GetNodeGraph represents the VPP binary API message 'get_node_graph'.
546 // Generated from 'bin_api/vpe.api.json', line 343:
562 // "crc": "0x51077d14"
565 type GetNodeGraph struct {
568 func (*GetNodeGraph) GetMessageName() string {
569 return "get_node_graph"
571 func (*GetNodeGraph) GetMessageType() api.MessageType {
572 return api.RequestMessage
574 func (*GetNodeGraph) GetCrcString() string {
577 func NewGetNodeGraph() api.Message {
578 return &GetNodeGraph{}
581 // GetNodeGraphReply represents the VPP binary API message 'get_node_graph_reply'.
582 // Generated from 'bin_api/vpe.api.json', line 361:
584 // "get_node_graph_reply",
602 // "crc": "0x06d68297"
605 type GetNodeGraphReply struct {
610 func (*GetNodeGraphReply) GetMessageName() string {
611 return "get_node_graph_reply"
613 func (*GetNodeGraphReply) GetMessageType() api.MessageType {
614 return api.ReplyMessage
616 func (*GetNodeGraphReply) GetCrcString() string {
619 func NewGetNodeGraphReply() api.Message {
620 return &GetNodeGraphReply{}
623 // GetNextIndex represents the VPP binary API message 'get_next_index'.
624 // Generated from 'bin_api/vpe.api.json', line 383:
650 // "crc": "0x9ab92f7a"
653 type GetNextIndex struct {
654 NodeName []byte `struc:"[64]byte"`
655 NextName []byte `struc:"[64]byte"`
658 func (*GetNextIndex) GetMessageName() string {
659 return "get_next_index"
661 func (*GetNextIndex) GetMessageType() api.MessageType {
662 return api.RequestMessage
664 func (*GetNextIndex) GetCrcString() string {
667 func NewGetNextIndex() api.Message {
668 return &GetNextIndex{}
671 // GetNextIndexReply represents the VPP binary API message 'get_next_index_reply'.
672 // Generated from 'bin_api/vpe.api.json', line 411:
674 // "get_next_index_reply",
692 // "crc": "0x2ed75f32"
695 type GetNextIndexReply struct {
700 func (*GetNextIndexReply) GetMessageName() string {
701 return "get_next_index_reply"
703 func (*GetNextIndexReply) GetMessageType() api.MessageType {
704 return api.ReplyMessage
706 func (*GetNextIndexReply) GetCrcString() string {
709 func NewGetNextIndexReply() api.Message {
710 return &GetNextIndexReply{}