1 // Code generated by GoVPP's binapi-generator. DO NOT EDIT.
3 package dhcp6_ia_na_client_cp
8 api "git.fd.io/govpp.git/api"
11 // RPCService defines RPC service dhcp6_ia_na_client_cp.
12 type RPCService interface {
13 DHCP6ClientEnableDisable(ctx context.Context, in *DHCP6ClientEnableDisable) (*DHCP6ClientEnableDisableReply, error)
16 type serviceClient struct {
20 func NewServiceClient(conn api.Connection) RPCService {
21 return &serviceClient{conn}
24 func (c *serviceClient) DHCP6ClientEnableDisable(ctx context.Context, in *DHCP6ClientEnableDisable) (*DHCP6ClientEnableDisableReply, error) {
25 out := new(DHCP6ClientEnableDisableReply)
26 err := c.conn.Invoke(ctx, in, out)
30 return out, api.RetvalToVPPApiError(out.Retval)