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 + func AllMessages() []api.Message + type RPCService interface + SflowDirectionGet func(ctx context.Context, in *SflowDirectionGet) (*SflowDirectionGetReply, error) + SflowDirectionSet func(ctx context.Context, in *SflowDirectionSet) (*SflowDirectionSetReply, error) + SflowDropMonitoringGet func(ctx context.Context, in *SflowDropMonitoringGet) (*SflowDropMonitoringGetReply, error) + SflowDropMonitoringSet func(ctx context.Context, in *SflowDropMonitoringSet) (*SflowDropMonitoringSetReply, error) + SflowEnableDisable func(ctx context.Context, in *SflowEnableDisable) (*SflowEnableDisableReply, error) + SflowHeaderBytesGet func(ctx context.Context, in *SflowHeaderBytesGet) (*SflowHeaderBytesGetReply, error) + SflowHeaderBytesSet func(ctx context.Context, in *SflowHeaderBytesSet) (*SflowHeaderBytesSetReply, error) + SflowInterfaceDump func(ctx context.Context, in *SflowInterfaceDump) (RPCService_SflowInterfaceDumpClient, error) + SflowPollingIntervalGet func(ctx context.Context, in *SflowPollingIntervalGet) (*SflowPollingIntervalGetReply, error) + SflowPollingIntervalSet func(ctx context.Context, in *SflowPollingIntervalSet) (*SflowPollingIntervalSetReply, error) + SflowSamplingRateGet func(ctx context.Context, in *SflowSamplingRateGet) (*SflowSamplingRateGetReply, error) + SflowSamplingRateSet func(ctx context.Context, in *SflowSamplingRateSet) (*SflowSamplingRateSetReply, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_SflowInterfaceDumpClient interface + Recv func() (*SflowInterfaceDetails, error) + type SflowDirectionGet struct + func (*SflowDirectionGet) GetCrcString() string + func (*SflowDirectionGet) GetMessageName() string + func (*SflowDirectionGet) GetMessageType() api.MessageType + func (m *SflowDirectionGet) Marshal(b []byte) ([]byte, error) + func (m *SflowDirectionGet) Reset() + func (m *SflowDirectionGet) Size() (size int) + func (m *SflowDirectionGet) Unmarshal(b []byte) error + type SflowDirectionGetReply struct + SamplingD uint32 + func (*SflowDirectionGetReply) GetCrcString() string + func (*SflowDirectionGetReply) GetMessageName() string + func (*SflowDirectionGetReply) GetMessageType() api.MessageType + func (m *SflowDirectionGetReply) Marshal(b []byte) ([]byte, error) + func (m *SflowDirectionGetReply) Reset() + func (m *SflowDirectionGetReply) Size() (size int) + func (m *SflowDirectionGetReply) Unmarshal(b []byte) error + type SflowDirectionSet struct + SamplingD uint32 + func (*SflowDirectionSet) GetCrcString() string + func (*SflowDirectionSet) GetMessageName() string + func (*SflowDirectionSet) GetMessageType() api.MessageType + func (m *SflowDirectionSet) Marshal(b []byte) ([]byte, error) + func (m *SflowDirectionSet) Reset() + func (m *SflowDirectionSet) Size() (size int) + func (m *SflowDirectionSet) Unmarshal(b []byte) error + type SflowDirectionSetReply struct + Retval int32 + func (*SflowDirectionSetReply) GetCrcString() string + func (*SflowDirectionSetReply) GetMessageName() string + func (*SflowDirectionSetReply) GetMessageType() api.MessageType + func (m *SflowDirectionSetReply) Marshal(b []byte) ([]byte, error) + func (m *SflowDirectionSetReply) Reset() + func (m *SflowDirectionSetReply) Size() (size int) + func (m *SflowDirectionSetReply) Unmarshal(b []byte) error + type SflowDropMonitoringGet struct + func (*SflowDropMonitoringGet) GetCrcString() string + func (*SflowDropMonitoringGet) GetMessageName() string + func (*SflowDropMonitoringGet) GetMessageType() api.MessageType + func (m *SflowDropMonitoringGet) Marshal(b []byte) ([]byte, error) + func (m *SflowDropMonitoringGet) Reset() + func (m *SflowDropMonitoringGet) Size() (size int) + func (m *SflowDropMonitoringGet) Unmarshal(b []byte) error + type SflowDropMonitoringGetReply struct + DropM uint32 + func (*SflowDropMonitoringGetReply) GetCrcString() string + func (*SflowDropMonitoringGetReply) GetMessageName() string + func (*SflowDropMonitoringGetReply) GetMessageType() api.MessageType + func (m *SflowDropMonitoringGetReply) Marshal(b []byte) ([]byte, error) + func (m *SflowDropMonitoringGetReply) Reset() + func (m *SflowDropMonitoringGetReply) Size() (size int) + func (m *SflowDropMonitoringGetReply) Unmarshal(b []byte) error + type SflowDropMonitoringSet struct + DropM uint32 + func (*SflowDropMonitoringSet) GetCrcString() string + func (*SflowDropMonitoringSet) GetMessageName() string + func (*SflowDropMonitoringSet) GetMessageType() api.MessageType + func (m *SflowDropMonitoringSet) Marshal(b []byte) ([]byte, error) + func (m *SflowDropMonitoringSet) Reset() + func (m *SflowDropMonitoringSet) Size() (size int) + func (m *SflowDropMonitoringSet) Unmarshal(b []byte) error + type SflowDropMonitoringSetReply struct + Retval int32 + func (*SflowDropMonitoringSetReply) GetCrcString() string + func (*SflowDropMonitoringSetReply) GetMessageName() string + func (*SflowDropMonitoringSetReply) GetMessageType() api.MessageType + func (m *SflowDropMonitoringSetReply) Marshal(b []byte) ([]byte, error) + func (m *SflowDropMonitoringSetReply) Reset() + func (m *SflowDropMonitoringSetReply) Size() (size int) + func (m *SflowDropMonitoringSetReply) Unmarshal(b []byte) error + type SflowEnableDisable struct + EnableDisable bool + HwIfIndex interface_types.InterfaceIndex + func (*SflowEnableDisable) GetCrcString() string + func (*SflowEnableDisable) GetMessageName() string + func (*SflowEnableDisable) GetMessageType() api.MessageType + func (m *SflowEnableDisable) Marshal(b []byte) ([]byte, error) + func (m *SflowEnableDisable) Reset() + func (m *SflowEnableDisable) Size() (size int) + func (m *SflowEnableDisable) Unmarshal(b []byte) error + type SflowEnableDisableReply struct + Retval int32 + func (*SflowEnableDisableReply) GetCrcString() string + func (*SflowEnableDisableReply) GetMessageName() string + func (*SflowEnableDisableReply) GetMessageType() api.MessageType + func (m *SflowEnableDisableReply) Marshal(b []byte) ([]byte, error) + func (m *SflowEnableDisableReply) Reset() + func (m *SflowEnableDisableReply) Size() (size int) + func (m *SflowEnableDisableReply) Unmarshal(b []byte) error + type SflowHeaderBytesGet struct + func (*SflowHeaderBytesGet) GetCrcString() string + func (*SflowHeaderBytesGet) GetMessageName() string + func (*SflowHeaderBytesGet) GetMessageType() api.MessageType + func (m *SflowHeaderBytesGet) Marshal(b []byte) ([]byte, error) + func (m *SflowHeaderBytesGet) Reset() + func (m *SflowHeaderBytesGet) Size() (size int) + func (m *SflowHeaderBytesGet) Unmarshal(b []byte) error + type SflowHeaderBytesGetReply struct + HeaderB uint32 + func (*SflowHeaderBytesGetReply) GetCrcString() string + func (*SflowHeaderBytesGetReply) GetMessageName() string + func (*SflowHeaderBytesGetReply) GetMessageType() api.MessageType + func (m *SflowHeaderBytesGetReply) Marshal(b []byte) ([]byte, error) + func (m *SflowHeaderBytesGetReply) Reset() + func (m *SflowHeaderBytesGetReply) Size() (size int) + func (m *SflowHeaderBytesGetReply) Unmarshal(b []byte) error + type SflowHeaderBytesSet struct + HeaderB uint32 + func (*SflowHeaderBytesSet) GetCrcString() string + func (*SflowHeaderBytesSet) GetMessageName() string + func (*SflowHeaderBytesSet) GetMessageType() api.MessageType + func (m *SflowHeaderBytesSet) Marshal(b []byte) ([]byte, error) + func (m *SflowHeaderBytesSet) Reset() + func (m *SflowHeaderBytesSet) Size() (size int) + func (m *SflowHeaderBytesSet) Unmarshal(b []byte) error + type SflowHeaderBytesSetReply struct + Retval int32 + func (*SflowHeaderBytesSetReply) GetCrcString() string + func (*SflowHeaderBytesSetReply) GetMessageName() string + func (*SflowHeaderBytesSetReply) GetMessageType() api.MessageType + func (m *SflowHeaderBytesSetReply) Marshal(b []byte) ([]byte, error) + func (m *SflowHeaderBytesSetReply) Reset() + func (m *SflowHeaderBytesSetReply) Size() (size int) + func (m *SflowHeaderBytesSetReply) Unmarshal(b []byte) error + type SflowInterfaceDetails struct + HwIfIndex interface_types.InterfaceIndex + func (*SflowInterfaceDetails) GetCrcString() string + func (*SflowInterfaceDetails) GetMessageName() string + func (*SflowInterfaceDetails) GetMessageType() api.MessageType + func (m *SflowInterfaceDetails) Marshal(b []byte) ([]byte, error) + func (m *SflowInterfaceDetails) Reset() + func (m *SflowInterfaceDetails) Size() (size int) + func (m *SflowInterfaceDetails) Unmarshal(b []byte) error + type SflowInterfaceDump struct + HwIfIndex interface_types.InterfaceIndex + func (*SflowInterfaceDump) GetCrcString() string + func (*SflowInterfaceDump) GetMessageName() string + func (*SflowInterfaceDump) GetMessageType() api.MessageType + func (m *SflowInterfaceDump) Marshal(b []byte) ([]byte, error) + func (m *SflowInterfaceDump) Reset() + func (m *SflowInterfaceDump) Size() (size int) + func (m *SflowInterfaceDump) Unmarshal(b []byte) error + type SflowPollingIntervalGet struct + func (*SflowPollingIntervalGet) GetCrcString() string + func (*SflowPollingIntervalGet) GetMessageName() string + func (*SflowPollingIntervalGet) GetMessageType() api.MessageType + func (m *SflowPollingIntervalGet) Marshal(b []byte) ([]byte, error) + func (m *SflowPollingIntervalGet) Reset() + func (m *SflowPollingIntervalGet) Size() (size int) + func (m *SflowPollingIntervalGet) Unmarshal(b []byte) error + type SflowPollingIntervalGetReply struct + PollingS uint32 + func (*SflowPollingIntervalGetReply) GetCrcString() string + func (*SflowPollingIntervalGetReply) GetMessageName() string + func (*SflowPollingIntervalGetReply) GetMessageType() api.MessageType + func (m *SflowPollingIntervalGetReply) Marshal(b []byte) ([]byte, error) + func (m *SflowPollingIntervalGetReply) Reset() + func (m *SflowPollingIntervalGetReply) Size() (size int) + func (m *SflowPollingIntervalGetReply) Unmarshal(b []byte) error + type SflowPollingIntervalSet struct + PollingS uint32 + func (*SflowPollingIntervalSet) GetCrcString() string + func (*SflowPollingIntervalSet) GetMessageName() string + func (*SflowPollingIntervalSet) GetMessageType() api.MessageType + func (m *SflowPollingIntervalSet) Marshal(b []byte) ([]byte, error) + func (m *SflowPollingIntervalSet) Reset() + func (m *SflowPollingIntervalSet) Size() (size int) + func (m *SflowPollingIntervalSet) Unmarshal(b []byte) error + type SflowPollingIntervalSetReply struct + Retval int32 + func (*SflowPollingIntervalSetReply) GetCrcString() string + func (*SflowPollingIntervalSetReply) GetMessageName() string + func (*SflowPollingIntervalSetReply) GetMessageType() api.MessageType + func (m *SflowPollingIntervalSetReply) Marshal(b []byte) ([]byte, error) + func (m *SflowPollingIntervalSetReply) Reset() + func (m *SflowPollingIntervalSetReply) Size() (size int) + func (m *SflowPollingIntervalSetReply) Unmarshal(b []byte) error + type SflowSamplingRateGet struct + func (*SflowSamplingRateGet) GetCrcString() string + func (*SflowSamplingRateGet) GetMessageName() string + func (*SflowSamplingRateGet) GetMessageType() api.MessageType + func (m *SflowSamplingRateGet) Marshal(b []byte) ([]byte, error) + func (m *SflowSamplingRateGet) Reset() + func (m *SflowSamplingRateGet) Size() (size int) + func (m *SflowSamplingRateGet) Unmarshal(b []byte) error + type SflowSamplingRateGetReply struct + SamplingN uint32 + func (*SflowSamplingRateGetReply) GetCrcString() string + func (*SflowSamplingRateGetReply) GetMessageName() string + func (*SflowSamplingRateGetReply) GetMessageType() api.MessageType + func (m *SflowSamplingRateGetReply) Marshal(b []byte) ([]byte, error) + func (m *SflowSamplingRateGetReply) Reset() + func (m *SflowSamplingRateGetReply) Size() (size int) + func (m *SflowSamplingRateGetReply) Unmarshal(b []byte) error + type SflowSamplingRateSet struct + SamplingN uint32 + func (*SflowSamplingRateSet) GetCrcString() string + func (*SflowSamplingRateSet) GetMessageName() string + func (*SflowSamplingRateSet) GetMessageType() api.MessageType + func (m *SflowSamplingRateSet) Marshal(b []byte) ([]byte, error) + func (m *SflowSamplingRateSet) Reset() + func (m *SflowSamplingRateSet) Size() (size int) + func (m *SflowSamplingRateSet) Unmarshal(b []byte) error + type SflowSamplingRateSetReply struct + Retval int32 + func (*SflowSamplingRateSetReply) GetCrcString() string + func (*SflowSamplingRateSetReply) GetMessageName() string + func (*SflowSamplingRateSetReply) GetMessageType() api.MessageType + func (m *SflowSamplingRateSetReply) Marshal(b []byte) ([]byte, error) + func (m *SflowSamplingRateSetReply) Reset() + func (m *SflowSamplingRateSetReply) Size() (size int) + func (m *SflowSamplingRateSetReply) Unmarshal(b []byte) error