Documentation ¶
Overview ¶
Package nsim is a generated VPP binary API for 'nsim' module.
It consists of:
4 messages 2 services
Index ¶
Constants ¶
View Source
const ( // ModuleName is the name of this module. ModuleName = "nsim" // APIVersion is the API version of this module. APIVersion = "1.1.0" // VersionCrc is the CRC of this module. VersionCrc = 0x40628889 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type NsimConfigure ¶
type NsimConfigure struct { DelayInUsec uint32 AveragePacketSize uint32 BandwidthInBitsPerSecond uint64 PacketsPerDrop uint32 }
NsimConfigure represents VPP binary API message 'nsim_configure'.
func (*NsimConfigure) GetCrcString ¶
func (*NsimConfigure) GetCrcString() string
func (*NsimConfigure) GetMessageName ¶
func (*NsimConfigure) GetMessageName() string
func (*NsimConfigure) GetMessageType ¶
func (*NsimConfigure) GetMessageType() api.MessageType
func (*NsimConfigure) Reset ¶
func (m *NsimConfigure) Reset()
type NsimConfigureReply ¶
type NsimConfigureReply struct {
Retval int32
}
NsimConfigureReply represents VPP binary API message 'nsim_configure_reply'.
func (*NsimConfigureReply) GetCrcString ¶
func (*NsimConfigureReply) GetCrcString() string
func (*NsimConfigureReply) GetMessageName ¶
func (*NsimConfigureReply) GetMessageName() string
func (*NsimConfigureReply) GetMessageType ¶
func (*NsimConfigureReply) GetMessageType() api.MessageType
func (*NsimConfigureReply) Reset ¶
func (m *NsimConfigureReply) Reset()
type NsimEnableDisable ¶
NsimEnableDisable represents VPP binary API message 'nsim_enable_disable'.
func (*NsimEnableDisable) GetCrcString ¶
func (*NsimEnableDisable) GetCrcString() string
func (*NsimEnableDisable) GetMessageName ¶
func (*NsimEnableDisable) GetMessageName() string
func (*NsimEnableDisable) GetMessageType ¶
func (*NsimEnableDisable) GetMessageType() api.MessageType
func (*NsimEnableDisable) Reset ¶
func (m *NsimEnableDisable) Reset()
type NsimEnableDisableReply ¶
type NsimEnableDisableReply struct {
Retval int32
}
NsimEnableDisableReply represents VPP binary API message 'nsim_enable_disable_reply'.
func (*NsimEnableDisableReply) GetCrcString ¶
func (*NsimEnableDisableReply) GetCrcString() string
func (*NsimEnableDisableReply) GetMessageName ¶
func (*NsimEnableDisableReply) GetMessageName() string
func (*NsimEnableDisableReply) GetMessageType ¶
func (*NsimEnableDisableReply) GetMessageType() api.MessageType
func (*NsimEnableDisableReply) Reset ¶
func (m *NsimEnableDisableReply) Reset()
type RPCService ¶
type RPCService interface { NsimConfigure(ctx context.Context, in *NsimConfigure) (*NsimConfigureReply, error) NsimEnableDisable(ctx context.Context, in *NsimEnableDisable) (*NsimEnableDisableReply, error) }
RPCService represents RPC service API for nsim module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
Click to show internal directories.
Click to hide internal directories.