Versions in this module Expand all Collapse all v0 v0.5.0 Jul 29, 2022 v0.4.0 Jan 17, 2022 Changes in this version + const APIFile + const APIVersion + const VersionCrc + var VirtioFlags_name = map[uint32]string + var VirtioFlags_value = map[string]uint32 + func AllMessages() []api.Message + type RPCService interface + SwInterfaceVirtioPciDump func(ctx context.Context, in *SwInterfaceVirtioPciDump) (RPCService_SwInterfaceVirtioPciDumpClient, error) + VirtioPciCreate func(ctx context.Context, in *VirtioPciCreate) (*VirtioPciCreateReply, error) + VirtioPciCreateV2 func(ctx context.Context, in *VirtioPciCreateV2) (*VirtioPciCreateV2Reply, error) + VirtioPciDelete func(ctx context.Context, in *VirtioPciDelete) (*VirtioPciDeleteReply, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_SwInterfaceVirtioPciDumpClient interface + Recv func() (*SwInterfaceVirtioPciDetails, error) + type SwInterfaceVirtioPciDetails struct + Features uint64 + MacAddr ethernet_types.MacAddress + PciAddr pci_types.PciAddress + RxRingSz uint16 + SwIfIndex interface_types.InterfaceIndex + TxRingSz uint16 + func (*SwInterfaceVirtioPciDetails) GetCrcString() string + func (*SwInterfaceVirtioPciDetails) GetMessageName() string + func (*SwInterfaceVirtioPciDetails) GetMessageType() api.MessageType + func (m *SwInterfaceVirtioPciDetails) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceVirtioPciDetails) Reset() + func (m *SwInterfaceVirtioPciDetails) Size() (size int) + func (m *SwInterfaceVirtioPciDetails) Unmarshal(b []byte) error + type SwInterfaceVirtioPciDump struct + func (*SwInterfaceVirtioPciDump) GetCrcString() string + func (*SwInterfaceVirtioPciDump) GetMessageName() string + func (*SwInterfaceVirtioPciDump) GetMessageType() api.MessageType + func (m *SwInterfaceVirtioPciDump) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceVirtioPciDump) Reset() + func (m *SwInterfaceVirtioPciDump) Size() (size int) + func (m *SwInterfaceVirtioPciDump) Unmarshal(b []byte) error + type VirtioFlags uint32 + const VIRTIO_API_FLAG_BUFFERING + const VIRTIO_API_FLAG_CSUM_OFFLOAD + const VIRTIO_API_FLAG_GRO_COALESCE + const VIRTIO_API_FLAG_GSO + const VIRTIO_API_FLAG_IN_ORDER + const VIRTIO_API_FLAG_PACKED + func (x VirtioFlags) String() string + type VirtioPciCreate struct + ChecksumOffloadEnabled bool + Features uint64 + GsoEnabled bool + MacAddress ethernet_types.MacAddress + PciAddr pci_types.PciAddress + UseRandomMac bool + func (*VirtioPciCreate) GetCrcString() string + func (*VirtioPciCreate) GetMessageName() string + func (*VirtioPciCreate) GetMessageType() api.MessageType + func (m *VirtioPciCreate) Marshal(b []byte) ([]byte, error) + func (m *VirtioPciCreate) Reset() + func (m *VirtioPciCreate) Size() (size int) + func (m *VirtioPciCreate) Unmarshal(b []byte) error + type VirtioPciCreateReply struct + Retval int32 + SwIfIndex interface_types.InterfaceIndex + func (*VirtioPciCreateReply) GetCrcString() string + func (*VirtioPciCreateReply) GetMessageName() string + func (*VirtioPciCreateReply) GetMessageType() api.MessageType + func (m *VirtioPciCreateReply) Marshal(b []byte) ([]byte, error) + func (m *VirtioPciCreateReply) Reset() + func (m *VirtioPciCreateReply) Size() (size int) + func (m *VirtioPciCreateReply) Unmarshal(b []byte) error + type VirtioPciCreateV2 struct + Features uint64 + MacAddress ethernet_types.MacAddress + PciAddr pci_types.PciAddress + UseRandomMac bool + VirtioFlags VirtioFlags + func (*VirtioPciCreateV2) GetCrcString() string + func (*VirtioPciCreateV2) GetMessageName() string + func (*VirtioPciCreateV2) GetMessageType() api.MessageType + func (m *VirtioPciCreateV2) Marshal(b []byte) ([]byte, error) + func (m *VirtioPciCreateV2) Reset() + func (m *VirtioPciCreateV2) Size() (size int) + func (m *VirtioPciCreateV2) Unmarshal(b []byte) error + type VirtioPciCreateV2Reply struct + Retval int32 + SwIfIndex interface_types.InterfaceIndex + func (*VirtioPciCreateV2Reply) GetCrcString() string + func (*VirtioPciCreateV2Reply) GetMessageName() string + func (*VirtioPciCreateV2Reply) GetMessageType() api.MessageType + func (m *VirtioPciCreateV2Reply) Marshal(b []byte) ([]byte, error) + func (m *VirtioPciCreateV2Reply) Reset() + func (m *VirtioPciCreateV2Reply) Size() (size int) + func (m *VirtioPciCreateV2Reply) Unmarshal(b []byte) error + type VirtioPciDelete struct + SwIfIndex interface_types.InterfaceIndex + func (*VirtioPciDelete) GetCrcString() string + func (*VirtioPciDelete) GetMessageName() string + func (*VirtioPciDelete) GetMessageType() api.MessageType + func (m *VirtioPciDelete) Marshal(b []byte) ([]byte, error) + func (m *VirtioPciDelete) Reset() + func (m *VirtioPciDelete) Size() (size int) + func (m *VirtioPciDelete) Unmarshal(b []byte) error + type VirtioPciDeleteReply struct + Retval int32 + func (*VirtioPciDeleteReply) GetCrcString() string + func (*VirtioPciDeleteReply) GetMessageName() string + func (*VirtioPciDeleteReply) GetMessageType() api.MessageType + func (m *VirtioPciDeleteReply) Marshal(b []byte) ([]byte, error) + func (m *VirtioPciDeleteReply) Reset() + func (m *VirtioPciDeleteReply) Size() (size int) + func (m *VirtioPciDeleteReply) Unmarshal(b []byte) error