Versions in this module Expand all Collapse all v0 v0.14.1 Dec 29, 2025 v0.9.0 Dec 26, 2025 Changes in this version + const APIFile + const APIVersion + const VersionCrc + var DevFlags_name = map[uint32]string + var DevFlags_value = map[string]uint32 + var DevPortFlags_name = map[uint32]string + var DevPortFlags_value = map[string]uint32 + func AllMessages() []api.Message + type DevAttach struct + Args string + DeviceID string + DriverName string + Flags DevFlags + func (*DevAttach) GetCrcString() string + func (*DevAttach) GetMessageName() string + func (*DevAttach) GetMessageType() api.MessageType + func (m *DevAttach) Marshal(b []byte) ([]byte, error) + func (m *DevAttach) Reset() + func (m *DevAttach) Size() (size int) + func (m *DevAttach) Unmarshal(b []byte) error + type DevAttachReply struct + DevIndex uint32 + ErrorString string + Retval int32 + func (*DevAttachReply) GetCrcString() string + func (*DevAttachReply) GetMessageName() string + func (*DevAttachReply) GetMessageType() api.MessageType + func (m *DevAttachReply) Marshal(b []byte) ([]byte, error) + func (m *DevAttachReply) Reset() + func (m *DevAttachReply) Size() (size int) + func (m *DevAttachReply) Unmarshal(b []byte) error + type DevCreatePortIf struct + Args string + DevIndex uint32 + Flags DevPortFlags + IntfName string + NumRxQueues uint16 + NumTxQueues uint16 + PortID uint16 + RxQueueSize uint16 + TxQueueSize uint16 + func (*DevCreatePortIf) GetCrcString() string + func (*DevCreatePortIf) GetMessageName() string + func (*DevCreatePortIf) GetMessageType() api.MessageType + func (m *DevCreatePortIf) Marshal(b []byte) ([]byte, error) + func (m *DevCreatePortIf) Reset() + func (m *DevCreatePortIf) Size() (size int) + func (m *DevCreatePortIf) Unmarshal(b []byte) error + type DevCreatePortIfReply struct + ErrorString string + Retval int32 + SwIfIndex uint32 + func (*DevCreatePortIfReply) GetCrcString() string + func (*DevCreatePortIfReply) GetMessageName() string + func (*DevCreatePortIfReply) GetMessageType() api.MessageType + func (m *DevCreatePortIfReply) Marshal(b []byte) ([]byte, error) + func (m *DevCreatePortIfReply) Reset() + func (m *DevCreatePortIfReply) Size() (size int) + func (m *DevCreatePortIfReply) Unmarshal(b []byte) error + type DevDetach struct + DevIndex uint32 + func (*DevDetach) GetCrcString() string + func (*DevDetach) GetMessageName() string + func (*DevDetach) GetMessageType() api.MessageType + func (m *DevDetach) Marshal(b []byte) ([]byte, error) + func (m *DevDetach) Reset() + func (m *DevDetach) Size() (size int) + func (m *DevDetach) Unmarshal(b []byte) error + type DevDetachReply struct + ErrorString string + Retval int32 + func (*DevDetachReply) GetCrcString() string + func (*DevDetachReply) GetMessageName() string + func (*DevDetachReply) GetMessageType() api.MessageType + func (m *DevDetachReply) Marshal(b []byte) ([]byte, error) + func (m *DevDetachReply) Reset() + func (m *DevDetachReply) Size() (size int) + func (m *DevDetachReply) Unmarshal(b []byte) error + type DevFlags uint32 + const VL_API_DEV_FLAG_NO_STATS + func (x DevFlags) String() string + type DevPortFlags uint32 + const VL_API_DEV_PORT_FLAG_CONSISTENT_QP + const VL_API_DEV_PORT_FLAG_INTERRUPT_MODE + func (x DevPortFlags) String() string + type DevRemovePortIf struct + SwIfIndex uint32 + func (*DevRemovePortIf) GetCrcString() string + func (*DevRemovePortIf) GetMessageName() string + func (*DevRemovePortIf) GetMessageType() api.MessageType + func (m *DevRemovePortIf) Marshal(b []byte) ([]byte, error) + func (m *DevRemovePortIf) Reset() + func (m *DevRemovePortIf) Size() (size int) + func (m *DevRemovePortIf) Unmarshal(b []byte) error + type DevRemovePortIfReply struct + ErrorString string + Retval int32 + func (*DevRemovePortIfReply) GetCrcString() string + func (*DevRemovePortIfReply) GetMessageName() string + func (*DevRemovePortIfReply) GetMessageType() api.MessageType + func (m *DevRemovePortIfReply) Marshal(b []byte) ([]byte, error) + func (m *DevRemovePortIfReply) Reset() + func (m *DevRemovePortIfReply) Size() (size int) + func (m *DevRemovePortIfReply) Unmarshal(b []byte) error + type RPCService interface + DevAttach func(ctx context.Context, in *DevAttach) (*DevAttachReply, error) + DevCreatePortIf func(ctx context.Context, in *DevCreatePortIf) (*DevCreatePortIfReply, error) + DevDetach func(ctx context.Context, in *DevDetach) (*DevDetachReply, error) + DevRemovePortIf func(ctx context.Context, in *DevRemovePortIf) (*DevRemovePortIfReply, error) + func NewServiceClient(conn api.Connection) RPCService