1 // Code generated by GoVPP's binapi-generator. DO NOT EDIT.
9 api "git.fd.io/govpp.git/api"
12 // RPCService represents RPC service API for acl module.
13 type RPCService interface {
14 DumpACL(ctx context.Context, in *ACLDump) (RPCService_DumpACLClient, error)
15 DumpACLInterfaceEtypeWhitelist(ctx context.Context, in *ACLInterfaceEtypeWhitelistDump) (RPCService_DumpACLInterfaceEtypeWhitelistClient, error)
16 DumpACLInterfaceList(ctx context.Context, in *ACLInterfaceListDump) (RPCService_DumpACLInterfaceListClient, error)
17 DumpMacipACL(ctx context.Context, in *MacipACLDump) (RPCService_DumpMacipACLClient, error)
18 DumpMacipACLInterfaceList(ctx context.Context, in *MacipACLInterfaceListDump) (RPCService_DumpMacipACLInterfaceListClient, error)
19 ACLAddReplace(ctx context.Context, in *ACLAddReplace) (*ACLAddReplaceReply, error)
20 ACLDel(ctx context.Context, in *ACLDel) (*ACLDelReply, error)
21 ACLInterfaceAddDel(ctx context.Context, in *ACLInterfaceAddDel) (*ACLInterfaceAddDelReply, error)
22 ACLInterfaceSetACLList(ctx context.Context, in *ACLInterfaceSetACLList) (*ACLInterfaceSetACLListReply, error)
23 ACLInterfaceSetEtypeWhitelist(ctx context.Context, in *ACLInterfaceSetEtypeWhitelist) (*ACLInterfaceSetEtypeWhitelistReply, error)
24 ACLPluginControlPing(ctx context.Context, in *ACLPluginControlPing) (*ACLPluginControlPingReply, error)
25 ACLPluginGetConnTableMaxEntries(ctx context.Context, in *ACLPluginGetConnTableMaxEntries) (*ACLPluginGetConnTableMaxEntriesReply, error)
26 ACLPluginGetVersion(ctx context.Context, in *ACLPluginGetVersion) (*ACLPluginGetVersionReply, error)
27 ACLStatsIntfCountersEnable(ctx context.Context, in *ACLStatsIntfCountersEnable) (*ACLStatsIntfCountersEnableReply, error)
28 MacipACLAdd(ctx context.Context, in *MacipACLAdd) (*MacipACLAddReply, error)
29 MacipACLAddReplace(ctx context.Context, in *MacipACLAddReplace) (*MacipACLAddReplaceReply, error)
30 MacipACLDel(ctx context.Context, in *MacipACLDel) (*MacipACLDelReply, error)
31 MacipACLInterfaceAddDel(ctx context.Context, in *MacipACLInterfaceAddDel) (*MacipACLInterfaceAddDelReply, error)
32 MacipACLInterfaceGet(ctx context.Context, in *MacipACLInterfaceGet) (*MacipACLInterfaceGetReply, error)
35 type serviceClient struct {
39 func NewServiceClient(ch api.Channel) RPCService {
40 return &serviceClient{ch}
43 func (c *serviceClient) DumpACL(ctx context.Context, in *ACLDump) (RPCService_DumpACLClient, error) {
44 stream := c.ch.SendMultiRequest(in)
45 x := &serviceClient_DumpACLClient{stream}
49 type RPCService_DumpACLClient interface {
50 Recv() (*ACLDetails, error)
53 type serviceClient_DumpACLClient struct {
57 func (c *serviceClient_DumpACLClient) Recv() (*ACLDetails, error) {
59 stop, err := c.MultiRequestCtx.ReceiveReply(m)
69 func (c *serviceClient) DumpACLInterfaceEtypeWhitelist(ctx context.Context, in *ACLInterfaceEtypeWhitelistDump) (RPCService_DumpACLInterfaceEtypeWhitelistClient, error) {
70 stream := c.ch.SendMultiRequest(in)
71 x := &serviceClient_DumpACLInterfaceEtypeWhitelistClient{stream}
75 type RPCService_DumpACLInterfaceEtypeWhitelistClient interface {
76 Recv() (*ACLInterfaceEtypeWhitelistDetails, error)
79 type serviceClient_DumpACLInterfaceEtypeWhitelistClient struct {
83 func (c *serviceClient_DumpACLInterfaceEtypeWhitelistClient) Recv() (*ACLInterfaceEtypeWhitelistDetails, error) {
84 m := new(ACLInterfaceEtypeWhitelistDetails)
85 stop, err := c.MultiRequestCtx.ReceiveReply(m)
95 func (c *serviceClient) DumpACLInterfaceList(ctx context.Context, in *ACLInterfaceListDump) (RPCService_DumpACLInterfaceListClient, error) {
96 stream := c.ch.SendMultiRequest(in)
97 x := &serviceClient_DumpACLInterfaceListClient{stream}
101 type RPCService_DumpACLInterfaceListClient interface {
102 Recv() (*ACLInterfaceListDetails, error)
105 type serviceClient_DumpACLInterfaceListClient struct {
109 func (c *serviceClient_DumpACLInterfaceListClient) Recv() (*ACLInterfaceListDetails, error) {
110 m := new(ACLInterfaceListDetails)
111 stop, err := c.MultiRequestCtx.ReceiveReply(m)
121 func (c *serviceClient) DumpMacipACL(ctx context.Context, in *MacipACLDump) (RPCService_DumpMacipACLClient, error) {
122 stream := c.ch.SendMultiRequest(in)
123 x := &serviceClient_DumpMacipACLClient{stream}
127 type RPCService_DumpMacipACLClient interface {
128 Recv() (*MacipACLDetails, error)
131 type serviceClient_DumpMacipACLClient struct {
135 func (c *serviceClient_DumpMacipACLClient) Recv() (*MacipACLDetails, error) {
136 m := new(MacipACLDetails)
137 stop, err := c.MultiRequestCtx.ReceiveReply(m)
147 func (c *serviceClient) DumpMacipACLInterfaceList(ctx context.Context, in *MacipACLInterfaceListDump) (RPCService_DumpMacipACLInterfaceListClient, error) {
148 stream := c.ch.SendMultiRequest(in)
149 x := &serviceClient_DumpMacipACLInterfaceListClient{stream}
153 type RPCService_DumpMacipACLInterfaceListClient interface {
154 Recv() (*MacipACLInterfaceListDetails, error)
157 type serviceClient_DumpMacipACLInterfaceListClient struct {
161 func (c *serviceClient_DumpMacipACLInterfaceListClient) Recv() (*MacipACLInterfaceListDetails, error) {
162 m := new(MacipACLInterfaceListDetails)
163 stop, err := c.MultiRequestCtx.ReceiveReply(m)
173 func (c *serviceClient) ACLAddReplace(ctx context.Context, in *ACLAddReplace) (*ACLAddReplaceReply, error) {
174 out := new(ACLAddReplaceReply)
175 err := c.ch.SendRequest(in).ReceiveReply(out)
182 func (c *serviceClient) ACLDel(ctx context.Context, in *ACLDel) (*ACLDelReply, error) {
183 out := new(ACLDelReply)
184 err := c.ch.SendRequest(in).ReceiveReply(out)
191 func (c *serviceClient) ACLInterfaceAddDel(ctx context.Context, in *ACLInterfaceAddDel) (*ACLInterfaceAddDelReply, error) {
192 out := new(ACLInterfaceAddDelReply)
193 err := c.ch.SendRequest(in).ReceiveReply(out)
200 func (c *serviceClient) ACLInterfaceSetACLList(ctx context.Context, in *ACLInterfaceSetACLList) (*ACLInterfaceSetACLListReply, error) {
201 out := new(ACLInterfaceSetACLListReply)
202 err := c.ch.SendRequest(in).ReceiveReply(out)
209 func (c *serviceClient) ACLInterfaceSetEtypeWhitelist(ctx context.Context, in *ACLInterfaceSetEtypeWhitelist) (*ACLInterfaceSetEtypeWhitelistReply, error) {
210 out := new(ACLInterfaceSetEtypeWhitelistReply)
211 err := c.ch.SendRequest(in).ReceiveReply(out)
218 func (c *serviceClient) ACLPluginControlPing(ctx context.Context, in *ACLPluginControlPing) (*ACLPluginControlPingReply, error) {
219 out := new(ACLPluginControlPingReply)
220 err := c.ch.SendRequest(in).ReceiveReply(out)
227 func (c *serviceClient) ACLPluginGetConnTableMaxEntries(ctx context.Context, in *ACLPluginGetConnTableMaxEntries) (*ACLPluginGetConnTableMaxEntriesReply, error) {
228 out := new(ACLPluginGetConnTableMaxEntriesReply)
229 err := c.ch.SendRequest(in).ReceiveReply(out)
236 func (c *serviceClient) ACLPluginGetVersion(ctx context.Context, in *ACLPluginGetVersion) (*ACLPluginGetVersionReply, error) {
237 out := new(ACLPluginGetVersionReply)
238 err := c.ch.SendRequest(in).ReceiveReply(out)
245 func (c *serviceClient) ACLStatsIntfCountersEnable(ctx context.Context, in *ACLStatsIntfCountersEnable) (*ACLStatsIntfCountersEnableReply, error) {
246 out := new(ACLStatsIntfCountersEnableReply)
247 err := c.ch.SendRequest(in).ReceiveReply(out)
254 func (c *serviceClient) MacipACLAdd(ctx context.Context, in *MacipACLAdd) (*MacipACLAddReply, error) {
255 out := new(MacipACLAddReply)
256 err := c.ch.SendRequest(in).ReceiveReply(out)
263 func (c *serviceClient) MacipACLAddReplace(ctx context.Context, in *MacipACLAddReplace) (*MacipACLAddReplaceReply, error) {
264 out := new(MacipACLAddReplaceReply)
265 err := c.ch.SendRequest(in).ReceiveReply(out)
272 func (c *serviceClient) MacipACLDel(ctx context.Context, in *MacipACLDel) (*MacipACLDelReply, error) {
273 out := new(MacipACLDelReply)
274 err := c.ch.SendRequest(in).ReceiveReply(out)
281 func (c *serviceClient) MacipACLInterfaceAddDel(ctx context.Context, in *MacipACLInterfaceAddDel) (*MacipACLInterfaceAddDelReply, error) {
282 out := new(MacipACLInterfaceAddDelReply)
283 err := c.ch.SendRequest(in).ReceiveReply(out)
290 func (c *serviceClient) MacipACLInterfaceGet(ctx context.Context, in *MacipACLInterfaceGet) (*MacipACLInterfaceGetReply, error) {
291 out := new(MacipACLInterfaceGetReply)
292 err := c.ch.SendRequest(in).ReceiveReply(out)
299 // Reference imports to suppress errors if they are not otherwise used.
300 var _ = api.RegisterMessage
301 var _ = context.Background