4 "git.fd.io/govpp.git/api"
7 // MessageTableEntry represents VPP binary API type 'message_table_entry'.
8 type MessageTableEntry struct {
10 Name string `struc:"[64]byte"`
13 func (*MessageTableEntry) GetTypeName() string {
14 return "message_table_entry"
17 // SockclntCreate represents VPP binary API message 'sockclnt_create'.
18 type SockclntCreate struct {
19 Name string `struc:"[64]byte"`
22 func (*SockclntCreate) GetMessageName() string {
23 return "sockclnt_create"
25 func (*SockclntCreate) GetCrcString() string {
28 func (*SockclntCreate) GetMessageType() api.MessageType {
29 return api.ReplyMessage
32 // SockclntCreateReply represents VPP binary API message 'sockclnt_create_reply'.
33 type SockclntCreateReply struct {
36 Count uint16 `struc:"sizeof=MessageTable"`
37 MessageTable []MessageTableEntry
40 func (*SockclntCreateReply) GetMessageName() string {
41 return "sockclnt_create_reply"
43 func (*SockclntCreateReply) GetCrcString() string {
46 func (*SockclntCreateReply) GetMessageType() api.MessageType {
47 return api.RequestMessage
50 // SockclntDelete represents VPP binary API message 'sockclnt_delete'.
51 type SockclntDelete struct {
55 func (*SockclntDelete) GetMessageName() string {
56 return "sockclnt_delete"
58 func (*SockclntDelete) GetCrcString() string {
61 func (*SockclntDelete) GetMessageType() api.MessageType {
62 return api.RequestMessage
65 // SockclntDeleteReply represents VPP binary API message 'sockclnt_delete_reply'.
66 type SockclntDeleteReply struct {
70 func (*SockclntDeleteReply) GetMessageName() string {
71 return "sockclnt_delete_reply"
73 func (*SockclntDeleteReply) GetCrcString() string {
76 func (*SockclntDeleteReply) GetMessageType() api.MessageType {
77 return api.ReplyMessage
80 // ModuleVersion represents VPP binary API type 'module_version'.
81 type ModuleVersion struct {
85 Name string `struc:"[64]byte"`
88 func (*ModuleVersion) GetTypeName() string {
89 return "module_version"
92 // APIVersions represents VPP binary API message 'api_versions'.
93 type APIVersions struct{}
95 func (*APIVersions) GetMessageName() string {
98 func (*APIVersions) GetCrcString() string {
101 func (*APIVersions) GetMessageType() api.MessageType {
102 return api.RequestMessage
105 // APIVersionsReply represents VPP binary API message 'api_versions_reply'.
106 type APIVersionsReply struct {
108 Count uint32 `struc:"sizeof=APIVersions"`
109 APIVersions []ModuleVersion
112 func (*APIVersionsReply) GetMessageName() string {
113 return "api_versions_reply"
115 func (*APIVersionsReply) GetCrcString() string {
118 func (*APIVersionsReply) GetMessageType() api.MessageType {
119 return api.ReplyMessage