Documentation ¶
Overview ¶
Package dhcp6_ia_na_client_cp contains generated bindings for API file dhcp6_ia_na_client_cp.api.
Contents: - 2 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type DHCP6ClientEnableDisable
- func (*DHCP6ClientEnableDisable) GetCrcString() string
- func (*DHCP6ClientEnableDisable) GetMessageName() string
- func (*DHCP6ClientEnableDisable) GetMessageType() api.MessageType
- func (m *DHCP6ClientEnableDisable) Marshal(b []byte) ([]byte, error)
- func (m *DHCP6ClientEnableDisable) Reset()
- func (m *DHCP6ClientEnableDisable) Size() (size int)
- func (m *DHCP6ClientEnableDisable) Unmarshal(b []byte) error
- type DHCP6ClientEnableDisableReply
- func (*DHCP6ClientEnableDisableReply) GetCrcString() string
- func (*DHCP6ClientEnableDisableReply) GetMessageName() string
- func (*DHCP6ClientEnableDisableReply) GetMessageType() api.MessageType
- func (m *DHCP6ClientEnableDisableReply) Marshal(b []byte) ([]byte, error)
- func (m *DHCP6ClientEnableDisableReply) Reset()
- func (m *DHCP6ClientEnableDisableReply) Size() (size int)
- func (m *DHCP6ClientEnableDisableReply) Unmarshal(b []byte) error
- type RPCService
Constants ¶
View Source
const ( APIFile = "dhcp6_ia_na_client_cp" APIVersion = "1.0.1" VersionCrc = 0x6e8abdfb )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type DHCP6ClientEnableDisable ¶
type DHCP6ClientEnableDisable struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Enable bool `binapi:"bool,name=enable" json:"enable,omitempty"` }
Enable/disable DHCPv6 client on interface
- sw_if_index - interface to enable/disable client on
- enable - 1 to enable, 0 to disable
DHCP6ClientEnableDisable defines message 'dhcp6_client_enable_disable'.
func (*DHCP6ClientEnableDisable) GetCrcString ¶
func (*DHCP6ClientEnableDisable) GetCrcString() string
func (*DHCP6ClientEnableDisable) GetMessageName ¶
func (*DHCP6ClientEnableDisable) GetMessageName() string
func (*DHCP6ClientEnableDisable) GetMessageType ¶
func (*DHCP6ClientEnableDisable) GetMessageType() api.MessageType
func (*DHCP6ClientEnableDisable) Marshal ¶
func (m *DHCP6ClientEnableDisable) Marshal(b []byte) ([]byte, error)
func (*DHCP6ClientEnableDisable) Reset ¶
func (m *DHCP6ClientEnableDisable) Reset()
func (*DHCP6ClientEnableDisable) Size ¶
func (m *DHCP6ClientEnableDisable) Size() (size int)
func (*DHCP6ClientEnableDisable) Unmarshal ¶
func (m *DHCP6ClientEnableDisable) Unmarshal(b []byte) error
type DHCP6ClientEnableDisableReply ¶
type DHCP6ClientEnableDisableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
DHCP6ClientEnableDisableReply defines message 'dhcp6_client_enable_disable_reply'.
func (*DHCP6ClientEnableDisableReply) GetCrcString ¶
func (*DHCP6ClientEnableDisableReply) GetCrcString() string
func (*DHCP6ClientEnableDisableReply) GetMessageName ¶
func (*DHCP6ClientEnableDisableReply) GetMessageName() string
func (*DHCP6ClientEnableDisableReply) GetMessageType ¶
func (*DHCP6ClientEnableDisableReply) GetMessageType() api.MessageType
func (*DHCP6ClientEnableDisableReply) Marshal ¶
func (m *DHCP6ClientEnableDisableReply) Marshal(b []byte) ([]byte, error)
func (*DHCP6ClientEnableDisableReply) Reset ¶
func (m *DHCP6ClientEnableDisableReply) Reset()
func (*DHCP6ClientEnableDisableReply) Size ¶
func (m *DHCP6ClientEnableDisableReply) Size() (size int)
func (*DHCP6ClientEnableDisableReply) Unmarshal ¶
func (m *DHCP6ClientEnableDisableReply) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface {
DHCP6ClientEnableDisable(ctx context.Context, in *DHCP6ClientEnableDisable) (*DHCP6ClientEnableDisableReply, error)
}
RPCService defines RPC service dhcp6_ia_na_client_cp.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
Click to show internal directories.
Click to hide internal directories.