1 // Code generated by GoVPP's binapi-generator. DO NOT EDIT.
2 // source: /usr/share/vpp/api/plugins/acl.api.json
5 Package acl is a generated VPP binary API for 'acl' module.
17 api "git.fd.io/govpp.git/api"
18 struc "github.com/lunixbochs/struc"
24 // ModuleName is the name of this module.
26 // APIVersion is the API version of this module.
28 // VersionCrc is the CRC of this module.
29 VersionCrc = 0x8ed22cb9
32 // ACLRule represents VPP binary API type 'acl_rule'.
36 SrcIPAddr []byte `struc:"[16]byte"`
38 DstIPAddr []byte `struc:"[16]byte"`
41 SrcportOrIcmptypeFirst uint16
42 SrcportOrIcmptypeLast uint16
43 DstportOrIcmpcodeFirst uint16
44 DstportOrIcmpcodeLast uint16
49 func (*ACLRule) GetTypeName() string {
52 func (*ACLRule) GetCrcString() string {
56 // MacipACLRule represents VPP binary API type 'macip_acl_rule'.
57 type MacipACLRule struct {
60 SrcMac []byte `struc:"[6]byte"`
61 SrcMacMask []byte `struc:"[6]byte"`
62 SrcIPAddr []byte `struc:"[16]byte"`
66 func (*MacipACLRule) GetTypeName() string {
67 return "macip_acl_rule"
69 func (*MacipACLRule) GetCrcString() string {
73 // ACLAddReplace represents VPP binary API message 'acl_add_replace'.
74 type ACLAddReplace struct {
76 Tag []byte `struc:"[64]byte"`
77 Count uint32 `struc:"sizeof=R"`
81 func (*ACLAddReplace) GetMessageName() string {
82 return "acl_add_replace"
84 func (*ACLAddReplace) GetCrcString() string {
87 func (*ACLAddReplace) GetMessageType() api.MessageType {
88 return api.RequestMessage
91 // ACLAddReplaceReply represents VPP binary API message 'acl_add_replace_reply'.
92 type ACLAddReplaceReply struct {
97 func (*ACLAddReplaceReply) GetMessageName() string {
98 return "acl_add_replace_reply"
100 func (*ACLAddReplaceReply) GetCrcString() string {
103 func (*ACLAddReplaceReply) GetMessageType() api.MessageType {
104 return api.ReplyMessage
107 // ACLDel represents VPP binary API message 'acl_del'.
112 func (*ACLDel) GetMessageName() string {
115 func (*ACLDel) GetCrcString() string {
118 func (*ACLDel) GetMessageType() api.MessageType {
119 return api.RequestMessage
122 // ACLDelReply represents VPP binary API message 'acl_del_reply'.
123 type ACLDelReply struct {
127 func (*ACLDelReply) GetMessageName() string {
128 return "acl_del_reply"
130 func (*ACLDelReply) GetCrcString() string {
133 func (*ACLDelReply) GetMessageType() api.MessageType {
134 return api.ReplyMessage
137 // ACLDetails represents VPP binary API message 'acl_details'.
138 type ACLDetails struct {
140 Tag []byte `struc:"[64]byte"`
141 Count uint32 `struc:"sizeof=R"`
145 func (*ACLDetails) GetMessageName() string {
148 func (*ACLDetails) GetCrcString() string {
151 func (*ACLDetails) GetMessageType() api.MessageType {
152 return api.ReplyMessage
155 // ACLDump represents VPP binary API message 'acl_dump'.
156 type ACLDump struct {
160 func (*ACLDump) GetMessageName() string {
163 func (*ACLDump) GetCrcString() string {
166 func (*ACLDump) GetMessageType() api.MessageType {
167 return api.RequestMessage
170 // ACLInterfaceAddDel represents VPP binary API message 'acl_interface_add_del'.
171 type ACLInterfaceAddDel struct {
178 func (*ACLInterfaceAddDel) GetMessageName() string {
179 return "acl_interface_add_del"
181 func (*ACLInterfaceAddDel) GetCrcString() string {
184 func (*ACLInterfaceAddDel) GetMessageType() api.MessageType {
185 return api.RequestMessage
188 // ACLInterfaceAddDelReply represents VPP binary API message 'acl_interface_add_del_reply'.
189 type ACLInterfaceAddDelReply struct {
193 func (*ACLInterfaceAddDelReply) GetMessageName() string {
194 return "acl_interface_add_del_reply"
196 func (*ACLInterfaceAddDelReply) GetCrcString() string {
199 func (*ACLInterfaceAddDelReply) GetMessageType() api.MessageType {
200 return api.ReplyMessage
203 // ACLInterfaceEtypeWhitelistDetails represents VPP binary API message 'acl_interface_etype_whitelist_details'.
204 type ACLInterfaceEtypeWhitelistDetails struct {
206 Count uint8 `struc:"sizeof=Whitelist"`
211 func (*ACLInterfaceEtypeWhitelistDetails) GetMessageName() string {
212 return "acl_interface_etype_whitelist_details"
214 func (*ACLInterfaceEtypeWhitelistDetails) GetCrcString() string {
217 func (*ACLInterfaceEtypeWhitelistDetails) GetMessageType() api.MessageType {
218 return api.ReplyMessage
221 // ACLInterfaceEtypeWhitelistDump represents VPP binary API message 'acl_interface_etype_whitelist_dump'.
222 type ACLInterfaceEtypeWhitelistDump struct {
226 func (*ACLInterfaceEtypeWhitelistDump) GetMessageName() string {
227 return "acl_interface_etype_whitelist_dump"
229 func (*ACLInterfaceEtypeWhitelistDump) GetCrcString() string {
232 func (*ACLInterfaceEtypeWhitelistDump) GetMessageType() api.MessageType {
233 return api.RequestMessage
236 // ACLInterfaceListDetails represents VPP binary API message 'acl_interface_list_details'.
237 type ACLInterfaceListDetails struct {
239 Count uint8 `struc:"sizeof=Acls"`
244 func (*ACLInterfaceListDetails) GetMessageName() string {
245 return "acl_interface_list_details"
247 func (*ACLInterfaceListDetails) GetCrcString() string {
250 func (*ACLInterfaceListDetails) GetMessageType() api.MessageType {
251 return api.ReplyMessage
254 // ACLInterfaceListDump represents VPP binary API message 'acl_interface_list_dump'.
255 type ACLInterfaceListDump struct {
259 func (*ACLInterfaceListDump) GetMessageName() string {
260 return "acl_interface_list_dump"
262 func (*ACLInterfaceListDump) GetCrcString() string {
265 func (*ACLInterfaceListDump) GetMessageType() api.MessageType {
266 return api.RequestMessage
269 // ACLInterfaceSetACLList represents VPP binary API message 'acl_interface_set_acl_list'.
270 type ACLInterfaceSetACLList struct {
272 Count uint8 `struc:"sizeof=Acls"`
277 func (*ACLInterfaceSetACLList) GetMessageName() string {
278 return "acl_interface_set_acl_list"
280 func (*ACLInterfaceSetACLList) GetCrcString() string {
283 func (*ACLInterfaceSetACLList) GetMessageType() api.MessageType {
284 return api.RequestMessage
287 // ACLInterfaceSetACLListReply represents VPP binary API message 'acl_interface_set_acl_list_reply'.
288 type ACLInterfaceSetACLListReply struct {
292 func (*ACLInterfaceSetACLListReply) GetMessageName() string {
293 return "acl_interface_set_acl_list_reply"
295 func (*ACLInterfaceSetACLListReply) GetCrcString() string {
298 func (*ACLInterfaceSetACLListReply) GetMessageType() api.MessageType {
299 return api.ReplyMessage
302 // ACLInterfaceSetEtypeWhitelist represents VPP binary API message 'acl_interface_set_etype_whitelist'.
303 type ACLInterfaceSetEtypeWhitelist struct {
305 Count uint8 `struc:"sizeof=Whitelist"`
310 func (*ACLInterfaceSetEtypeWhitelist) GetMessageName() string {
311 return "acl_interface_set_etype_whitelist"
313 func (*ACLInterfaceSetEtypeWhitelist) GetCrcString() string {
316 func (*ACLInterfaceSetEtypeWhitelist) GetMessageType() api.MessageType {
317 return api.RequestMessage
320 // ACLInterfaceSetEtypeWhitelistReply represents VPP binary API message 'acl_interface_set_etype_whitelist_reply'.
321 type ACLInterfaceSetEtypeWhitelistReply struct {
325 func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageName() string {
326 return "acl_interface_set_etype_whitelist_reply"
328 func (*ACLInterfaceSetEtypeWhitelistReply) GetCrcString() string {
331 func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageType() api.MessageType {
332 return api.ReplyMessage
335 // ACLPluginControlPing represents VPP binary API message 'acl_plugin_control_ping'.
336 type ACLPluginControlPing struct{}
338 func (*ACLPluginControlPing) GetMessageName() string {
339 return "acl_plugin_control_ping"
341 func (*ACLPluginControlPing) GetCrcString() string {
344 func (*ACLPluginControlPing) GetMessageType() api.MessageType {
345 return api.RequestMessage
348 // ACLPluginControlPingReply represents VPP binary API message 'acl_plugin_control_ping_reply'.
349 type ACLPluginControlPingReply struct {
355 func (*ACLPluginControlPingReply) GetMessageName() string {
356 return "acl_plugin_control_ping_reply"
358 func (*ACLPluginControlPingReply) GetCrcString() string {
361 func (*ACLPluginControlPingReply) GetMessageType() api.MessageType {
362 return api.ReplyMessage
365 // ACLPluginGetConnTableMaxEntries represents VPP binary API message 'acl_plugin_get_conn_table_max_entries'.
366 type ACLPluginGetConnTableMaxEntries struct{}
368 func (*ACLPluginGetConnTableMaxEntries) GetMessageName() string {
369 return "acl_plugin_get_conn_table_max_entries"
371 func (*ACLPluginGetConnTableMaxEntries) GetCrcString() string {
374 func (*ACLPluginGetConnTableMaxEntries) GetMessageType() api.MessageType {
375 return api.RequestMessage
378 // ACLPluginGetConnTableMaxEntriesReply represents VPP binary API message 'acl_plugin_get_conn_table_max_entries_reply'.
379 type ACLPluginGetConnTableMaxEntriesReply struct {
380 ConnTableMaxEntries uint64
383 func (*ACLPluginGetConnTableMaxEntriesReply) GetMessageName() string {
384 return "acl_plugin_get_conn_table_max_entries_reply"
386 func (*ACLPluginGetConnTableMaxEntriesReply) GetCrcString() string {
389 func (*ACLPluginGetConnTableMaxEntriesReply) GetMessageType() api.MessageType {
390 return api.ReplyMessage
393 // ACLPluginGetVersion represents VPP binary API message 'acl_plugin_get_version'.
394 type ACLPluginGetVersion struct{}
396 func (*ACLPluginGetVersion) GetMessageName() string {
397 return "acl_plugin_get_version"
399 func (*ACLPluginGetVersion) GetCrcString() string {
402 func (*ACLPluginGetVersion) GetMessageType() api.MessageType {
403 return api.RequestMessage
406 // ACLPluginGetVersionReply represents VPP binary API message 'acl_plugin_get_version_reply'.
407 type ACLPluginGetVersionReply struct {
412 func (*ACLPluginGetVersionReply) GetMessageName() string {
413 return "acl_plugin_get_version_reply"
415 func (*ACLPluginGetVersionReply) GetCrcString() string {
418 func (*ACLPluginGetVersionReply) GetMessageType() api.MessageType {
419 return api.ReplyMessage
422 // MacipACLAdd represents VPP binary API message 'macip_acl_add'.
423 type MacipACLAdd struct {
424 Tag []byte `struc:"[64]byte"`
425 Count uint32 `struc:"sizeof=R"`
429 func (*MacipACLAdd) GetMessageName() string {
430 return "macip_acl_add"
432 func (*MacipACLAdd) GetCrcString() string {
435 func (*MacipACLAdd) GetMessageType() api.MessageType {
436 return api.RequestMessage
439 // MacipACLAddReplace represents VPP binary API message 'macip_acl_add_replace'.
440 type MacipACLAddReplace struct {
442 Tag []byte `struc:"[64]byte"`
443 Count uint32 `struc:"sizeof=R"`
447 func (*MacipACLAddReplace) GetMessageName() string {
448 return "macip_acl_add_replace"
450 func (*MacipACLAddReplace) GetCrcString() string {
453 func (*MacipACLAddReplace) GetMessageType() api.MessageType {
454 return api.RequestMessage
457 // MacipACLAddReplaceReply represents VPP binary API message 'macip_acl_add_replace_reply'.
458 type MacipACLAddReplaceReply struct {
463 func (*MacipACLAddReplaceReply) GetMessageName() string {
464 return "macip_acl_add_replace_reply"
466 func (*MacipACLAddReplaceReply) GetCrcString() string {
469 func (*MacipACLAddReplaceReply) GetMessageType() api.MessageType {
470 return api.ReplyMessage
473 // MacipACLAddReply represents VPP binary API message 'macip_acl_add_reply'.
474 type MacipACLAddReply struct {
479 func (*MacipACLAddReply) GetMessageName() string {
480 return "macip_acl_add_reply"
482 func (*MacipACLAddReply) GetCrcString() string {
485 func (*MacipACLAddReply) GetMessageType() api.MessageType {
486 return api.ReplyMessage
489 // MacipACLDel represents VPP binary API message 'macip_acl_del'.
490 type MacipACLDel struct {
494 func (*MacipACLDel) GetMessageName() string {
495 return "macip_acl_del"
497 func (*MacipACLDel) GetCrcString() string {
500 func (*MacipACLDel) GetMessageType() api.MessageType {
501 return api.RequestMessage
504 // MacipACLDelReply represents VPP binary API message 'macip_acl_del_reply'.
505 type MacipACLDelReply struct {
509 func (*MacipACLDelReply) GetMessageName() string {
510 return "macip_acl_del_reply"
512 func (*MacipACLDelReply) GetCrcString() string {
515 func (*MacipACLDelReply) GetMessageType() api.MessageType {
516 return api.ReplyMessage
519 // MacipACLDetails represents VPP binary API message 'macip_acl_details'.
520 type MacipACLDetails struct {
522 Tag []byte `struc:"[64]byte"`
523 Count uint32 `struc:"sizeof=R"`
527 func (*MacipACLDetails) GetMessageName() string {
528 return "macip_acl_details"
530 func (*MacipACLDetails) GetCrcString() string {
533 func (*MacipACLDetails) GetMessageType() api.MessageType {
534 return api.ReplyMessage
537 // MacipACLDump represents VPP binary API message 'macip_acl_dump'.
538 type MacipACLDump struct {
542 func (*MacipACLDump) GetMessageName() string {
543 return "macip_acl_dump"
545 func (*MacipACLDump) GetCrcString() string {
548 func (*MacipACLDump) GetMessageType() api.MessageType {
549 return api.RequestMessage
552 // MacipACLInterfaceAddDel represents VPP binary API message 'macip_acl_interface_add_del'.
553 type MacipACLInterfaceAddDel struct {
559 func (*MacipACLInterfaceAddDel) GetMessageName() string {
560 return "macip_acl_interface_add_del"
562 func (*MacipACLInterfaceAddDel) GetCrcString() string {
565 func (*MacipACLInterfaceAddDel) GetMessageType() api.MessageType {
566 return api.RequestMessage
569 // MacipACLInterfaceAddDelReply represents VPP binary API message 'macip_acl_interface_add_del_reply'.
570 type MacipACLInterfaceAddDelReply struct {
574 func (*MacipACLInterfaceAddDelReply) GetMessageName() string {
575 return "macip_acl_interface_add_del_reply"
577 func (*MacipACLInterfaceAddDelReply) GetCrcString() string {
580 func (*MacipACLInterfaceAddDelReply) GetMessageType() api.MessageType {
581 return api.ReplyMessage
584 // MacipACLInterfaceGet represents VPP binary API message 'macip_acl_interface_get'.
585 type MacipACLInterfaceGet struct{}
587 func (*MacipACLInterfaceGet) GetMessageName() string {
588 return "macip_acl_interface_get"
590 func (*MacipACLInterfaceGet) GetCrcString() string {
593 func (*MacipACLInterfaceGet) GetMessageType() api.MessageType {
594 return api.RequestMessage
597 // MacipACLInterfaceGetReply represents VPP binary API message 'macip_acl_interface_get_reply'.
598 type MacipACLInterfaceGetReply struct {
599 Count uint32 `struc:"sizeof=Acls"`
603 func (*MacipACLInterfaceGetReply) GetMessageName() string {
604 return "macip_acl_interface_get_reply"
606 func (*MacipACLInterfaceGetReply) GetCrcString() string {
609 func (*MacipACLInterfaceGetReply) GetMessageType() api.MessageType {
610 return api.ReplyMessage
613 // MacipACLInterfaceListDetails represents VPP binary API message 'macip_acl_interface_list_details'.
614 type MacipACLInterfaceListDetails struct {
616 Count uint8 `struc:"sizeof=Acls"`
620 func (*MacipACLInterfaceListDetails) GetMessageName() string {
621 return "macip_acl_interface_list_details"
623 func (*MacipACLInterfaceListDetails) GetCrcString() string {
626 func (*MacipACLInterfaceListDetails) GetMessageType() api.MessageType {
627 return api.ReplyMessage
630 // MacipACLInterfaceListDump represents VPP binary API message 'macip_acl_interface_list_dump'.
631 type MacipACLInterfaceListDump struct {
635 func (*MacipACLInterfaceListDump) GetMessageName() string {
636 return "macip_acl_interface_list_dump"
638 func (*MacipACLInterfaceListDump) GetCrcString() string {
641 func (*MacipACLInterfaceListDump) GetMessageType() api.MessageType {
642 return api.RequestMessage
646 api.RegisterMessage((*ACLAddReplace)(nil), "acl.ACLAddReplace")
647 api.RegisterMessage((*ACLAddReplaceReply)(nil), "acl.ACLAddReplaceReply")
648 api.RegisterMessage((*ACLDel)(nil), "acl.ACLDel")
649 api.RegisterMessage((*ACLDelReply)(nil), "acl.ACLDelReply")
650 api.RegisterMessage((*ACLDetails)(nil), "acl.ACLDetails")
651 api.RegisterMessage((*ACLDump)(nil), "acl.ACLDump")
652 api.RegisterMessage((*ACLInterfaceAddDel)(nil), "acl.ACLInterfaceAddDel")
653 api.RegisterMessage((*ACLInterfaceAddDelReply)(nil), "acl.ACLInterfaceAddDelReply")
654 api.RegisterMessage((*ACLInterfaceEtypeWhitelistDetails)(nil), "acl.ACLInterfaceEtypeWhitelistDetails")
655 api.RegisterMessage((*ACLInterfaceEtypeWhitelistDump)(nil), "acl.ACLInterfaceEtypeWhitelistDump")
656 api.RegisterMessage((*ACLInterfaceListDetails)(nil), "acl.ACLInterfaceListDetails")
657 api.RegisterMessage((*ACLInterfaceListDump)(nil), "acl.ACLInterfaceListDump")
658 api.RegisterMessage((*ACLInterfaceSetACLList)(nil), "acl.ACLInterfaceSetACLList")
659 api.RegisterMessage((*ACLInterfaceSetACLListReply)(nil), "acl.ACLInterfaceSetACLListReply")
660 api.RegisterMessage((*ACLInterfaceSetEtypeWhitelist)(nil), "acl.ACLInterfaceSetEtypeWhitelist")
661 api.RegisterMessage((*ACLInterfaceSetEtypeWhitelistReply)(nil), "acl.ACLInterfaceSetEtypeWhitelistReply")
662 api.RegisterMessage((*ACLPluginControlPing)(nil), "acl.ACLPluginControlPing")
663 api.RegisterMessage((*ACLPluginControlPingReply)(nil), "acl.ACLPluginControlPingReply")
664 api.RegisterMessage((*ACLPluginGetConnTableMaxEntries)(nil), "acl.ACLPluginGetConnTableMaxEntries")
665 api.RegisterMessage((*ACLPluginGetConnTableMaxEntriesReply)(nil), "acl.ACLPluginGetConnTableMaxEntriesReply")
666 api.RegisterMessage((*ACLPluginGetVersion)(nil), "acl.ACLPluginGetVersion")
667 api.RegisterMessage((*ACLPluginGetVersionReply)(nil), "acl.ACLPluginGetVersionReply")
668 api.RegisterMessage((*MacipACLAdd)(nil), "acl.MacipACLAdd")
669 api.RegisterMessage((*MacipACLAddReplace)(nil), "acl.MacipACLAddReplace")
670 api.RegisterMessage((*MacipACLAddReplaceReply)(nil), "acl.MacipACLAddReplaceReply")
671 api.RegisterMessage((*MacipACLAddReply)(nil), "acl.MacipACLAddReply")
672 api.RegisterMessage((*MacipACLDel)(nil), "acl.MacipACLDel")
673 api.RegisterMessage((*MacipACLDelReply)(nil), "acl.MacipACLDelReply")
674 api.RegisterMessage((*MacipACLDetails)(nil), "acl.MacipACLDetails")
675 api.RegisterMessage((*MacipACLDump)(nil), "acl.MacipACLDump")
676 api.RegisterMessage((*MacipACLInterfaceAddDel)(nil), "acl.MacipACLInterfaceAddDel")
677 api.RegisterMessage((*MacipACLInterfaceAddDelReply)(nil), "acl.MacipACLInterfaceAddDelReply")
678 api.RegisterMessage((*MacipACLInterfaceGet)(nil), "acl.MacipACLInterfaceGet")
679 api.RegisterMessage((*MacipACLInterfaceGetReply)(nil), "acl.MacipACLInterfaceGetReply")
680 api.RegisterMessage((*MacipACLInterfaceListDetails)(nil), "acl.MacipACLInterfaceListDetails")
681 api.RegisterMessage((*MacipACLInterfaceListDump)(nil), "acl.MacipACLInterfaceListDump")
684 // Messages returns list of all messages in this module.
685 func AllMessages() []api.Message {
686 return []api.Message{
687 (*ACLAddReplace)(nil),
688 (*ACLAddReplaceReply)(nil),
693 (*ACLInterfaceAddDel)(nil),
694 (*ACLInterfaceAddDelReply)(nil),
695 (*ACLInterfaceEtypeWhitelistDetails)(nil),
696 (*ACLInterfaceEtypeWhitelistDump)(nil),
697 (*ACLInterfaceListDetails)(nil),
698 (*ACLInterfaceListDump)(nil),
699 (*ACLInterfaceSetACLList)(nil),
700 (*ACLInterfaceSetACLListReply)(nil),
701 (*ACLInterfaceSetEtypeWhitelist)(nil),
702 (*ACLInterfaceSetEtypeWhitelistReply)(nil),
703 (*ACLPluginControlPing)(nil),
704 (*ACLPluginControlPingReply)(nil),
705 (*ACLPluginGetConnTableMaxEntries)(nil),
706 (*ACLPluginGetConnTableMaxEntriesReply)(nil),
707 (*ACLPluginGetVersion)(nil),
708 (*ACLPluginGetVersionReply)(nil),
710 (*MacipACLAddReplace)(nil),
711 (*MacipACLAddReplaceReply)(nil),
712 (*MacipACLAddReply)(nil),
714 (*MacipACLDelReply)(nil),
715 (*MacipACLDetails)(nil),
716 (*MacipACLDump)(nil),
717 (*MacipACLInterfaceAddDel)(nil),
718 (*MacipACLInterfaceAddDelReply)(nil),
719 (*MacipACLInterfaceGet)(nil),
720 (*MacipACLInterfaceGetReply)(nil),
721 (*MacipACLInterfaceListDetails)(nil),
722 (*MacipACLInterfaceListDump)(nil),
726 // RPCService represents RPC service API for acl module.
727 type RPCService interface {
728 DumpACL(ctx context.Context, in *ACLDump) (RPCService_DumpACLClient, error)
729 DumpACLInterfaceEtypeWhitelist(ctx context.Context, in *ACLInterfaceEtypeWhitelistDump) (RPCService_DumpACLInterfaceEtypeWhitelistClient, error)
730 DumpACLInterfaceList(ctx context.Context, in *ACLInterfaceListDump) (RPCService_DumpACLInterfaceListClient, error)
731 DumpMacipACL(ctx context.Context, in *MacipACLDump) (RPCService_DumpMacipACLClient, error)
732 DumpMacipACLInterfaceList(ctx context.Context, in *MacipACLInterfaceListDump) (RPCService_DumpMacipACLInterfaceListClient, error)
733 ACLAddReplace(ctx context.Context, in *ACLAddReplace) (*ACLAddReplaceReply, error)
734 ACLDel(ctx context.Context, in *ACLDel) (*ACLDelReply, error)
735 ACLInterfaceAddDel(ctx context.Context, in *ACLInterfaceAddDel) (*ACLInterfaceAddDelReply, error)
736 ACLInterfaceSetACLList(ctx context.Context, in *ACLInterfaceSetACLList) (*ACLInterfaceSetACLListReply, error)
737 ACLInterfaceSetEtypeWhitelist(ctx context.Context, in *ACLInterfaceSetEtypeWhitelist) (*ACLInterfaceSetEtypeWhitelistReply, error)
738 ACLPluginControlPing(ctx context.Context, in *ACLPluginControlPing) (*ACLPluginControlPingReply, error)
739 ACLPluginGetConnTableMaxEntries(ctx context.Context, in *ACLPluginGetConnTableMaxEntries) (*ACLPluginGetConnTableMaxEntriesReply, error)
740 ACLPluginGetVersion(ctx context.Context, in *ACLPluginGetVersion) (*ACLPluginGetVersionReply, error)
741 MacipACLAdd(ctx context.Context, in *MacipACLAdd) (*MacipACLAddReply, error)
742 MacipACLAddReplace(ctx context.Context, in *MacipACLAddReplace) (*MacipACLAddReplaceReply, error)
743 MacipACLDel(ctx context.Context, in *MacipACLDel) (*MacipACLDelReply, error)
744 MacipACLInterfaceAddDel(ctx context.Context, in *MacipACLInterfaceAddDel) (*MacipACLInterfaceAddDelReply, error)
745 MacipACLInterfaceGet(ctx context.Context, in *MacipACLInterfaceGet) (*MacipACLInterfaceGetReply, error)
748 type serviceClient struct {
752 func NewServiceClient(ch api.Channel) RPCService {
753 return &serviceClient{ch}
756 func (c *serviceClient) DumpACL(ctx context.Context, in *ACLDump) (RPCService_DumpACLClient, error) {
757 stream := c.ch.SendMultiRequest(in)
758 x := &serviceClient_DumpACLClient{stream}
762 type RPCService_DumpACLClient interface {
763 Recv() (*ACLDetails, error)
766 type serviceClient_DumpACLClient struct {
770 func (c *serviceClient_DumpACLClient) Recv() (*ACLDetails, error) {
772 stop, err := c.MultiRequestCtx.ReceiveReply(m)
782 func (c *serviceClient) DumpACLInterfaceEtypeWhitelist(ctx context.Context, in *ACLInterfaceEtypeWhitelistDump) (RPCService_DumpACLInterfaceEtypeWhitelistClient, error) {
783 stream := c.ch.SendMultiRequest(in)
784 x := &serviceClient_DumpACLInterfaceEtypeWhitelistClient{stream}
788 type RPCService_DumpACLInterfaceEtypeWhitelistClient interface {
789 Recv() (*ACLInterfaceEtypeWhitelistDetails, error)
792 type serviceClient_DumpACLInterfaceEtypeWhitelistClient struct {
796 func (c *serviceClient_DumpACLInterfaceEtypeWhitelistClient) Recv() (*ACLInterfaceEtypeWhitelistDetails, error) {
797 m := new(ACLInterfaceEtypeWhitelistDetails)
798 stop, err := c.MultiRequestCtx.ReceiveReply(m)
808 func (c *serviceClient) DumpACLInterfaceList(ctx context.Context, in *ACLInterfaceListDump) (RPCService_DumpACLInterfaceListClient, error) {
809 stream := c.ch.SendMultiRequest(in)
810 x := &serviceClient_DumpACLInterfaceListClient{stream}
814 type RPCService_DumpACLInterfaceListClient interface {
815 Recv() (*ACLInterfaceListDetails, error)
818 type serviceClient_DumpACLInterfaceListClient struct {
822 func (c *serviceClient_DumpACLInterfaceListClient) Recv() (*ACLInterfaceListDetails, error) {
823 m := new(ACLInterfaceListDetails)
824 stop, err := c.MultiRequestCtx.ReceiveReply(m)
834 func (c *serviceClient) DumpMacipACL(ctx context.Context, in *MacipACLDump) (RPCService_DumpMacipACLClient, error) {
835 stream := c.ch.SendMultiRequest(in)
836 x := &serviceClient_DumpMacipACLClient{stream}
840 type RPCService_DumpMacipACLClient interface {
841 Recv() (*MacipACLDetails, error)
844 type serviceClient_DumpMacipACLClient struct {
848 func (c *serviceClient_DumpMacipACLClient) Recv() (*MacipACLDetails, error) {
849 m := new(MacipACLDetails)
850 stop, err := c.MultiRequestCtx.ReceiveReply(m)
860 func (c *serviceClient) DumpMacipACLInterfaceList(ctx context.Context, in *MacipACLInterfaceListDump) (RPCService_DumpMacipACLInterfaceListClient, error) {
861 stream := c.ch.SendMultiRequest(in)
862 x := &serviceClient_DumpMacipACLInterfaceListClient{stream}
866 type RPCService_DumpMacipACLInterfaceListClient interface {
867 Recv() (*MacipACLInterfaceListDetails, error)
870 type serviceClient_DumpMacipACLInterfaceListClient struct {
874 func (c *serviceClient_DumpMacipACLInterfaceListClient) Recv() (*MacipACLInterfaceListDetails, error) {
875 m := new(MacipACLInterfaceListDetails)
876 stop, err := c.MultiRequestCtx.ReceiveReply(m)
886 func (c *serviceClient) ACLAddReplace(ctx context.Context, in *ACLAddReplace) (*ACLAddReplaceReply, error) {
887 out := new(ACLAddReplaceReply)
888 err := c.ch.SendRequest(in).ReceiveReply(out)
895 func (c *serviceClient) ACLDel(ctx context.Context, in *ACLDel) (*ACLDelReply, error) {
896 out := new(ACLDelReply)
897 err := c.ch.SendRequest(in).ReceiveReply(out)
904 func (c *serviceClient) ACLInterfaceAddDel(ctx context.Context, in *ACLInterfaceAddDel) (*ACLInterfaceAddDelReply, error) {
905 out := new(ACLInterfaceAddDelReply)
906 err := c.ch.SendRequest(in).ReceiveReply(out)
913 func (c *serviceClient) ACLInterfaceSetACLList(ctx context.Context, in *ACLInterfaceSetACLList) (*ACLInterfaceSetACLListReply, error) {
914 out := new(ACLInterfaceSetACLListReply)
915 err := c.ch.SendRequest(in).ReceiveReply(out)
922 func (c *serviceClient) ACLInterfaceSetEtypeWhitelist(ctx context.Context, in *ACLInterfaceSetEtypeWhitelist) (*ACLInterfaceSetEtypeWhitelistReply, error) {
923 out := new(ACLInterfaceSetEtypeWhitelistReply)
924 err := c.ch.SendRequest(in).ReceiveReply(out)
931 func (c *serviceClient) ACLPluginControlPing(ctx context.Context, in *ACLPluginControlPing) (*ACLPluginControlPingReply, error) {
932 out := new(ACLPluginControlPingReply)
933 err := c.ch.SendRequest(in).ReceiveReply(out)
940 func (c *serviceClient) ACLPluginGetConnTableMaxEntries(ctx context.Context, in *ACLPluginGetConnTableMaxEntries) (*ACLPluginGetConnTableMaxEntriesReply, error) {
941 out := new(ACLPluginGetConnTableMaxEntriesReply)
942 err := c.ch.SendRequest(in).ReceiveReply(out)
949 func (c *serviceClient) ACLPluginGetVersion(ctx context.Context, in *ACLPluginGetVersion) (*ACLPluginGetVersionReply, error) {
950 out := new(ACLPluginGetVersionReply)
951 err := c.ch.SendRequest(in).ReceiveReply(out)
958 func (c *serviceClient) MacipACLAdd(ctx context.Context, in *MacipACLAdd) (*MacipACLAddReply, error) {
959 out := new(MacipACLAddReply)
960 err := c.ch.SendRequest(in).ReceiveReply(out)
967 func (c *serviceClient) MacipACLAddReplace(ctx context.Context, in *MacipACLAddReplace) (*MacipACLAddReplaceReply, error) {
968 out := new(MacipACLAddReplaceReply)
969 err := c.ch.SendRequest(in).ReceiveReply(out)
976 func (c *serviceClient) MacipACLDel(ctx context.Context, in *MacipACLDel) (*MacipACLDelReply, error) {
977 out := new(MacipACLDelReply)
978 err := c.ch.SendRequest(in).ReceiveReply(out)
985 func (c *serviceClient) MacipACLInterfaceAddDel(ctx context.Context, in *MacipACLInterfaceAddDel) (*MacipACLInterfaceAddDelReply, error) {
986 out := new(MacipACLInterfaceAddDelReply)
987 err := c.ch.SendRequest(in).ReceiveReply(out)
994 func (c *serviceClient) MacipACLInterfaceGet(ctx context.Context, in *MacipACLInterfaceGet) (*MacipACLInterfaceGetReply, error) {
995 out := new(MacipACLInterfaceGetReply)
996 err := c.ch.SendRequest(in).ReceiveReply(out)
1003 // This is a compile-time assertion to ensure that this generated file
1004 // is compatible with the GoVPP api package it is being compiled against.
1005 // A compilation error at this line likely means your copy of the
1006 // GoVPP api package needs to be updated.
1007 const _ = api.GoVppAPIPackageIsVersion1 // please upgrade the GoVPP api package
1009 // Reference imports to suppress errors if they are not otherwise used.
1010 var _ = api.RegisterMessage
1011 var _ = bytes.NewBuffer
1012 var _ = context.Background
1014 var _ = strconv.Itoa