Documentation ¶
Overview ¶
Package avf contains generated bindings for API file avf.api.
Contents:
4 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type AvfCreate
- type AvfCreateReply
- func (*AvfCreateReply) GetCrcString() string
- func (*AvfCreateReply) GetMessageName() string
- func (*AvfCreateReply) GetMessageType() api.MessageType
- func (m *AvfCreateReply) Marshal(b []byte) ([]byte, error)
- func (m *AvfCreateReply) Reset()
- func (m *AvfCreateReply) Size() (size int)
- func (m *AvfCreateReply) Unmarshal(b []byte) error
- type AvfDelete
- type AvfDeleteReply
- func (*AvfDeleteReply) GetCrcString() string
- func (*AvfDeleteReply) GetMessageName() string
- func (*AvfDeleteReply) GetMessageType() api.MessageType
- func (m *AvfDeleteReply) Marshal(b []byte) ([]byte, error)
- func (m *AvfDeleteReply) Reset()
- func (m *AvfDeleteReply) Size() (size int)
- func (m *AvfDeleteReply) Unmarshal(b []byte) error
- type RPCService
Constants ¶
View Source
const ( APIFile = "avf" APIVersion = "1.0.0" VersionCrc = 0x9f5a6a20 )
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 `binapi:"u32,name=pci_addr" json:"pci_addr,omitempty"` EnableElog int32 `binapi:"i32,name=enable_elog" json:"enable_elog,omitempty"` RxqNum uint16 `binapi:"u16,name=rxq_num" json:"rxq_num,omitempty"` RxqSize uint16 `binapi:"u16,name=rxq_size" json:"rxq_size,omitempty"` TxqSize uint16 `binapi:"u16,name=txq_size" json:"txq_size,omitempty"` }
AvfCreate defines message 'avf_create'.
func (*AvfCreate) GetCrcString ¶
func (*AvfCreate) GetMessageName ¶
func (*AvfCreate) GetMessageType ¶
func (*AvfCreate) GetMessageType() api.MessageType
type AvfCreateReply ¶
type AvfCreateReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` }
AvfCreateReply defines 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()
func (*AvfCreateReply) Size ¶
func (m *AvfCreateReply) Size() (size int)
func (*AvfCreateReply) Unmarshal ¶
func (m *AvfCreateReply) Unmarshal(b []byte) error
type AvfDelete ¶
type AvfDelete struct {
SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}
AvfDelete defines message 'avf_delete'.
func (*AvfDelete) GetCrcString ¶
func (*AvfDelete) GetMessageName ¶
func (*AvfDelete) GetMessageType ¶
func (*AvfDelete) GetMessageType() api.MessageType
type AvfDeleteReply ¶
type AvfDeleteReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
AvfDeleteReply defines 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()
func (*AvfDeleteReply) Size ¶
func (m *AvfDeleteReply) Size() (size int)
func (*AvfDeleteReply) Unmarshal ¶
func (m *AvfDeleteReply) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface { AvfCreate(ctx context.Context, in *AvfCreate) (*AvfCreateReply, error) AvfDelete(ctx context.Context, in *AvfDelete) (*AvfDeleteReply, error) }
RPCService defines RPC service avf.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
Click to show internal directories.
Click to hide internal directories.