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 SpanState_name = map[uint32]string + var SpanState_value = map[string]uint32 + func AllMessages() []api.Message + type RPCService interface + SwInterfaceSpanDump func(ctx context.Context, in *SwInterfaceSpanDump) (RPCService_SwInterfaceSpanDumpClient, error) + SwInterfaceSpanEnableDisable func(ctx context.Context, in *SwInterfaceSpanEnableDisable) (*SwInterfaceSpanEnableDisableReply, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_SwInterfaceSpanDumpClient interface + Recv func() (*SwInterfaceSpanDetails, error) + type SpanState uint32 + const SPAN_STATE_API_DISABLED + const SPAN_STATE_API_RX + const SPAN_STATE_API_RX_TX + const SPAN_STATE_API_TX + func (x SpanState) String() string + type SwInterfaceSpanDetails struct + IsL2 bool + State SpanState + SwIfIndexFrom interface_types.InterfaceIndex + SwIfIndexTo interface_types.InterfaceIndex + func (*SwInterfaceSpanDetails) GetCrcString() string + func (*SwInterfaceSpanDetails) GetMessageName() string + func (*SwInterfaceSpanDetails) GetMessageType() api.MessageType + func (m *SwInterfaceSpanDetails) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSpanDetails) Reset() + func (m *SwInterfaceSpanDetails) Size() (size int) + func (m *SwInterfaceSpanDetails) Unmarshal(b []byte) error + type SwInterfaceSpanDump struct + IsL2 bool + func (*SwInterfaceSpanDump) GetCrcString() string + func (*SwInterfaceSpanDump) GetMessageName() string + func (*SwInterfaceSpanDump) GetMessageType() api.MessageType + func (m *SwInterfaceSpanDump) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSpanDump) Reset() + func (m *SwInterfaceSpanDump) Size() (size int) + func (m *SwInterfaceSpanDump) Unmarshal(b []byte) error + type SwInterfaceSpanEnableDisable struct + IsL2 bool + State SpanState + SwIfIndexFrom interface_types.InterfaceIndex + SwIfIndexTo interface_types.InterfaceIndex + func (*SwInterfaceSpanEnableDisable) GetCrcString() string + func (*SwInterfaceSpanEnableDisable) GetMessageName() string + func (*SwInterfaceSpanEnableDisable) GetMessageType() api.MessageType + func (m *SwInterfaceSpanEnableDisable) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSpanEnableDisable) Reset() + func (m *SwInterfaceSpanEnableDisable) Size() (size int) + func (m *SwInterfaceSpanEnableDisable) Unmarshal(b []byte) error + type SwInterfaceSpanEnableDisableReply struct + Retval int32 + func (*SwInterfaceSpanEnableDisableReply) GetCrcString() string + func (*SwInterfaceSpanEnableDisableReply) GetMessageName() string + func (*SwInterfaceSpanEnableDisableReply) GetMessageType() api.MessageType + func (m *SwInterfaceSpanEnableDisableReply) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSpanEnableDisableReply) Reset() + func (m *SwInterfaceSpanEnableDisableReply) Size() (size int) + func (m *SwInterfaceSpanEnableDisableReply) Unmarshal(b []byte) error