1 // Package uflow represents the VPP binary API of the 'uflow' VPP module.
2 // DO NOT EDIT. Generated from 'bin_api/uflow.api.json' on Thu, 04 May 2017 13:11:57 CEST.
5 import "git.fd.io/govpp.git/api"
7 // VlApiVersion contains version of the API.
8 const VlAPIVersion = 0x85909300
10 // UflowIdx represents the VPP binary API data type 'uflow_idx'.
11 // Generated from 'bin_api/uflow.api.json', line 3:
17 // {"crc" : "0x3310d92c"}
20 type UflowIdx struct {
26 func (*UflowIdx) GetTypeName() string {
29 func (*UflowIdx) GetCrcString() string {
33 // UflowEnt represents the VPP binary API data type 'uflow_ent'.
34 // Generated from 'bin_api/uflow.api.json', line 9:
37 // ["u32", "cm_dpidx"],
38 // ["u32", "vbundle_dpidx"],
39 // {"crc" : "0x50fa3f43"}
42 type UflowEnt struct {
47 func (*UflowEnt) GetTypeName() string {
50 func (*UflowEnt) GetCrcString() string {
54 // UflowRow represents the VPP binary API data type 'uflow_row'.
55 // Generated from 'bin_api/uflow.api.json', line 14:
58 // ["vl_api_uflow_idx_t", "idx"],
59 // ["vl_api_uflow_ent_t", "ent"],
60 // {"crc" : "0x3b73b975"}
63 type UflowRow struct {
68 func (*UflowRow) GetTypeName() string {
71 func (*UflowRow) GetCrcString() string {
75 // UflowEnableDisable represents the VPP binary API message 'uflow_enable_disable'.
76 // Generated from 'bin_api/uflow.api.json', line 21:
78 // ["uflow_enable_disable",
79 // ["u16", "_vl_msg_id"],
80 // ["u32", "client_index"],
81 // ["u32", "context"],
82 // ["u32", "sw_if_index"],
83 // ["u8", "enable_disable"],
84 // {"crc" : "0x4c7f1b8a"}
87 type UflowEnableDisable struct {
92 func (*UflowEnableDisable) GetMessageName() string {
93 return "uflow_enable_disable"
95 func (*UflowEnableDisable) GetMessageType() api.MessageType {
96 return api.RequestMessage
98 func (*UflowEnableDisable) GetCrcString() string {
101 func NewUflowEnableDisable() api.Message {
102 return &UflowEnableDisable{}
105 // UflowEnableDisableReply represents the VPP binary API message 'uflow_enable_disable_reply'.
106 // Generated from 'bin_api/uflow.api.json', line 29:
108 // ["uflow_enable_disable_reply",
109 // ["u16", "_vl_msg_id"],
110 // ["u32", "context"],
111 // ["i32", "retval"],
112 // {"crc" : "0xf47b6600"}
115 type UflowEnableDisableReply struct {
119 func (*UflowEnableDisableReply) GetMessageName() string {
120 return "uflow_enable_disable_reply"
122 func (*UflowEnableDisableReply) GetMessageType() api.MessageType {
123 return api.ReplyMessage
125 func (*UflowEnableDisableReply) GetCrcString() string {
128 func NewUflowEnableDisableReply() api.Message {
129 return &UflowEnableDisableReply{}
132 // UflowSetEnt represents the VPP binary API message 'uflow_set_ent'.
133 // Generated from 'bin_api/uflow.api.json', line 35:
136 // ["u16", "_vl_msg_id"],
137 // ["u32", "client_index"],
138 // ["u32", "context"],
139 // ["vl_api_uflow_idx_t", "idx"],
140 // ["vl_api_uflow_ent_t", "ent"],
141 // {"crc" : "0x6bfeac11"}
144 type UflowSetEnt struct {
149 func (*UflowSetEnt) GetMessageName() string {
150 return "uflow_set_ent"
152 func (*UflowSetEnt) GetMessageType() api.MessageType {
153 return api.RequestMessage
155 func (*UflowSetEnt) GetCrcString() string {
158 func NewUflowSetEnt() api.Message {
159 return &UflowSetEnt{}
162 // UflowSetEntReply represents the VPP binary API message 'uflow_set_ent_reply'.
163 // Generated from 'bin_api/uflow.api.json', line 43:
165 // ["uflow_set_ent_reply",
166 // ["u16", "_vl_msg_id"],
167 // ["u32", "context"],
168 // ["i32", "retval"],
169 // {"crc" : "0xc49943f5"}
172 type UflowSetEntReply struct {
176 func (*UflowSetEntReply) GetMessageName() string {
177 return "uflow_set_ent_reply"
179 func (*UflowSetEntReply) GetMessageType() api.MessageType {
180 return api.ReplyMessage
182 func (*UflowSetEntReply) GetCrcString() string {
185 func NewUflowSetEntReply() api.Message {
186 return &UflowSetEntReply{}
189 // UflowClrEnt represents the VPP binary API message 'uflow_clr_ent'.
190 // Generated from 'bin_api/uflow.api.json', line 49:
193 // ["u16", "_vl_msg_id"],
194 // ["u32", "client_index"],
195 // ["u32", "context"],
196 // ["vl_api_uflow_idx_t", "idx"],
197 // {"crc" : "0x9c0b61a7"}
200 type UflowClrEnt struct {
204 func (*UflowClrEnt) GetMessageName() string {
205 return "uflow_clr_ent"
207 func (*UflowClrEnt) GetMessageType() api.MessageType {
208 return api.RequestMessage
210 func (*UflowClrEnt) GetCrcString() string {
213 func NewUflowClrEnt() api.Message {
214 return &UflowClrEnt{}
217 // UflowClrEntReply represents the VPP binary API message 'uflow_clr_ent_reply'.
218 // Generated from 'bin_api/uflow.api.json', line 56:
220 // ["uflow_clr_ent_reply",
221 // ["u16", "_vl_msg_id"],
222 // ["u32", "context"],
223 // ["i32", "retval"],
224 // {"crc" : "0x6ca429f7"}
227 type UflowClrEntReply struct {
231 func (*UflowClrEntReply) GetMessageName() string {
232 return "uflow_clr_ent_reply"
234 func (*UflowClrEntReply) GetMessageType() api.MessageType {
235 return api.ReplyMessage
237 func (*UflowClrEntReply) GetCrcString() string {
240 func NewUflowClrEntReply() api.Message {
241 return &UflowClrEntReply{}
244 // UflowDump represents the VPP binary API message 'uflow_dump'.
245 // Generated from 'bin_api/uflow.api.json', line 62:
248 // ["u16", "_vl_msg_id"],
249 // ["u32", "client_index"],
250 // ["u32", "context"],
251 // {"crc" : "0xf0ac7601"}
254 type UflowDump struct {
257 func (*UflowDump) GetMessageName() string {
260 func (*UflowDump) GetMessageType() api.MessageType {
261 return api.RequestMessage
263 func (*UflowDump) GetCrcString() string {
266 func NewUflowDump() api.Message {
270 // UflowDumpReply represents the VPP binary API message 'uflow_dump_reply'.
271 // Generated from 'bin_api/uflow.api.json', line 68:
273 // ["uflow_dump_reply",
274 // ["u16", "_vl_msg_id"],
275 // ["u32", "context"],
276 // ["i32", "retval"],
278 // ["vl_api_uflow_row_t", "row", 0, "num"],
279 // {"crc" : "0x85b96451"}
282 type UflowDumpReply struct {
284 Num uint32 `struc:"sizeof=Row"`
288 func (*UflowDumpReply) GetMessageName() string {
289 return "uflow_dump_reply"
291 func (*UflowDumpReply) GetMessageType() api.MessageType {
292 return api.ReplyMessage
294 func (*UflowDumpReply) GetCrcString() string {
297 func NewUflowDumpReply() api.Message {
298 return &UflowDumpReply{}