1 // Code generated by GoVPP's binapi-generator. DO NOT EDIT.
3 // binapi-generator: v0.3.5-56-gc0da1f2-dirty
5 // source: /usr/share/vpp/api/plugins/acl.api.json
7 // Package acl contains generated bindings for API file acl.api.
15 api "git.fd.io/govpp.git/api"
16 acl_types "git.fd.io/govpp.git/binapi/acl_types"
17 _ "git.fd.io/govpp.git/binapi/ethernet_types"
18 interface_types "git.fd.io/govpp.git/binapi/interface_types"
19 ip_types "git.fd.io/govpp.git/binapi/ip_types"
20 codec "git.fd.io/govpp.git/codec"
23 // This is a compile-time assertion to ensure that this generated file
24 // is compatible with the GoVPP api package it is being compiled against.
25 // A compilation error at this line likely means your copy of the
26 // GoVPP api package needs to be updated.
27 const _ = api.GoVppAPIPackageIsVersion2
32 VersionCrc = 0x4a805ebc
35 // ACLAddReplace defines message 'acl_add_replace'.
36 type ACLAddReplace struct {
37 ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
38 Tag string `binapi:"string[64],name=tag" json:"tag,omitempty"`
39 Count uint32 `binapi:"u32,name=count" json:"-"`
40 R []acl_types.ACLRule `binapi:"acl_rule[count],name=r" json:"r,omitempty"`
43 func (m *ACLAddReplace) Reset() { *m = ACLAddReplace{} }
44 func (*ACLAddReplace) GetMessageName() string { return "acl_add_replace" }
45 func (*ACLAddReplace) GetCrcString() string { return "ee5c2f18" }
46 func (*ACLAddReplace) GetMessageType() api.MessageType {
47 return api.RequestMessage
50 func (m *ACLAddReplace) Size() (size int) {
54 size += 4 // m.ACLIndex
57 for j1 := 0; j1 < len(m.R); j1++ {
58 var s1 acl_types.ACLRule
63 size += 1 // s1.IsPermit
64 size += 1 // s1.SrcPrefix.Address.Af
65 size += 1 * 16 // s1.SrcPrefix.Address.Un
66 size += 1 // s1.SrcPrefix.Len
67 size += 1 // s1.DstPrefix.Address.Af
68 size += 1 * 16 // s1.DstPrefix.Address.Un
69 size += 1 // s1.DstPrefix.Len
71 size += 2 // s1.SrcportOrIcmptypeFirst
72 size += 2 // s1.SrcportOrIcmptypeLast
73 size += 2 // s1.DstportOrIcmpcodeFirst
74 size += 2 // s1.DstportOrIcmpcodeLast
75 size += 1 // s1.TCPFlagsMask
76 size += 1 // s1.TCPFlagsValue
80 func (m *ACLAddReplace) Marshal(b []byte) ([]byte, error) {
82 b = make([]byte, m.Size())
84 buf := codec.NewBuffer(b)
85 buf.EncodeUint32(m.ACLIndex)
86 buf.EncodeString(m.Tag, 64)
87 buf.EncodeUint32(uint32(len(m.R)))
88 for j0 := 0; j0 < len(m.R); j0++ {
89 var v0 acl_types.ACLRule // R
93 buf.EncodeUint8(uint8(v0.IsPermit))
94 buf.EncodeUint8(uint8(v0.SrcPrefix.Address.Af))
95 buf.EncodeBytes(v0.SrcPrefix.Address.Un.XXX_UnionData[:], 16)
96 buf.EncodeUint8(v0.SrcPrefix.Len)
97 buf.EncodeUint8(uint8(v0.DstPrefix.Address.Af))
98 buf.EncodeBytes(v0.DstPrefix.Address.Un.XXX_UnionData[:], 16)
99 buf.EncodeUint8(v0.DstPrefix.Len)
100 buf.EncodeUint8(uint8(v0.Proto))
101 buf.EncodeUint16(v0.SrcportOrIcmptypeFirst)
102 buf.EncodeUint16(v0.SrcportOrIcmptypeLast)
103 buf.EncodeUint16(v0.DstportOrIcmpcodeFirst)
104 buf.EncodeUint16(v0.DstportOrIcmpcodeLast)
105 buf.EncodeUint8(v0.TCPFlagsMask)
106 buf.EncodeUint8(v0.TCPFlagsValue)
108 return buf.Bytes(), nil
110 func (m *ACLAddReplace) Unmarshal(b []byte) error {
111 buf := codec.NewBuffer(b)
112 m.ACLIndex = buf.DecodeUint32()
113 m.Tag = buf.DecodeString(64)
114 m.Count = buf.DecodeUint32()
115 m.R = make([]acl_types.ACLRule, m.Count)
116 for j0 := 0; j0 < len(m.R); j0++ {
117 m.R[j0].IsPermit = acl_types.ACLAction(buf.DecodeUint8())
118 m.R[j0].SrcPrefix.Address.Af = ip_types.AddressFamily(buf.DecodeUint8())
119 copy(m.R[j0].SrcPrefix.Address.Un.XXX_UnionData[:], buf.DecodeBytes(16))
120 m.R[j0].SrcPrefix.Len = buf.DecodeUint8()
121 m.R[j0].DstPrefix.Address.Af = ip_types.AddressFamily(buf.DecodeUint8())
122 copy(m.R[j0].DstPrefix.Address.Un.XXX_UnionData[:], buf.DecodeBytes(16))
123 m.R[j0].DstPrefix.Len = buf.DecodeUint8()
124 m.R[j0].Proto = ip_types.IPProto(buf.DecodeUint8())
125 m.R[j0].SrcportOrIcmptypeFirst = buf.DecodeUint16()
126 m.R[j0].SrcportOrIcmptypeLast = buf.DecodeUint16()
127 m.R[j0].DstportOrIcmpcodeFirst = buf.DecodeUint16()
128 m.R[j0].DstportOrIcmpcodeLast = buf.DecodeUint16()
129 m.R[j0].TCPFlagsMask = buf.DecodeUint8()
130 m.R[j0].TCPFlagsValue = buf.DecodeUint8()
135 // ACLAddReplaceReply defines message 'acl_add_replace_reply'.
136 type ACLAddReplaceReply struct {
137 ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
138 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
141 func (m *ACLAddReplaceReply) Reset() { *m = ACLAddReplaceReply{} }
142 func (*ACLAddReplaceReply) GetMessageName() string { return "acl_add_replace_reply" }
143 func (*ACLAddReplaceReply) GetCrcString() string { return "ac407b0c" }
144 func (*ACLAddReplaceReply) GetMessageType() api.MessageType {
145 return api.ReplyMessage
148 func (m *ACLAddReplaceReply) Size() (size int) {
152 size += 4 // m.ACLIndex
153 size += 4 // m.Retval
156 func (m *ACLAddReplaceReply) Marshal(b []byte) ([]byte, error) {
158 b = make([]byte, m.Size())
160 buf := codec.NewBuffer(b)
161 buf.EncodeUint32(m.ACLIndex)
162 buf.EncodeInt32(m.Retval)
163 return buf.Bytes(), nil
165 func (m *ACLAddReplaceReply) Unmarshal(b []byte) error {
166 buf := codec.NewBuffer(b)
167 m.ACLIndex = buf.DecodeUint32()
168 m.Retval = buf.DecodeInt32()
172 // ACLDel defines message 'acl_del'.
174 ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
177 func (m *ACLDel) Reset() { *m = ACLDel{} }
178 func (*ACLDel) GetMessageName() string { return "acl_del" }
179 func (*ACLDel) GetCrcString() string { return "ef34fea4" }
180 func (*ACLDel) GetMessageType() api.MessageType {
181 return api.RequestMessage
184 func (m *ACLDel) Size() (size int) {
188 size += 4 // m.ACLIndex
191 func (m *ACLDel) Marshal(b []byte) ([]byte, error) {
193 b = make([]byte, m.Size())
195 buf := codec.NewBuffer(b)
196 buf.EncodeUint32(m.ACLIndex)
197 return buf.Bytes(), nil
199 func (m *ACLDel) Unmarshal(b []byte) error {
200 buf := codec.NewBuffer(b)
201 m.ACLIndex = buf.DecodeUint32()
205 // ACLDelReply defines message 'acl_del_reply'.
206 type ACLDelReply struct {
207 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
210 func (m *ACLDelReply) Reset() { *m = ACLDelReply{} }
211 func (*ACLDelReply) GetMessageName() string { return "acl_del_reply" }
212 func (*ACLDelReply) GetCrcString() string { return "e8d4e804" }
213 func (*ACLDelReply) GetMessageType() api.MessageType {
214 return api.ReplyMessage
217 func (m *ACLDelReply) Size() (size int) {
221 size += 4 // m.Retval
224 func (m *ACLDelReply) Marshal(b []byte) ([]byte, error) {
226 b = make([]byte, m.Size())
228 buf := codec.NewBuffer(b)
229 buf.EncodeInt32(m.Retval)
230 return buf.Bytes(), nil
232 func (m *ACLDelReply) Unmarshal(b []byte) error {
233 buf := codec.NewBuffer(b)
234 m.Retval = buf.DecodeInt32()
238 // ACLDetails defines message 'acl_details'.
239 type ACLDetails struct {
240 ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
241 Tag string `binapi:"string[64],name=tag" json:"tag,omitempty"`
242 Count uint32 `binapi:"u32,name=count" json:"-"`
243 R []acl_types.ACLRule `binapi:"acl_rule[count],name=r" json:"r,omitempty"`
246 func (m *ACLDetails) Reset() { *m = ACLDetails{} }
247 func (*ACLDetails) GetMessageName() string { return "acl_details" }
248 func (*ACLDetails) GetCrcString() string { return "95babae0" }
249 func (*ACLDetails) GetMessageType() api.MessageType {
250 return api.ReplyMessage
253 func (m *ACLDetails) Size() (size int) {
257 size += 4 // m.ACLIndex
260 for j1 := 0; j1 < len(m.R); j1++ {
261 var s1 acl_types.ACLRule
266 size += 1 // s1.IsPermit
267 size += 1 // s1.SrcPrefix.Address.Af
268 size += 1 * 16 // s1.SrcPrefix.Address.Un
269 size += 1 // s1.SrcPrefix.Len
270 size += 1 // s1.DstPrefix.Address.Af
271 size += 1 * 16 // s1.DstPrefix.Address.Un
272 size += 1 // s1.DstPrefix.Len
273 size += 1 // s1.Proto
274 size += 2 // s1.SrcportOrIcmptypeFirst
275 size += 2 // s1.SrcportOrIcmptypeLast
276 size += 2 // s1.DstportOrIcmpcodeFirst
277 size += 2 // s1.DstportOrIcmpcodeLast
278 size += 1 // s1.TCPFlagsMask
279 size += 1 // s1.TCPFlagsValue
283 func (m *ACLDetails) Marshal(b []byte) ([]byte, error) {
285 b = make([]byte, m.Size())
287 buf := codec.NewBuffer(b)
288 buf.EncodeUint32(m.ACLIndex)
289 buf.EncodeString(m.Tag, 64)
290 buf.EncodeUint32(uint32(len(m.R)))
291 for j0 := 0; j0 < len(m.R); j0++ {
292 var v0 acl_types.ACLRule // R
296 buf.EncodeUint8(uint8(v0.IsPermit))
297 buf.EncodeUint8(uint8(v0.SrcPrefix.Address.Af))
298 buf.EncodeBytes(v0.SrcPrefix.Address.Un.XXX_UnionData[:], 16)
299 buf.EncodeUint8(v0.SrcPrefix.Len)
300 buf.EncodeUint8(uint8(v0.DstPrefix.Address.Af))
301 buf.EncodeBytes(v0.DstPrefix.Address.Un.XXX_UnionData[:], 16)
302 buf.EncodeUint8(v0.DstPrefix.Len)
303 buf.EncodeUint8(uint8(v0.Proto))
304 buf.EncodeUint16(v0.SrcportOrIcmptypeFirst)
305 buf.EncodeUint16(v0.SrcportOrIcmptypeLast)
306 buf.EncodeUint16(v0.DstportOrIcmpcodeFirst)
307 buf.EncodeUint16(v0.DstportOrIcmpcodeLast)
308 buf.EncodeUint8(v0.TCPFlagsMask)
309 buf.EncodeUint8(v0.TCPFlagsValue)
311 return buf.Bytes(), nil
313 func (m *ACLDetails) Unmarshal(b []byte) error {
314 buf := codec.NewBuffer(b)
315 m.ACLIndex = buf.DecodeUint32()
316 m.Tag = buf.DecodeString(64)
317 m.Count = buf.DecodeUint32()
318 m.R = make([]acl_types.ACLRule, m.Count)
319 for j0 := 0; j0 < len(m.R); j0++ {
320 m.R[j0].IsPermit = acl_types.ACLAction(buf.DecodeUint8())
321 m.R[j0].SrcPrefix.Address.Af = ip_types.AddressFamily(buf.DecodeUint8())
322 copy(m.R[j0].SrcPrefix.Address.Un.XXX_UnionData[:], buf.DecodeBytes(16))
323 m.R[j0].SrcPrefix.Len = buf.DecodeUint8()
324 m.R[j0].DstPrefix.Address.Af = ip_types.AddressFamily(buf.DecodeUint8())
325 copy(m.R[j0].DstPrefix.Address.Un.XXX_UnionData[:], buf.DecodeBytes(16))
326 m.R[j0].DstPrefix.Len = buf.DecodeUint8()
327 m.R[j0].Proto = ip_types.IPProto(buf.DecodeUint8())
328 m.R[j0].SrcportOrIcmptypeFirst = buf.DecodeUint16()
329 m.R[j0].SrcportOrIcmptypeLast = buf.DecodeUint16()
330 m.R[j0].DstportOrIcmpcodeFirst = buf.DecodeUint16()
331 m.R[j0].DstportOrIcmpcodeLast = buf.DecodeUint16()
332 m.R[j0].TCPFlagsMask = buf.DecodeUint8()
333 m.R[j0].TCPFlagsValue = buf.DecodeUint8()
338 // ACLDump defines message 'acl_dump'.
339 type ACLDump struct {
340 ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
343 func (m *ACLDump) Reset() { *m = ACLDump{} }
344 func (*ACLDump) GetMessageName() string { return "acl_dump" }
345 func (*ACLDump) GetCrcString() string { return "ef34fea4" }
346 func (*ACLDump) GetMessageType() api.MessageType {
347 return api.RequestMessage
350 func (m *ACLDump) Size() (size int) {
354 size += 4 // m.ACLIndex
357 func (m *ACLDump) Marshal(b []byte) ([]byte, error) {
359 b = make([]byte, m.Size())
361 buf := codec.NewBuffer(b)
362 buf.EncodeUint32(m.ACLIndex)
363 return buf.Bytes(), nil
365 func (m *ACLDump) Unmarshal(b []byte) error {
366 buf := codec.NewBuffer(b)
367 m.ACLIndex = buf.DecodeUint32()
371 // ACLInterfaceAddDel defines message 'acl_interface_add_del'.
372 type ACLInterfaceAddDel struct {
373 IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
374 IsInput bool `binapi:"bool,name=is_input" json:"is_input,omitempty"`
375 SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
376 ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
379 func (m *ACLInterfaceAddDel) Reset() { *m = ACLInterfaceAddDel{} }
380 func (*ACLInterfaceAddDel) GetMessageName() string { return "acl_interface_add_del" }
381 func (*ACLInterfaceAddDel) GetCrcString() string { return "4b54bebd" }
382 func (*ACLInterfaceAddDel) GetMessageType() api.MessageType {
383 return api.RequestMessage
386 func (m *ACLInterfaceAddDel) Size() (size int) {
391 size += 1 // m.IsInput
392 size += 4 // m.SwIfIndex
393 size += 4 // m.ACLIndex
396 func (m *ACLInterfaceAddDel) Marshal(b []byte) ([]byte, error) {
398 b = make([]byte, m.Size())
400 buf := codec.NewBuffer(b)
401 buf.EncodeBool(m.IsAdd)
402 buf.EncodeBool(m.IsInput)
403 buf.EncodeUint32(uint32(m.SwIfIndex))
404 buf.EncodeUint32(m.ACLIndex)
405 return buf.Bytes(), nil
407 func (m *ACLInterfaceAddDel) Unmarshal(b []byte) error {
408 buf := codec.NewBuffer(b)
409 m.IsAdd = buf.DecodeBool()
410 m.IsInput = buf.DecodeBool()
411 m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
412 m.ACLIndex = buf.DecodeUint32()
416 // ACLInterfaceAddDelReply defines message 'acl_interface_add_del_reply'.
417 type ACLInterfaceAddDelReply struct {
418 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
421 func (m *ACLInterfaceAddDelReply) Reset() { *m = ACLInterfaceAddDelReply{} }
422 func (*ACLInterfaceAddDelReply) GetMessageName() string { return "acl_interface_add_del_reply" }
423 func (*ACLInterfaceAddDelReply) GetCrcString() string { return "e8d4e804" }
424 func (*ACLInterfaceAddDelReply) GetMessageType() api.MessageType {
425 return api.ReplyMessage
428 func (m *ACLInterfaceAddDelReply) Size() (size int) {
432 size += 4 // m.Retval
435 func (m *ACLInterfaceAddDelReply) Marshal(b []byte) ([]byte, error) {
437 b = make([]byte, m.Size())
439 buf := codec.NewBuffer(b)
440 buf.EncodeInt32(m.Retval)
441 return buf.Bytes(), nil
443 func (m *ACLInterfaceAddDelReply) Unmarshal(b []byte) error {
444 buf := codec.NewBuffer(b)
445 m.Retval = buf.DecodeInt32()
449 // ACLInterfaceEtypeWhitelistDetails defines message 'acl_interface_etype_whitelist_details'.
450 type ACLInterfaceEtypeWhitelistDetails struct {
451 SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
452 Count uint8 `binapi:"u8,name=count" json:"-"`
453 NInput uint8 `binapi:"u8,name=n_input" json:"n_input,omitempty"`
454 Whitelist []uint16 `binapi:"u16[count],name=whitelist" json:"whitelist,omitempty"`
457 func (m *ACLInterfaceEtypeWhitelistDetails) Reset() { *m = ACLInterfaceEtypeWhitelistDetails{} }
458 func (*ACLInterfaceEtypeWhitelistDetails) GetMessageName() string {
459 return "acl_interface_etype_whitelist_details"
461 func (*ACLInterfaceEtypeWhitelistDetails) GetCrcString() string { return "cc2bfded" }
462 func (*ACLInterfaceEtypeWhitelistDetails) GetMessageType() api.MessageType {
463 return api.ReplyMessage
466 func (m *ACLInterfaceEtypeWhitelistDetails) Size() (size int) {
470 size += 4 // m.SwIfIndex
472 size += 1 // m.NInput
473 size += 2 * len(m.Whitelist) // m.Whitelist
476 func (m *ACLInterfaceEtypeWhitelistDetails) Marshal(b []byte) ([]byte, error) {
478 b = make([]byte, m.Size())
480 buf := codec.NewBuffer(b)
481 buf.EncodeUint32(uint32(m.SwIfIndex))
482 buf.EncodeUint8(uint8(len(m.Whitelist)))
483 buf.EncodeUint8(m.NInput)
484 for i := 0; i < len(m.Whitelist); i++ {
486 if i < len(m.Whitelist) {
487 x = uint16(m.Whitelist[i])
491 return buf.Bytes(), nil
493 func (m *ACLInterfaceEtypeWhitelistDetails) Unmarshal(b []byte) error {
494 buf := codec.NewBuffer(b)
495 m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
496 m.Count = buf.DecodeUint8()
497 m.NInput = buf.DecodeUint8()
498 m.Whitelist = make([]uint16, m.Count)
499 for i := 0; i < len(m.Whitelist); i++ {
500 m.Whitelist[i] = buf.DecodeUint16()
505 // ACLInterfaceEtypeWhitelistDump defines message 'acl_interface_etype_whitelist_dump'.
506 type ACLInterfaceEtypeWhitelistDump struct {
507 SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
510 func (m *ACLInterfaceEtypeWhitelistDump) Reset() { *m = ACLInterfaceEtypeWhitelistDump{} }
511 func (*ACLInterfaceEtypeWhitelistDump) GetMessageName() string {
512 return "acl_interface_etype_whitelist_dump"
514 func (*ACLInterfaceEtypeWhitelistDump) GetCrcString() string { return "f9e6675e" }
515 func (*ACLInterfaceEtypeWhitelistDump) GetMessageType() api.MessageType {
516 return api.RequestMessage
519 func (m *ACLInterfaceEtypeWhitelistDump) Size() (size int) {
523 size += 4 // m.SwIfIndex
526 func (m *ACLInterfaceEtypeWhitelistDump) Marshal(b []byte) ([]byte, error) {
528 b = make([]byte, m.Size())
530 buf := codec.NewBuffer(b)
531 buf.EncodeUint32(uint32(m.SwIfIndex))
532 return buf.Bytes(), nil
534 func (m *ACLInterfaceEtypeWhitelistDump) Unmarshal(b []byte) error {
535 buf := codec.NewBuffer(b)
536 m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
540 // ACLInterfaceListDetails defines message 'acl_interface_list_details'.
541 type ACLInterfaceListDetails struct {
542 SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
543 Count uint8 `binapi:"u8,name=count" json:"-"`
544 NInput uint8 `binapi:"u8,name=n_input" json:"n_input,omitempty"`
545 Acls []uint32 `binapi:"u32[count],name=acls" json:"acls,omitempty"`
548 func (m *ACLInterfaceListDetails) Reset() { *m = ACLInterfaceListDetails{} }
549 func (*ACLInterfaceListDetails) GetMessageName() string { return "acl_interface_list_details" }
550 func (*ACLInterfaceListDetails) GetCrcString() string { return "e695d256" }
551 func (*ACLInterfaceListDetails) GetMessageType() api.MessageType {
552 return api.ReplyMessage
555 func (m *ACLInterfaceListDetails) Size() (size int) {
559 size += 4 // m.SwIfIndex
561 size += 1 // m.NInput
562 size += 4 * len(m.Acls) // m.Acls
565 func (m *ACLInterfaceListDetails) Marshal(b []byte) ([]byte, error) {
567 b = make([]byte, m.Size())
569 buf := codec.NewBuffer(b)
570 buf.EncodeUint32(uint32(m.SwIfIndex))
571 buf.EncodeUint8(uint8(len(m.Acls)))
572 buf.EncodeUint8(m.NInput)
573 for i := 0; i < len(m.Acls); i++ {
576 x = uint32(m.Acls[i])
580 return buf.Bytes(), nil
582 func (m *ACLInterfaceListDetails) Unmarshal(b []byte) error {
583 buf := codec.NewBuffer(b)
584 m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
585 m.Count = buf.DecodeUint8()
586 m.NInput = buf.DecodeUint8()
587 m.Acls = make([]uint32, m.Count)
588 for i := 0; i < len(m.Acls); i++ {
589 m.Acls[i] = buf.DecodeUint32()
594 // ACLInterfaceListDump defines message 'acl_interface_list_dump'.
595 type ACLInterfaceListDump struct {
596 SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index,default=4294967295" json:"sw_if_index,omitempty"`
599 func (m *ACLInterfaceListDump) Reset() { *m = ACLInterfaceListDump{} }
600 func (*ACLInterfaceListDump) GetMessageName() string { return "acl_interface_list_dump" }
601 func (*ACLInterfaceListDump) GetCrcString() string { return "f9e6675e" }
602 func (*ACLInterfaceListDump) GetMessageType() api.MessageType {
603 return api.RequestMessage
606 func (m *ACLInterfaceListDump) Size() (size int) {
610 size += 4 // m.SwIfIndex
613 func (m *ACLInterfaceListDump) Marshal(b []byte) ([]byte, error) {
615 b = make([]byte, m.Size())
617 buf := codec.NewBuffer(b)
618 buf.EncodeUint32(uint32(m.SwIfIndex))
619 return buf.Bytes(), nil
621 func (m *ACLInterfaceListDump) Unmarshal(b []byte) error {
622 buf := codec.NewBuffer(b)
623 m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
627 // ACLInterfaceSetACLList defines message 'acl_interface_set_acl_list'.
628 type ACLInterfaceSetACLList struct {
629 SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
630 Count uint8 `binapi:"u8,name=count" json:"-"`
631 NInput uint8 `binapi:"u8,name=n_input" json:"n_input,omitempty"`
632 Acls []uint32 `binapi:"u32[count],name=acls" json:"acls,omitempty"`
635 func (m *ACLInterfaceSetACLList) Reset() { *m = ACLInterfaceSetACLList{} }
636 func (*ACLInterfaceSetACLList) GetMessageName() string { return "acl_interface_set_acl_list" }
637 func (*ACLInterfaceSetACLList) GetCrcString() string { return "473982bd" }
638 func (*ACLInterfaceSetACLList) GetMessageType() api.MessageType {
639 return api.RequestMessage
642 func (m *ACLInterfaceSetACLList) Size() (size int) {
646 size += 4 // m.SwIfIndex
648 size += 1 // m.NInput
649 size += 4 * len(m.Acls) // m.Acls
652 func (m *ACLInterfaceSetACLList) Marshal(b []byte) ([]byte, error) {
654 b = make([]byte, m.Size())
656 buf := codec.NewBuffer(b)
657 buf.EncodeUint32(uint32(m.SwIfIndex))
658 buf.EncodeUint8(uint8(len(m.Acls)))
659 buf.EncodeUint8(m.NInput)
660 for i := 0; i < len(m.Acls); i++ {
663 x = uint32(m.Acls[i])
667 return buf.Bytes(), nil
669 func (m *ACLInterfaceSetACLList) Unmarshal(b []byte) error {
670 buf := codec.NewBuffer(b)
671 m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
672 m.Count = buf.DecodeUint8()
673 m.NInput = buf.DecodeUint8()
674 m.Acls = make([]uint32, m.Count)
675 for i := 0; i < len(m.Acls); i++ {
676 m.Acls[i] = buf.DecodeUint32()
681 // ACLInterfaceSetACLListReply defines message 'acl_interface_set_acl_list_reply'.
682 type ACLInterfaceSetACLListReply struct {
683 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
686 func (m *ACLInterfaceSetACLListReply) Reset() { *m = ACLInterfaceSetACLListReply{} }
687 func (*ACLInterfaceSetACLListReply) GetMessageName() string {
688 return "acl_interface_set_acl_list_reply"
690 func (*ACLInterfaceSetACLListReply) GetCrcString() string { return "e8d4e804" }
691 func (*ACLInterfaceSetACLListReply) GetMessageType() api.MessageType {
692 return api.ReplyMessage
695 func (m *ACLInterfaceSetACLListReply) Size() (size int) {
699 size += 4 // m.Retval
702 func (m *ACLInterfaceSetACLListReply) Marshal(b []byte) ([]byte, error) {
704 b = make([]byte, m.Size())
706 buf := codec.NewBuffer(b)
707 buf.EncodeInt32(m.Retval)
708 return buf.Bytes(), nil
710 func (m *ACLInterfaceSetACLListReply) Unmarshal(b []byte) error {
711 buf := codec.NewBuffer(b)
712 m.Retval = buf.DecodeInt32()
716 // ACLInterfaceSetEtypeWhitelist defines message 'acl_interface_set_etype_whitelist'.
717 type ACLInterfaceSetEtypeWhitelist struct {
718 SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
719 Count uint8 `binapi:"u8,name=count" json:"-"`
720 NInput uint8 `binapi:"u8,name=n_input" json:"n_input,omitempty"`
721 Whitelist []uint16 `binapi:"u16[count],name=whitelist" json:"whitelist,omitempty"`
724 func (m *ACLInterfaceSetEtypeWhitelist) Reset() { *m = ACLInterfaceSetEtypeWhitelist{} }
725 func (*ACLInterfaceSetEtypeWhitelist) GetMessageName() string {
726 return "acl_interface_set_etype_whitelist"
728 func (*ACLInterfaceSetEtypeWhitelist) GetCrcString() string { return "3f5c2d2d" }
729 func (*ACLInterfaceSetEtypeWhitelist) GetMessageType() api.MessageType {
730 return api.RequestMessage
733 func (m *ACLInterfaceSetEtypeWhitelist) Size() (size int) {
737 size += 4 // m.SwIfIndex
739 size += 1 // m.NInput
740 size += 2 * len(m.Whitelist) // m.Whitelist
743 func (m *ACLInterfaceSetEtypeWhitelist) Marshal(b []byte) ([]byte, error) {
745 b = make([]byte, m.Size())
747 buf := codec.NewBuffer(b)
748 buf.EncodeUint32(uint32(m.SwIfIndex))
749 buf.EncodeUint8(uint8(len(m.Whitelist)))
750 buf.EncodeUint8(m.NInput)
751 for i := 0; i < len(m.Whitelist); i++ {
753 if i < len(m.Whitelist) {
754 x = uint16(m.Whitelist[i])
758 return buf.Bytes(), nil
760 func (m *ACLInterfaceSetEtypeWhitelist) Unmarshal(b []byte) error {
761 buf := codec.NewBuffer(b)
762 m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
763 m.Count = buf.DecodeUint8()
764 m.NInput = buf.DecodeUint8()
765 m.Whitelist = make([]uint16, m.Count)
766 for i := 0; i < len(m.Whitelist); i++ {
767 m.Whitelist[i] = buf.DecodeUint16()
772 // ACLInterfaceSetEtypeWhitelistReply defines message 'acl_interface_set_etype_whitelist_reply'.
773 type ACLInterfaceSetEtypeWhitelistReply struct {
774 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
777 func (m *ACLInterfaceSetEtypeWhitelistReply) Reset() { *m = ACLInterfaceSetEtypeWhitelistReply{} }
778 func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageName() string {
779 return "acl_interface_set_etype_whitelist_reply"
781 func (*ACLInterfaceSetEtypeWhitelistReply) GetCrcString() string { return "e8d4e804" }
782 func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageType() api.MessageType {
783 return api.ReplyMessage
786 func (m *ACLInterfaceSetEtypeWhitelistReply) Size() (size int) {
790 size += 4 // m.Retval
793 func (m *ACLInterfaceSetEtypeWhitelistReply) Marshal(b []byte) ([]byte, error) {
795 b = make([]byte, m.Size())
797 buf := codec.NewBuffer(b)
798 buf.EncodeInt32(m.Retval)
799 return buf.Bytes(), nil
801 func (m *ACLInterfaceSetEtypeWhitelistReply) Unmarshal(b []byte) error {
802 buf := codec.NewBuffer(b)
803 m.Retval = buf.DecodeInt32()
807 // ACLPluginControlPing defines message 'acl_plugin_control_ping'.
808 type ACLPluginControlPing struct{}
810 func (m *ACLPluginControlPing) Reset() { *m = ACLPluginControlPing{} }
811 func (*ACLPluginControlPing) GetMessageName() string { return "acl_plugin_control_ping" }
812 func (*ACLPluginControlPing) GetCrcString() string { return "51077d14" }
813 func (*ACLPluginControlPing) GetMessageType() api.MessageType {
814 return api.RequestMessage
817 func (m *ACLPluginControlPing) Size() (size int) {
823 func (m *ACLPluginControlPing) Marshal(b []byte) ([]byte, error) {
825 b = make([]byte, m.Size())
827 buf := codec.NewBuffer(b)
828 return buf.Bytes(), nil
830 func (m *ACLPluginControlPing) Unmarshal(b []byte) error {
834 // ACLPluginControlPingReply defines message 'acl_plugin_control_ping_reply'.
835 type ACLPluginControlPingReply struct {
836 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
837 ClientIndex uint32 `binapi:"u32,name=client_index" json:"client_index,omitempty"`
838 VpePID uint32 `binapi:"u32,name=vpe_pid" json:"vpe_pid,omitempty"`
841 func (m *ACLPluginControlPingReply) Reset() { *m = ACLPluginControlPingReply{} }
842 func (*ACLPluginControlPingReply) GetMessageName() string { return "acl_plugin_control_ping_reply" }
843 func (*ACLPluginControlPingReply) GetCrcString() string { return "f6b0b8ca" }
844 func (*ACLPluginControlPingReply) GetMessageType() api.MessageType {
845 return api.ReplyMessage
848 func (m *ACLPluginControlPingReply) Size() (size int) {
852 size += 4 // m.Retval
853 size += 4 // m.ClientIndex
854 size += 4 // m.VpePID
857 func (m *ACLPluginControlPingReply) Marshal(b []byte) ([]byte, error) {
859 b = make([]byte, m.Size())
861 buf := codec.NewBuffer(b)
862 buf.EncodeInt32(m.Retval)
863 buf.EncodeUint32(m.ClientIndex)
864 buf.EncodeUint32(m.VpePID)
865 return buf.Bytes(), nil
867 func (m *ACLPluginControlPingReply) Unmarshal(b []byte) error {
868 buf := codec.NewBuffer(b)
869 m.Retval = buf.DecodeInt32()
870 m.ClientIndex = buf.DecodeUint32()
871 m.VpePID = buf.DecodeUint32()
875 // ACLPluginGetConnTableMaxEntries defines message 'acl_plugin_get_conn_table_max_entries'.
876 type ACLPluginGetConnTableMaxEntries struct{}
878 func (m *ACLPluginGetConnTableMaxEntries) Reset() { *m = ACLPluginGetConnTableMaxEntries{} }
879 func (*ACLPluginGetConnTableMaxEntries) GetMessageName() string {
880 return "acl_plugin_get_conn_table_max_entries"
882 func (*ACLPluginGetConnTableMaxEntries) GetCrcString() string { return "51077d14" }
883 func (*ACLPluginGetConnTableMaxEntries) GetMessageType() api.MessageType {
884 return api.RequestMessage
887 func (m *ACLPluginGetConnTableMaxEntries) Size() (size int) {
893 func (m *ACLPluginGetConnTableMaxEntries) Marshal(b []byte) ([]byte, error) {
895 b = make([]byte, m.Size())
897 buf := codec.NewBuffer(b)
898 return buf.Bytes(), nil
900 func (m *ACLPluginGetConnTableMaxEntries) Unmarshal(b []byte) error {
904 // ACLPluginGetConnTableMaxEntriesReply defines message 'acl_plugin_get_conn_table_max_entries_reply'.
905 type ACLPluginGetConnTableMaxEntriesReply struct {
906 ConnTableMaxEntries uint64 `binapi:"u64,name=conn_table_max_entries" json:"conn_table_max_entries,omitempty"`
909 func (m *ACLPluginGetConnTableMaxEntriesReply) Reset() { *m = ACLPluginGetConnTableMaxEntriesReply{} }
910 func (*ACLPluginGetConnTableMaxEntriesReply) GetMessageName() string {
911 return "acl_plugin_get_conn_table_max_entries_reply"
913 func (*ACLPluginGetConnTableMaxEntriesReply) GetCrcString() string { return "7a096d3d" }
914 func (*ACLPluginGetConnTableMaxEntriesReply) GetMessageType() api.MessageType {
915 return api.ReplyMessage
918 func (m *ACLPluginGetConnTableMaxEntriesReply) Size() (size int) {
922 size += 8 // m.ConnTableMaxEntries
925 func (m *ACLPluginGetConnTableMaxEntriesReply) Marshal(b []byte) ([]byte, error) {
927 b = make([]byte, m.Size())
929 buf := codec.NewBuffer(b)
930 buf.EncodeUint64(m.ConnTableMaxEntries)
931 return buf.Bytes(), nil
933 func (m *ACLPluginGetConnTableMaxEntriesReply) Unmarshal(b []byte) error {
934 buf := codec.NewBuffer(b)
935 m.ConnTableMaxEntries = buf.DecodeUint64()
939 // ACLPluginGetVersion defines message 'acl_plugin_get_version'.
940 type ACLPluginGetVersion struct{}
942 func (m *ACLPluginGetVersion) Reset() { *m = ACLPluginGetVersion{} }
943 func (*ACLPluginGetVersion) GetMessageName() string { return "acl_plugin_get_version" }
944 func (*ACLPluginGetVersion) GetCrcString() string { return "51077d14" }
945 func (*ACLPluginGetVersion) GetMessageType() api.MessageType {
946 return api.RequestMessage
949 func (m *ACLPluginGetVersion) Size() (size int) {
955 func (m *ACLPluginGetVersion) Marshal(b []byte) ([]byte, error) {
957 b = make([]byte, m.Size())
959 buf := codec.NewBuffer(b)
960 return buf.Bytes(), nil
962 func (m *ACLPluginGetVersion) Unmarshal(b []byte) error {
966 // ACLPluginGetVersionReply defines message 'acl_plugin_get_version_reply'.
967 type ACLPluginGetVersionReply struct {
968 Major uint32 `binapi:"u32,name=major" json:"major,omitempty"`
969 Minor uint32 `binapi:"u32,name=minor" json:"minor,omitempty"`
972 func (m *ACLPluginGetVersionReply) Reset() { *m = ACLPluginGetVersionReply{} }
973 func (*ACLPluginGetVersionReply) GetMessageName() string { return "acl_plugin_get_version_reply" }
974 func (*ACLPluginGetVersionReply) GetCrcString() string { return "9b32cf86" }
975 func (*ACLPluginGetVersionReply) GetMessageType() api.MessageType {
976 return api.ReplyMessage
979 func (m *ACLPluginGetVersionReply) Size() (size int) {
987 func (m *ACLPluginGetVersionReply) Marshal(b []byte) ([]byte, error) {
989 b = make([]byte, m.Size())
991 buf := codec.NewBuffer(b)
992 buf.EncodeUint32(m.Major)
993 buf.EncodeUint32(m.Minor)
994 return buf.Bytes(), nil
996 func (m *ACLPluginGetVersionReply) Unmarshal(b []byte) error {
997 buf := codec.NewBuffer(b)
998 m.Major = buf.DecodeUint32()
999 m.Minor = buf.DecodeUint32()
1003 // ACLStatsIntfCountersEnable defines message 'acl_stats_intf_counters_enable'.
1004 type ACLStatsIntfCountersEnable struct {
1005 Enable bool `binapi:"bool,name=enable" json:"enable,omitempty"`
1008 func (m *ACLStatsIntfCountersEnable) Reset() { *m = ACLStatsIntfCountersEnable{} }
1009 func (*ACLStatsIntfCountersEnable) GetMessageName() string { return "acl_stats_intf_counters_enable" }
1010 func (*ACLStatsIntfCountersEnable) GetCrcString() string { return "b3e225d2" }
1011 func (*ACLStatsIntfCountersEnable) GetMessageType() api.MessageType {
1012 return api.RequestMessage
1015 func (m *ACLStatsIntfCountersEnable) Size() (size int) {
1019 size += 1 // m.Enable
1022 func (m *ACLStatsIntfCountersEnable) Marshal(b []byte) ([]byte, error) {
1024 b = make([]byte, m.Size())
1026 buf := codec.NewBuffer(b)
1027 buf.EncodeBool(m.Enable)
1028 return buf.Bytes(), nil
1030 func (m *ACLStatsIntfCountersEnable) Unmarshal(b []byte) error {
1031 buf := codec.NewBuffer(b)
1032 m.Enable = buf.DecodeBool()
1036 // ACLStatsIntfCountersEnableReply defines message 'acl_stats_intf_counters_enable_reply'.
1037 type ACLStatsIntfCountersEnableReply struct {
1038 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1041 func (m *ACLStatsIntfCountersEnableReply) Reset() { *m = ACLStatsIntfCountersEnableReply{} }
1042 func (*ACLStatsIntfCountersEnableReply) GetMessageName() string {
1043 return "acl_stats_intf_counters_enable_reply"
1045 func (*ACLStatsIntfCountersEnableReply) GetCrcString() string { return "e8d4e804" }
1046 func (*ACLStatsIntfCountersEnableReply) GetMessageType() api.MessageType {
1047 return api.ReplyMessage
1050 func (m *ACLStatsIntfCountersEnableReply) Size() (size int) {
1054 size += 4 // m.Retval
1057 func (m *ACLStatsIntfCountersEnableReply) Marshal(b []byte) ([]byte, error) {
1059 b = make([]byte, m.Size())
1061 buf := codec.NewBuffer(b)
1062 buf.EncodeInt32(m.Retval)
1063 return buf.Bytes(), nil
1065 func (m *ACLStatsIntfCountersEnableReply) Unmarshal(b []byte) error {
1066 buf := codec.NewBuffer(b)
1067 m.Retval = buf.DecodeInt32()
1071 // MacipACLAdd defines message 'macip_acl_add'.
1072 type MacipACLAdd struct {
1073 Tag string `binapi:"string[64],name=tag" json:"tag,omitempty"`
1074 Count uint32 `binapi:"u32,name=count" json:"-"`
1075 R []acl_types.MacipACLRule `binapi:"macip_acl_rule[count],name=r" json:"r,omitempty"`
1078 func (m *MacipACLAdd) Reset() { *m = MacipACLAdd{} }
1079 func (*MacipACLAdd) GetMessageName() string { return "macip_acl_add" }
1080 func (*MacipACLAdd) GetCrcString() string { return "ce6fbad0" }
1081 func (*MacipACLAdd) GetMessageType() api.MessageType {
1082 return api.RequestMessage
1085 func (m *MacipACLAdd) Size() (size int) {
1090 size += 4 // m.Count
1091 for j1 := 0; j1 < len(m.R); j1++ {
1092 var s1 acl_types.MacipACLRule
1097 size += 1 // s1.IsPermit
1098 size += 1 * 6 // s1.SrcMac
1099 size += 1 * 6 // s1.SrcMacMask
1100 size += 1 // s1.SrcPrefix.Address.Af
1101 size += 1 * 16 // s1.SrcPrefix.Address.Un
1102 size += 1 // s1.SrcPrefix.Len
1106 func (m *MacipACLAdd) Marshal(b []byte) ([]byte, error) {
1108 b = make([]byte, m.Size())
1110 buf := codec.NewBuffer(b)
1111 buf.EncodeString(m.Tag, 64)
1112 buf.EncodeUint32(uint32(len(m.R)))
1113 for j0 := 0; j0 < len(m.R); j0++ {
1114 var v0 acl_types.MacipACLRule // R
1118 buf.EncodeUint8(uint8(v0.IsPermit))
1119 buf.EncodeBytes(v0.SrcMac[:], 6)
1120 buf.EncodeBytes(v0.SrcMacMask[:], 6)
1121 buf.EncodeUint8(uint8(v0.SrcPrefix.Address.Af))
1122 buf.EncodeBytes(v0.SrcPrefix.Address.Un.XXX_UnionData[:], 16)
1123 buf.EncodeUint8(v0.SrcPrefix.Len)
1125 return buf.Bytes(), nil
1127 func (m *MacipACLAdd) Unmarshal(b []byte) error {
1128 buf := codec.NewBuffer(b)
1129 m.Tag = buf.DecodeString(64)
1130 m.Count = buf.DecodeUint32()
1131 m.R = make([]acl_types.MacipACLRule, m.Count)
1132 for j0 := 0; j0 < len(m.R); j0++ {
1133 m.R[j0].IsPermit = acl_types.ACLAction(buf.DecodeUint8())
1134 copy(m.R[j0].SrcMac[:], buf.DecodeBytes(6))
1135 copy(m.R[j0].SrcMacMask[:], buf.DecodeBytes(6))
1136 m.R[j0].SrcPrefix.Address.Af = ip_types.AddressFamily(buf.DecodeUint8())
1137 copy(m.R[j0].SrcPrefix.Address.Un.XXX_UnionData[:], buf.DecodeBytes(16))
1138 m.R[j0].SrcPrefix.Len = buf.DecodeUint8()
1143 // MacipACLAddReplace defines message 'macip_acl_add_replace'.
1144 type MacipACLAddReplace struct {
1145 ACLIndex uint32 `binapi:"u32,name=acl_index,default=4294967295" json:"acl_index,omitempty"`
1146 Tag string `binapi:"string[64],name=tag" json:"tag,omitempty"`
1147 Count uint32 `binapi:"u32,name=count" json:"-"`
1148 R []acl_types.MacipACLRule `binapi:"macip_acl_rule[count],name=r" json:"r,omitempty"`
1151 func (m *MacipACLAddReplace) Reset() { *m = MacipACLAddReplace{} }
1152 func (*MacipACLAddReplace) GetMessageName() string { return "macip_acl_add_replace" }
1153 func (*MacipACLAddReplace) GetCrcString() string { return "2a461dd4" }
1154 func (*MacipACLAddReplace) GetMessageType() api.MessageType {
1155 return api.RequestMessage
1158 func (m *MacipACLAddReplace) Size() (size int) {
1162 size += 4 // m.ACLIndex
1164 size += 4 // m.Count
1165 for j1 := 0; j1 < len(m.R); j1++ {
1166 var s1 acl_types.MacipACLRule
1171 size += 1 // s1.IsPermit
1172 size += 1 * 6 // s1.SrcMac
1173 size += 1 * 6 // s1.SrcMacMask
1174 size += 1 // s1.SrcPrefix.Address.Af
1175 size += 1 * 16 // s1.SrcPrefix.Address.Un
1176 size += 1 // s1.SrcPrefix.Len
1180 func (m *MacipACLAddReplace) Marshal(b []byte) ([]byte, error) {
1182 b = make([]byte, m.Size())
1184 buf := codec.NewBuffer(b)
1185 buf.EncodeUint32(m.ACLIndex)
1186 buf.EncodeString(m.Tag, 64)
1187 buf.EncodeUint32(uint32(len(m.R)))
1188 for j0 := 0; j0 < len(m.R); j0++ {
1189 var v0 acl_types.MacipACLRule // R
1193 buf.EncodeUint8(uint8(v0.IsPermit))
1194 buf.EncodeBytes(v0.SrcMac[:], 6)
1195 buf.EncodeBytes(v0.SrcMacMask[:], 6)
1196 buf.EncodeUint8(uint8(v0.SrcPrefix.Address.Af))
1197 buf.EncodeBytes(v0.SrcPrefix.Address.Un.XXX_UnionData[:], 16)
1198 buf.EncodeUint8(v0.SrcPrefix.Len)
1200 return buf.Bytes(), nil
1202 func (m *MacipACLAddReplace) Unmarshal(b []byte) error {
1203 buf := codec.NewBuffer(b)
1204 m.ACLIndex = buf.DecodeUint32()
1205 m.Tag = buf.DecodeString(64)
1206 m.Count = buf.DecodeUint32()
1207 m.R = make([]acl_types.MacipACLRule, m.Count)
1208 for j0 := 0; j0 < len(m.R); j0++ {
1209 m.R[j0].IsPermit = acl_types.ACLAction(buf.DecodeUint8())
1210 copy(m.R[j0].SrcMac[:], buf.DecodeBytes(6))
1211 copy(m.R[j0].SrcMacMask[:], buf.DecodeBytes(6))
1212 m.R[j0].SrcPrefix.Address.Af = ip_types.AddressFamily(buf.DecodeUint8())
1213 copy(m.R[j0].SrcPrefix.Address.Un.XXX_UnionData[:], buf.DecodeBytes(16))
1214 m.R[j0].SrcPrefix.Len = buf.DecodeUint8()
1219 // MacipACLAddReplaceReply defines message 'macip_acl_add_replace_reply'.
1220 type MacipACLAddReplaceReply struct {
1221 ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
1222 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1225 func (m *MacipACLAddReplaceReply) Reset() { *m = MacipACLAddReplaceReply{} }
1226 func (*MacipACLAddReplaceReply) GetMessageName() string { return "macip_acl_add_replace_reply" }
1227 func (*MacipACLAddReplaceReply) GetCrcString() string { return "ac407b0c" }
1228 func (*MacipACLAddReplaceReply) GetMessageType() api.MessageType {
1229 return api.ReplyMessage
1232 func (m *MacipACLAddReplaceReply) Size() (size int) {
1236 size += 4 // m.ACLIndex
1237 size += 4 // m.Retval
1240 func (m *MacipACLAddReplaceReply) Marshal(b []byte) ([]byte, error) {
1242 b = make([]byte, m.Size())
1244 buf := codec.NewBuffer(b)
1245 buf.EncodeUint32(m.ACLIndex)
1246 buf.EncodeInt32(m.Retval)
1247 return buf.Bytes(), nil
1249 func (m *MacipACLAddReplaceReply) Unmarshal(b []byte) error {
1250 buf := codec.NewBuffer(b)
1251 m.ACLIndex = buf.DecodeUint32()
1252 m.Retval = buf.DecodeInt32()
1256 // MacipACLAddReply defines message 'macip_acl_add_reply'.
1257 type MacipACLAddReply struct {
1258 ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
1259 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1262 func (m *MacipACLAddReply) Reset() { *m = MacipACLAddReply{} }
1263 func (*MacipACLAddReply) GetMessageName() string { return "macip_acl_add_reply" }
1264 func (*MacipACLAddReply) GetCrcString() string { return "ac407b0c" }
1265 func (*MacipACLAddReply) GetMessageType() api.MessageType {
1266 return api.ReplyMessage
1269 func (m *MacipACLAddReply) Size() (size int) {
1273 size += 4 // m.ACLIndex
1274 size += 4 // m.Retval
1277 func (m *MacipACLAddReply) Marshal(b []byte) ([]byte, error) {
1279 b = make([]byte, m.Size())
1281 buf := codec.NewBuffer(b)
1282 buf.EncodeUint32(m.ACLIndex)
1283 buf.EncodeInt32(m.Retval)
1284 return buf.Bytes(), nil
1286 func (m *MacipACLAddReply) Unmarshal(b []byte) error {
1287 buf := codec.NewBuffer(b)
1288 m.ACLIndex = buf.DecodeUint32()
1289 m.Retval = buf.DecodeInt32()
1293 // MacipACLDel defines message 'macip_acl_del'.
1294 type MacipACLDel struct {
1295 ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
1298 func (m *MacipACLDel) Reset() { *m = MacipACLDel{} }
1299 func (*MacipACLDel) GetMessageName() string { return "macip_acl_del" }
1300 func (*MacipACLDel) GetCrcString() string { return "ef34fea4" }
1301 func (*MacipACLDel) GetMessageType() api.MessageType {
1302 return api.RequestMessage
1305 func (m *MacipACLDel) Size() (size int) {
1309 size += 4 // m.ACLIndex
1312 func (m *MacipACLDel) Marshal(b []byte) ([]byte, error) {
1314 b = make([]byte, m.Size())
1316 buf := codec.NewBuffer(b)
1317 buf.EncodeUint32(m.ACLIndex)
1318 return buf.Bytes(), nil
1320 func (m *MacipACLDel) Unmarshal(b []byte) error {
1321 buf := codec.NewBuffer(b)
1322 m.ACLIndex = buf.DecodeUint32()
1326 // MacipACLDelReply defines message 'macip_acl_del_reply'.
1327 type MacipACLDelReply struct {
1328 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1331 func (m *MacipACLDelReply) Reset() { *m = MacipACLDelReply{} }
1332 func (*MacipACLDelReply) GetMessageName() string { return "macip_acl_del_reply" }
1333 func (*MacipACLDelReply) GetCrcString() string { return "e8d4e804" }
1334 func (*MacipACLDelReply) GetMessageType() api.MessageType {
1335 return api.ReplyMessage
1338 func (m *MacipACLDelReply) Size() (size int) {
1342 size += 4 // m.Retval
1345 func (m *MacipACLDelReply) Marshal(b []byte) ([]byte, error) {
1347 b = make([]byte, m.Size())
1349 buf := codec.NewBuffer(b)
1350 buf.EncodeInt32(m.Retval)
1351 return buf.Bytes(), nil
1353 func (m *MacipACLDelReply) Unmarshal(b []byte) error {
1354 buf := codec.NewBuffer(b)
1355 m.Retval = buf.DecodeInt32()
1359 // MacipACLDetails defines message 'macip_acl_details'.
1360 type MacipACLDetails struct {
1361 ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
1362 Tag string `binapi:"string[64],name=tag" json:"tag,omitempty"`
1363 Count uint32 `binapi:"u32,name=count" json:"-"`
1364 R []acl_types.MacipACLRule `binapi:"macip_acl_rule[count],name=r" json:"r,omitempty"`
1367 func (m *MacipACLDetails) Reset() { *m = MacipACLDetails{} }
1368 func (*MacipACLDetails) GetMessageName() string { return "macip_acl_details" }
1369 func (*MacipACLDetails) GetCrcString() string { return "27135b59" }
1370 func (*MacipACLDetails) GetMessageType() api.MessageType {
1371 return api.ReplyMessage
1374 func (m *MacipACLDetails) Size() (size int) {
1378 size += 4 // m.ACLIndex
1380 size += 4 // m.Count
1381 for j1 := 0; j1 < len(m.R); j1++ {
1382 var s1 acl_types.MacipACLRule
1387 size += 1 // s1.IsPermit
1388 size += 1 * 6 // s1.SrcMac
1389 size += 1 * 6 // s1.SrcMacMask
1390 size += 1 // s1.SrcPrefix.Address.Af
1391 size += 1 * 16 // s1.SrcPrefix.Address.Un
1392 size += 1 // s1.SrcPrefix.Len
1396 func (m *MacipACLDetails) Marshal(b []byte) ([]byte, error) {
1398 b = make([]byte, m.Size())
1400 buf := codec.NewBuffer(b)
1401 buf.EncodeUint32(m.ACLIndex)
1402 buf.EncodeString(m.Tag, 64)
1403 buf.EncodeUint32(uint32(len(m.R)))
1404 for j0 := 0; j0 < len(m.R); j0++ {
1405 var v0 acl_types.MacipACLRule // R
1409 buf.EncodeUint8(uint8(v0.IsPermit))
1410 buf.EncodeBytes(v0.SrcMac[:], 6)
1411 buf.EncodeBytes(v0.SrcMacMask[:], 6)
1412 buf.EncodeUint8(uint8(v0.SrcPrefix.Address.Af))
1413 buf.EncodeBytes(v0.SrcPrefix.Address.Un.XXX_UnionData[:], 16)
1414 buf.EncodeUint8(v0.SrcPrefix.Len)
1416 return buf.Bytes(), nil
1418 func (m *MacipACLDetails) Unmarshal(b []byte) error {
1419 buf := codec.NewBuffer(b)
1420 m.ACLIndex = buf.DecodeUint32()
1421 m.Tag = buf.DecodeString(64)
1422 m.Count = buf.DecodeUint32()
1423 m.R = make([]acl_types.MacipACLRule, m.Count)
1424 for j0 := 0; j0 < len(m.R); j0++ {
1425 m.R[j0].IsPermit = acl_types.ACLAction(buf.DecodeUint8())
1426 copy(m.R[j0].SrcMac[:], buf.DecodeBytes(6))
1427 copy(m.R[j0].SrcMacMask[:], buf.DecodeBytes(6))
1428 m.R[j0].SrcPrefix.Address.Af = ip_types.AddressFamily(buf.DecodeUint8())
1429 copy(m.R[j0].SrcPrefix.Address.Un.XXX_UnionData[:], buf.DecodeBytes(16))
1430 m.R[j0].SrcPrefix.Len = buf.DecodeUint8()
1435 // MacipACLDump defines message 'macip_acl_dump'.
1436 type MacipACLDump struct {
1437 ACLIndex uint32 `binapi:"u32,name=acl_index,default=4294967295" json:"acl_index,omitempty"`
1440 func (m *MacipACLDump) Reset() { *m = MacipACLDump{} }
1441 func (*MacipACLDump) GetMessageName() string { return "macip_acl_dump" }
1442 func (*MacipACLDump) GetCrcString() string { return "ef34fea4" }
1443 func (*MacipACLDump) GetMessageType() api.MessageType {
1444 return api.RequestMessage
1447 func (m *MacipACLDump) Size() (size int) {
1451 size += 4 // m.ACLIndex
1454 func (m *MacipACLDump) Marshal(b []byte) ([]byte, error) {
1456 b = make([]byte, m.Size())
1458 buf := codec.NewBuffer(b)
1459 buf.EncodeUint32(m.ACLIndex)
1460 return buf.Bytes(), nil
1462 func (m *MacipACLDump) Unmarshal(b []byte) error {
1463 buf := codec.NewBuffer(b)
1464 m.ACLIndex = buf.DecodeUint32()
1468 // MacipACLInterfaceAddDel defines message 'macip_acl_interface_add_del'.
1469 type MacipACLInterfaceAddDel struct {
1470 IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
1471 SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
1472 ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
1475 func (m *MacipACLInterfaceAddDel) Reset() { *m = MacipACLInterfaceAddDel{} }
1476 func (*MacipACLInterfaceAddDel) GetMessageName() string { return "macip_acl_interface_add_del" }
1477 func (*MacipACLInterfaceAddDel) GetCrcString() string { return "4b8690b1" }
1478 func (*MacipACLInterfaceAddDel) GetMessageType() api.MessageType {
1479 return api.RequestMessage
1482 func (m *MacipACLInterfaceAddDel) Size() (size int) {
1486 size += 1 // m.IsAdd
1487 size += 4 // m.SwIfIndex
1488 size += 4 // m.ACLIndex
1491 func (m *MacipACLInterfaceAddDel) Marshal(b []byte) ([]byte, error) {
1493 b = make([]byte, m.Size())
1495 buf := codec.NewBuffer(b)
1496 buf.EncodeBool(m.IsAdd)
1497 buf.EncodeUint32(uint32(m.SwIfIndex))
1498 buf.EncodeUint32(m.ACLIndex)
1499 return buf.Bytes(), nil
1501 func (m *MacipACLInterfaceAddDel) Unmarshal(b []byte) error {
1502 buf := codec.NewBuffer(b)
1503 m.IsAdd = buf.DecodeBool()
1504 m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
1505 m.ACLIndex = buf.DecodeUint32()
1509 // MacipACLInterfaceAddDelReply defines message 'macip_acl_interface_add_del_reply'.
1510 type MacipACLInterfaceAddDelReply struct {
1511 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1514 func (m *MacipACLInterfaceAddDelReply) Reset() { *m = MacipACLInterfaceAddDelReply{} }
1515 func (*MacipACLInterfaceAddDelReply) GetMessageName() string {
1516 return "macip_acl_interface_add_del_reply"
1518 func (*MacipACLInterfaceAddDelReply) GetCrcString() string { return "e8d4e804" }
1519 func (*MacipACLInterfaceAddDelReply) GetMessageType() api.MessageType {
1520 return api.ReplyMessage
1523 func (m *MacipACLInterfaceAddDelReply) Size() (size int) {
1527 size += 4 // m.Retval
1530 func (m *MacipACLInterfaceAddDelReply) Marshal(b []byte) ([]byte, error) {
1532 b = make([]byte, m.Size())
1534 buf := codec.NewBuffer(b)
1535 buf.EncodeInt32(m.Retval)
1536 return buf.Bytes(), nil
1538 func (m *MacipACLInterfaceAddDelReply) Unmarshal(b []byte) error {
1539 buf := codec.NewBuffer(b)
1540 m.Retval = buf.DecodeInt32()
1544 // MacipACLInterfaceGet defines message 'macip_acl_interface_get'.
1545 type MacipACLInterfaceGet struct{}
1547 func (m *MacipACLInterfaceGet) Reset() { *m = MacipACLInterfaceGet{} }
1548 func (*MacipACLInterfaceGet) GetMessageName() string { return "macip_acl_interface_get" }
1549 func (*MacipACLInterfaceGet) GetCrcString() string { return "51077d14" }
1550 func (*MacipACLInterfaceGet) GetMessageType() api.MessageType {
1551 return api.RequestMessage
1554 func (m *MacipACLInterfaceGet) Size() (size int) {
1560 func (m *MacipACLInterfaceGet) Marshal(b []byte) ([]byte, error) {
1562 b = make([]byte, m.Size())
1564 buf := codec.NewBuffer(b)
1565 return buf.Bytes(), nil
1567 func (m *MacipACLInterfaceGet) Unmarshal(b []byte) error {
1571 // MacipACLInterfaceGetReply defines message 'macip_acl_interface_get_reply'.
1572 type MacipACLInterfaceGetReply struct {
1573 Count uint32 `binapi:"u32,name=count" json:"-"`
1574 Acls []uint32 `binapi:"u32[count],name=acls" json:"acls,omitempty"`
1577 func (m *MacipACLInterfaceGetReply) Reset() { *m = MacipACLInterfaceGetReply{} }
1578 func (*MacipACLInterfaceGetReply) GetMessageName() string { return "macip_acl_interface_get_reply" }
1579 func (*MacipACLInterfaceGetReply) GetCrcString() string { return "accf9b05" }
1580 func (*MacipACLInterfaceGetReply) GetMessageType() api.MessageType {
1581 return api.ReplyMessage
1584 func (m *MacipACLInterfaceGetReply) Size() (size int) {
1588 size += 4 // m.Count
1589 size += 4 * len(m.Acls) // m.Acls
1592 func (m *MacipACLInterfaceGetReply) Marshal(b []byte) ([]byte, error) {
1594 b = make([]byte, m.Size())
1596 buf := codec.NewBuffer(b)
1597 buf.EncodeUint32(uint32(len(m.Acls)))
1598 for i := 0; i < len(m.Acls); i++ {
1600 if i < len(m.Acls) {
1601 x = uint32(m.Acls[i])
1605 return buf.Bytes(), nil
1607 func (m *MacipACLInterfaceGetReply) Unmarshal(b []byte) error {
1608 buf := codec.NewBuffer(b)
1609 m.Count = buf.DecodeUint32()
1610 m.Acls = make([]uint32, m.Count)
1611 for i := 0; i < len(m.Acls); i++ {
1612 m.Acls[i] = buf.DecodeUint32()
1617 // MacipACLInterfaceListDetails defines message 'macip_acl_interface_list_details'.
1618 type MacipACLInterfaceListDetails struct {
1619 SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
1620 Count uint8 `binapi:"u8,name=count" json:"-"`
1621 Acls []uint32 `binapi:"u32[count],name=acls" json:"acls,omitempty"`
1624 func (m *MacipACLInterfaceListDetails) Reset() { *m = MacipACLInterfaceListDetails{} }
1625 func (*MacipACLInterfaceListDetails) GetMessageName() string {
1626 return "macip_acl_interface_list_details"
1628 func (*MacipACLInterfaceListDetails) GetCrcString() string { return "a0c5d56d" }
1629 func (*MacipACLInterfaceListDetails) GetMessageType() api.MessageType {
1630 return api.ReplyMessage
1633 func (m *MacipACLInterfaceListDetails) Size() (size int) {
1637 size += 4 // m.SwIfIndex
1638 size += 1 // m.Count
1639 size += 4 * len(m.Acls) // m.Acls
1642 func (m *MacipACLInterfaceListDetails) Marshal(b []byte) ([]byte, error) {
1644 b = make([]byte, m.Size())
1646 buf := codec.NewBuffer(b)
1647 buf.EncodeUint32(uint32(m.SwIfIndex))
1648 buf.EncodeUint8(uint8(len(m.Acls)))
1649 for i := 0; i < len(m.Acls); i++ {
1651 if i < len(m.Acls) {
1652 x = uint32(m.Acls[i])
1656 return buf.Bytes(), nil
1658 func (m *MacipACLInterfaceListDetails) Unmarshal(b []byte) error {
1659 buf := codec.NewBuffer(b)
1660 m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
1661 m.Count = buf.DecodeUint8()
1662 m.Acls = make([]uint32, m.Count)
1663 for i := 0; i < len(m.Acls); i++ {
1664 m.Acls[i] = buf.DecodeUint32()
1669 // MacipACLInterfaceListDump defines message 'macip_acl_interface_list_dump'.
1670 type MacipACLInterfaceListDump struct {
1671 SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
1674 func (m *MacipACLInterfaceListDump) Reset() { *m = MacipACLInterfaceListDump{} }
1675 func (*MacipACLInterfaceListDump) GetMessageName() string { return "macip_acl_interface_list_dump" }
1676 func (*MacipACLInterfaceListDump) GetCrcString() string { return "f9e6675e" }
1677 func (*MacipACLInterfaceListDump) GetMessageType() api.MessageType {
1678 return api.RequestMessage
1681 func (m *MacipACLInterfaceListDump) Size() (size int) {
1685 size += 4 // m.SwIfIndex
1688 func (m *MacipACLInterfaceListDump) Marshal(b []byte) ([]byte, error) {
1690 b = make([]byte, m.Size())
1692 buf := codec.NewBuffer(b)
1693 buf.EncodeUint32(uint32(m.SwIfIndex))
1694 return buf.Bytes(), nil
1696 func (m *MacipACLInterfaceListDump) Unmarshal(b []byte) error {
1697 buf := codec.NewBuffer(b)
1698 m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
1702 func init() { file_acl_binapi_init() }
1703 func file_acl_binapi_init() {
1704 api.RegisterMessage((*ACLAddReplace)(nil), "acl_add_replace_ee5c2f18")
1705 api.RegisterMessage((*ACLAddReplaceReply)(nil), "acl_add_replace_reply_ac407b0c")
1706 api.RegisterMessage((*ACLDel)(nil), "acl_del_ef34fea4")
1707 api.RegisterMessage((*ACLDelReply)(nil), "acl_del_reply_e8d4e804")
1708 api.RegisterMessage((*ACLDetails)(nil), "acl_details_95babae0")
1709 api.RegisterMessage((*ACLDump)(nil), "acl_dump_ef34fea4")
1710 api.RegisterMessage((*ACLInterfaceAddDel)(nil), "acl_interface_add_del_4b54bebd")
1711 api.RegisterMessage((*ACLInterfaceAddDelReply)(nil), "acl_interface_add_del_reply_e8d4e804")
1712 api.RegisterMessage((*ACLInterfaceEtypeWhitelistDetails)(nil), "acl_interface_etype_whitelist_details_cc2bfded")
1713 api.RegisterMessage((*ACLInterfaceEtypeWhitelistDump)(nil), "acl_interface_etype_whitelist_dump_f9e6675e")
1714 api.RegisterMessage((*ACLInterfaceListDetails)(nil), "acl_interface_list_details_e695d256")
1715 api.RegisterMessage((*ACLInterfaceListDump)(nil), "acl_interface_list_dump_f9e6675e")
1716 api.RegisterMessage((*ACLInterfaceSetACLList)(nil), "acl_interface_set_acl_list_473982bd")
1717 api.RegisterMessage((*ACLInterfaceSetACLListReply)(nil), "acl_interface_set_acl_list_reply_e8d4e804")
1718 api.RegisterMessage((*ACLInterfaceSetEtypeWhitelist)(nil), "acl_interface_set_etype_whitelist_3f5c2d2d")
1719 api.RegisterMessage((*ACLInterfaceSetEtypeWhitelistReply)(nil), "acl_interface_set_etype_whitelist_reply_e8d4e804")
1720 api.RegisterMessage((*ACLPluginControlPing)(nil), "acl_plugin_control_ping_51077d14")
1721 api.RegisterMessage((*ACLPluginControlPingReply)(nil), "acl_plugin_control_ping_reply_f6b0b8ca")
1722 api.RegisterMessage((*ACLPluginGetConnTableMaxEntries)(nil), "acl_plugin_get_conn_table_max_entries_51077d14")
1723 api.RegisterMessage((*ACLPluginGetConnTableMaxEntriesReply)(nil), "acl_plugin_get_conn_table_max_entries_reply_7a096d3d")
1724 api.RegisterMessage((*ACLPluginGetVersion)(nil), "acl_plugin_get_version_51077d14")
1725 api.RegisterMessage((*ACLPluginGetVersionReply)(nil), "acl_plugin_get_version_reply_9b32cf86")
1726 api.RegisterMessage((*ACLStatsIntfCountersEnable)(nil), "acl_stats_intf_counters_enable_b3e225d2")
1727 api.RegisterMessage((*ACLStatsIntfCountersEnableReply)(nil), "acl_stats_intf_counters_enable_reply_e8d4e804")
1728 api.RegisterMessage((*MacipACLAdd)(nil), "macip_acl_add_ce6fbad0")
1729 api.RegisterMessage((*MacipACLAddReplace)(nil), "macip_acl_add_replace_2a461dd4")
1730 api.RegisterMessage((*MacipACLAddReplaceReply)(nil), "macip_acl_add_replace_reply_ac407b0c")
1731 api.RegisterMessage((*MacipACLAddReply)(nil), "macip_acl_add_reply_ac407b0c")
1732 api.RegisterMessage((*MacipACLDel)(nil), "macip_acl_del_ef34fea4")
1733 api.RegisterMessage((*MacipACLDelReply)(nil), "macip_acl_del_reply_e8d4e804")
1734 api.RegisterMessage((*MacipACLDetails)(nil), "macip_acl_details_27135b59")
1735 api.RegisterMessage((*MacipACLDump)(nil), "macip_acl_dump_ef34fea4")
1736 api.RegisterMessage((*MacipACLInterfaceAddDel)(nil), "macip_acl_interface_add_del_4b8690b1")
1737 api.RegisterMessage((*MacipACLInterfaceAddDelReply)(nil), "macip_acl_interface_add_del_reply_e8d4e804")
1738 api.RegisterMessage((*MacipACLInterfaceGet)(nil), "macip_acl_interface_get_51077d14")
1739 api.RegisterMessage((*MacipACLInterfaceGetReply)(nil), "macip_acl_interface_get_reply_accf9b05")
1740 api.RegisterMessage((*MacipACLInterfaceListDetails)(nil), "macip_acl_interface_list_details_a0c5d56d")
1741 api.RegisterMessage((*MacipACLInterfaceListDump)(nil), "macip_acl_interface_list_dump_f9e6675e")
1744 // Messages returns list of all messages in this module.
1745 func AllMessages() []api.Message {
1746 return []api.Message{
1747 (*ACLAddReplace)(nil),
1748 (*ACLAddReplaceReply)(nil),
1750 (*ACLDelReply)(nil),
1753 (*ACLInterfaceAddDel)(nil),
1754 (*ACLInterfaceAddDelReply)(nil),
1755 (*ACLInterfaceEtypeWhitelistDetails)(nil),
1756 (*ACLInterfaceEtypeWhitelistDump)(nil),
1757 (*ACLInterfaceListDetails)(nil),
1758 (*ACLInterfaceListDump)(nil),
1759 (*ACLInterfaceSetACLList)(nil),
1760 (*ACLInterfaceSetACLListReply)(nil),
1761 (*ACLInterfaceSetEtypeWhitelist)(nil),
1762 (*ACLInterfaceSetEtypeWhitelistReply)(nil),
1763 (*ACLPluginControlPing)(nil),
1764 (*ACLPluginControlPingReply)(nil),
1765 (*ACLPluginGetConnTableMaxEntries)(nil),
1766 (*ACLPluginGetConnTableMaxEntriesReply)(nil),
1767 (*ACLPluginGetVersion)(nil),
1768 (*ACLPluginGetVersionReply)(nil),
1769 (*ACLStatsIntfCountersEnable)(nil),
1770 (*ACLStatsIntfCountersEnableReply)(nil),
1771 (*MacipACLAdd)(nil),
1772 (*MacipACLAddReplace)(nil),
1773 (*MacipACLAddReplaceReply)(nil),
1774 (*MacipACLAddReply)(nil),
1775 (*MacipACLDel)(nil),
1776 (*MacipACLDelReply)(nil),
1777 (*MacipACLDetails)(nil),
1778 (*MacipACLDump)(nil),
1779 (*MacipACLInterfaceAddDel)(nil),
1780 (*MacipACLInterfaceAddDelReply)(nil),
1781 (*MacipACLInterfaceGet)(nil),
1782 (*MacipACLInterfaceGetReply)(nil),
1783 (*MacipACLInterfaceListDetails)(nil),
1784 (*MacipACLInterfaceListDump)(nil),