Documentation ¶
Overview ¶
Package avf is a generated VPP binary API for 'avf' module.
It consists of:
4 messages 2 services
Index ¶
Constants ¶
View Source
const ( // ModuleName is the name of this module. ModuleName = "avf" // APIVersion is the API version of this module. APIVersion = "1.0.0" // VersionCrc is the CRC of this module. VersionCrc = 0x71cc3938 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type AvfCreate ¶
type AvfCreate struct { PciAddr uint32 EnableElog int32 RxqNum uint16 RxqSize uint16 TxqSize uint16 }
AvfCreate represents VPP binary API message 'avf_create'.
func (*AvfCreate) GetCrcString ¶
func (*AvfCreate) GetMessageName ¶
func (*AvfCreate) GetMessageType ¶
func (*AvfCreate) GetMessageType() api.MessageType
type AvfCreateReply ¶
AvfCreateReply represents VPP binary API message 'avf_create_reply'.
func (*AvfCreateReply) GetCrcString ¶
func (*AvfCreateReply) GetCrcString() string
func (*AvfCreateReply) GetMessageName ¶
func (*AvfCreateReply) GetMessageName() string
func (*AvfCreateReply) GetMessageType ¶
func (*AvfCreateReply) GetMessageType() api.MessageType
func (*AvfCreateReply) Reset ¶
func (m *AvfCreateReply) Reset()
type AvfDelete ¶
type AvfDelete struct {
SwIfIndex uint32
}
AvfDelete represents VPP binary API message 'avf_delete'.
func (*AvfDelete) GetCrcString ¶
func (*AvfDelete) GetMessageName ¶
func (*AvfDelete) GetMessageType ¶
func (*AvfDelete) GetMessageType() api.MessageType
type AvfDeleteReply ¶
type AvfDeleteReply struct {
Retval int32
}
AvfDeleteReply represents VPP binary API message 'avf_delete_reply'.
func (*AvfDeleteReply) GetCrcString ¶
func (*AvfDeleteReply) GetCrcString() string
func (*AvfDeleteReply) GetMessageName ¶
func (*AvfDeleteReply) GetMessageName() string
func (*AvfDeleteReply) GetMessageType ¶
func (*AvfDeleteReply) GetMessageType() api.MessageType
func (*AvfDeleteReply) Reset ¶
func (m *AvfDeleteReply) Reset()
type RPCService ¶
type RPCService interface { AvfCreate(ctx context.Context, in *AvfCreate) (*AvfCreateReply, error) AvfDelete(ctx context.Context, in *AvfDelete) (*AvfDeleteReply, error) }
RPCService represents RPC service API for avf module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
Click to show internal directories.
Click to hide internal directories.