Documentation ¶
Overview ¶
Package mactime is a generated VPP binary API for 'mactime' module.
It consists of:
1 type 4 messages 2 services
Index ¶
Constants ¶
View Source
const ( // ModuleName is the name of this module. ModuleName = "mactime" // APIVersion is the API version of this module. APIVersion = "1.0.0" // VersionCrc is the CRC of this module. VersionCrc = 0xbfee791 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type MactimeAddDelRange ¶
type MactimeAddDelRange struct { IsAdd uint8 Drop uint8 Allow uint8 MacAddress []byte `struc:"[6]byte"` DeviceName []byte `struc:"[64]byte"` Count uint32 `struc:"sizeof=Ranges"` Ranges []TimeRange }
MactimeAddDelRange represents VPP binary API message 'mactime_add_del_range'.
func (*MactimeAddDelRange) GetCrcString ¶
func (*MactimeAddDelRange) GetCrcString() string
func (*MactimeAddDelRange) GetMessageName ¶
func (*MactimeAddDelRange) GetMessageName() string
func (*MactimeAddDelRange) GetMessageType ¶
func (*MactimeAddDelRange) GetMessageType() api.MessageType
func (*MactimeAddDelRange) Reset ¶
func (m *MactimeAddDelRange) Reset()
type MactimeAddDelRangeReply ¶
type MactimeAddDelRangeReply struct {
Retval int32
}
MactimeAddDelRangeReply represents VPP binary API message 'mactime_add_del_range_reply'.
func (*MactimeAddDelRangeReply) GetCrcString ¶
func (*MactimeAddDelRangeReply) GetCrcString() string
func (*MactimeAddDelRangeReply) GetMessageName ¶
func (*MactimeAddDelRangeReply) GetMessageName() string
func (*MactimeAddDelRangeReply) GetMessageType ¶
func (*MactimeAddDelRangeReply) GetMessageType() api.MessageType
func (*MactimeAddDelRangeReply) Reset ¶
func (m *MactimeAddDelRangeReply) Reset()
type MactimeEnableDisable ¶
MactimeEnableDisable represents VPP binary API message 'mactime_enable_disable'.
func (*MactimeEnableDisable) GetCrcString ¶
func (*MactimeEnableDisable) GetCrcString() string
func (*MactimeEnableDisable) GetMessageName ¶
func (*MactimeEnableDisable) GetMessageName() string
func (*MactimeEnableDisable) GetMessageType ¶
func (*MactimeEnableDisable) GetMessageType() api.MessageType
func (*MactimeEnableDisable) Reset ¶
func (m *MactimeEnableDisable) Reset()
type MactimeEnableDisableReply ¶
type MactimeEnableDisableReply struct {
Retval int32
}
MactimeEnableDisableReply represents VPP binary API message 'mactime_enable_disable_reply'.
func (*MactimeEnableDisableReply) GetCrcString ¶
func (*MactimeEnableDisableReply) GetCrcString() string
func (*MactimeEnableDisableReply) GetMessageName ¶
func (*MactimeEnableDisableReply) GetMessageName() string
func (*MactimeEnableDisableReply) GetMessageType ¶
func (*MactimeEnableDisableReply) GetMessageType() api.MessageType
func (*MactimeEnableDisableReply) Reset ¶
func (m *MactimeEnableDisableReply) Reset()
type RPCService ¶
type RPCService interface { MactimeAddDelRange(ctx context.Context, in *MactimeAddDelRange) (*MactimeAddDelRangeReply, error) MactimeEnableDisable(ctx context.Context, in *MactimeEnableDisable) (*MactimeEnableDisableReply, error) }
RPCService represents RPC service API for mactime module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
Click to show internal directories.
Click to hide internal directories.