Documentation ¶
Index ¶
- Variables
- func RegisterForwardingServer(s *grpc.Server, srv ForwardingServer)
- func RegisterInfoServer(s *grpc.Server, srv InfoServer)
- type ActionDesc
- func (*ActionDesc) Descriptor() ([]byte, []int)deprecated
- func (m *ActionDesc) GetAction() isActionDesc_Action
- func (x *ActionDesc) GetActionType() ActionType
- func (x *ActionDesc) GetBridge() *BridgeLearnActionDesc
- func (x *ActionDesc) GetDecap() *DecapActionDesc
- func (x *ActionDesc) GetEncap() *EncapActionDesc
- func (x *ActionDesc) GetFlow() *FlowCounterActionDesc
- func (x *ActionDesc) GetLookup() *LookupActionDesc
- func (x *ActionDesc) GetMirror() *MirrorActionDesc
- func (x *ActionDesc) GetOnEvaluate() bool
- func (x *ActionDesc) GetRate() *RateActionDesc
- func (x *ActionDesc) GetReparse() *ReparseActionDesc
- func (x *ActionDesc) GetSelect() *SelectActionListActionDesc
- func (x *ActionDesc) GetTest() *TestActionDesc
- func (x *ActionDesc) GetTransmit() *TransmitActionDesc
- func (x *ActionDesc) GetUpdate() *UpdateActionDesc
- func (*ActionDesc) ProtoMessage()
- func (x *ActionDesc) ProtoReflect() protoreflect.Message
- func (x *ActionDesc) Reset()
- func (x *ActionDesc) String() string
- type ActionDesc_Bridge
- type ActionDesc_Decap
- type ActionDesc_Encap
- type ActionDesc_Flow
- type ActionDesc_Lookup
- type ActionDesc_Mirror
- type ActionDesc_Rate
- type ActionDesc_Reparse
- type ActionDesc_Select
- type ActionDesc_Test
- type ActionDesc_Transmit
- type ActionDesc_Update
- type ActionEntryDesc
- func (*ActionEntryDesc) Descriptor() ([]byte, []int)deprecated
- func (x *ActionEntryDesc) GetId() string
- func (x *ActionEntryDesc) GetInsertMethod() ActionEntryDesc_InsertMethod
- func (*ActionEntryDesc) ProtoMessage()
- func (x *ActionEntryDesc) ProtoReflect() protoreflect.Message
- func (x *ActionEntryDesc) Reset()
- func (x *ActionEntryDesc) String() string
- type ActionEntryDesc_InsertMethod
- func (ActionEntryDesc_InsertMethod) Descriptor() protoreflect.EnumDescriptor
- func (x ActionEntryDesc_InsertMethod) Enum() *ActionEntryDesc_InsertMethod
- func (ActionEntryDesc_InsertMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x ActionEntryDesc_InsertMethod) Number() protoreflect.EnumNumber
- func (x ActionEntryDesc_InsertMethod) String() string
- func (ActionEntryDesc_InsertMethod) Type() protoreflect.EnumType
- type ActionList
- func (*ActionList) Descriptor() ([]byte, []int)deprecated
- func (x *ActionList) GetActions() []*ActionDesc
- func (x *ActionList) GetWeight() uint64
- func (*ActionList) ProtoMessage()
- func (x *ActionList) ProtoReflect() protoreflect.Message
- func (x *ActionList) Reset()
- func (x *ActionList) String() string
- type ActionTableDesc
- type ActionType
- type AggregateHashAlgorithm
- func (AggregateHashAlgorithm) Descriptor() protoreflect.EnumDescriptor
- func (x AggregateHashAlgorithm) Enum() *AggregateHashAlgorithm
- func (AggregateHashAlgorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x AggregateHashAlgorithm) Number() protoreflect.EnumNumber
- func (x AggregateHashAlgorithm) String() string
- func (AggregateHashAlgorithm) Type() protoreflect.EnumType
- type AggregatePortAddMemberUpdateDesc
- func (*AggregatePortAddMemberUpdateDesc) Descriptor() ([]byte, []int)deprecated
- func (x *AggregatePortAddMemberUpdateDesc) GetInstanceCount() uint32
- func (x *AggregatePortAddMemberUpdateDesc) GetPortId() *PortId
- func (x *AggregatePortAddMemberUpdateDesc) GetSelectActions() []*ActionDesc
- func (*AggregatePortAddMemberUpdateDesc) ProtoMessage()
- func (x *AggregatePortAddMemberUpdateDesc) ProtoReflect() protoreflect.Message
- func (x *AggregatePortAddMemberUpdateDesc) Reset()
- func (x *AggregatePortAddMemberUpdateDesc) String() string
- type AggregatePortAlgorithmUpdateDesc
- func (*AggregatePortAlgorithmUpdateDesc) Descriptor() ([]byte, []int)deprecated
- func (x *AggregatePortAlgorithmUpdateDesc) GetFieldIds() []*PacketFieldId
- func (x *AggregatePortAlgorithmUpdateDesc) GetHash() AggregateHashAlgorithm
- func (*AggregatePortAlgorithmUpdateDesc) ProtoMessage()
- func (x *AggregatePortAlgorithmUpdateDesc) ProtoReflect() protoreflect.Message
- func (x *AggregatePortAlgorithmUpdateDesc) Reset()
- func (x *AggregatePortAlgorithmUpdateDesc) String() string
- type AggregatePortRemoveMemberUpdateDesc
- func (*AggregatePortRemoveMemberUpdateDesc) Descriptor() ([]byte, []int)deprecated
- func (x *AggregatePortRemoveMemberUpdateDesc) GetPortId() *PortId
- func (*AggregatePortRemoveMemberUpdateDesc) ProtoMessage()
- func (x *AggregatePortRemoveMemberUpdateDesc) ProtoReflect() protoreflect.Message
- func (x *AggregatePortRemoveMemberUpdateDesc) Reset()
- func (x *AggregatePortRemoveMemberUpdateDesc) String() string
- type AggregatePortUpdateDesc
- func (*AggregatePortUpdateDesc) Descriptor() ([]byte, []int)deprecated
- func (x *AggregatePortUpdateDesc) GetFieldIds() []*PacketFieldId
- func (x *AggregatePortUpdateDesc) GetHash() AggregateHashAlgorithm
- func (x *AggregatePortUpdateDesc) GetPortIds() []*PortId
- func (x *AggregatePortUpdateDesc) GetSelectActions() []*AggregateSelectAction
- func (*AggregatePortUpdateDesc) ProtoMessage()
- func (x *AggregatePortUpdateDesc) ProtoReflect() protoreflect.Message
- func (x *AggregatePortUpdateDesc) Reset()
- func (x *AggregatePortUpdateDesc) String() string
- type AggregateSelectAction
- func (*AggregateSelectAction) Descriptor() ([]byte, []int)deprecated
- func (x *AggregateSelectAction) GetActions() []*ActionDesc
- func (x *AggregateSelectAction) GetPortId() *PortId
- func (*AggregateSelectAction) ProtoMessage()
- func (x *AggregateSelectAction) ProtoReflect() protoreflect.Message
- func (x *AggregateSelectAction) Reset()
- func (x *AggregateSelectAction) String() string
- type AttributeDesc
- func (*AttributeDesc) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeDesc) GetHelp() string
- func (x *AttributeDesc) GetName() string
- func (*AttributeDesc) ProtoMessage()
- func (x *AttributeDesc) ProtoReflect() protoreflect.Message
- func (x *AttributeDesc) Reset()
- func (x *AttributeDesc) String() string
- type AttributeListReply
- func (*AttributeListReply) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeListReply) GetAttrs() []*AttributeDesc
- func (*AttributeListReply) ProtoMessage()
- func (x *AttributeListReply) ProtoReflect() protoreflect.Message
- func (x *AttributeListReply) Reset()
- func (x *AttributeListReply) String() string
- type AttributeListRequest
- type AttributeQueryReply
- func (*AttributeQueryReply) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeQueryReply) GetAttrValue() string
- func (*AttributeQueryReply) ProtoMessage()
- func (x *AttributeQueryReply) ProtoReflect() protoreflect.Message
- func (x *AttributeQueryReply) Reset()
- func (x *AttributeQueryReply) String() string
- type AttributeQueryRequest
- func (*AttributeQueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeQueryRequest) GetAttrId() string
- func (x *AttributeQueryRequest) GetContextId() *ContextId
- func (x *AttributeQueryRequest) GetObjectId() *ObjectId
- func (*AttributeQueryRequest) ProtoMessage()
- func (x *AttributeQueryRequest) ProtoReflect() protoreflect.Message
- func (x *AttributeQueryRequest) Reset()
- func (x *AttributeQueryRequest) String() string
- type AttributeUpdateReply
- type AttributeUpdateRequest
- func (*AttributeUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeUpdateRequest) GetAttrId() string
- func (x *AttributeUpdateRequest) GetAttrValue() string
- func (x *AttributeUpdateRequest) GetContextId() *ContextId
- func (x *AttributeUpdateRequest) GetObjectId() *ObjectId
- func (*AttributeUpdateRequest) ProtoMessage()
- func (x *AttributeUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *AttributeUpdateRequest) Reset()
- func (x *AttributeUpdateRequest) String() string
- type BridgeLearnActionDesc
- func (*BridgeLearnActionDesc) Descriptor() ([]byte, []int)deprecated
- func (x *BridgeLearnActionDesc) GetTableId() *TableId
- func (*BridgeLearnActionDesc) ProtoMessage()
- func (x *BridgeLearnActionDesc) ProtoReflect() protoreflect.Message
- func (x *BridgeLearnActionDesc) Reset()
- func (x *BridgeLearnActionDesc) String() string
- type BridgeTableDesc
- type CPUPortDesc
- func (*CPUPortDesc) Descriptor() ([]byte, []int)deprecated
- func (x *CPUPortDesc) GetExportFieldIds() []*PacketFieldId
- func (x *CPUPortDesc) GetQueueId() string
- func (x *CPUPortDesc) GetQueueLength() int32
- func (x *CPUPortDesc) GetRemotePort() bool
- func (*CPUPortDesc) ProtoMessage()
- func (x *CPUPortDesc) ProtoReflect() protoreflect.Message
- func (x *CPUPortDesc) Reset()
- func (x *CPUPortDesc) String() string
- type CPUPortUpdateDesc
- func (*CPUPortUpdateDesc) Descriptor() ([]byte, []int)deprecated
- func (x *CPUPortUpdateDesc) GetInputs() []*ActionDesc
- func (x *CPUPortUpdateDesc) GetOutputs() []*ActionDesc
- func (*CPUPortUpdateDesc) ProtoMessage()
- func (x *CPUPortUpdateDesc) ProtoReflect() protoreflect.Message
- func (x *CPUPortUpdateDesc) Reset()
- func (x *CPUPortUpdateDesc) String() string
- type ContextAttr
- type ContextCreateReply
- type ContextCreateRequest
- func (*ContextCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContextCreateRequest) GetContextId() *ContextId
- func (*ContextCreateRequest) ProtoMessage()
- func (x *ContextCreateRequest) ProtoReflect() protoreflect.Message
- func (x *ContextCreateRequest) Reset()
- func (x *ContextCreateRequest) String() string
- type ContextDeleteReply
- type ContextDeleteRequest
- func (*ContextDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContextDeleteRequest) GetContextId() *ContextId
- func (*ContextDeleteRequest) ProtoMessage()
- func (x *ContextDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *ContextDeleteRequest) Reset()
- func (x *ContextDeleteRequest) String() string
- type ContextId
- type ContextListReply
- func (*ContextListReply) Descriptor() ([]byte, []int)deprecated
- func (x *ContextListReply) GetContexts() []*ContextAttr
- func (*ContextListReply) ProtoMessage()
- func (x *ContextListReply) ProtoReflect() protoreflect.Message
- func (x *ContextListReply) Reset()
- func (x *ContextListReply) String() string
- type ContextListRequest
- type Counter
- type CounterId
- type DecapActionDesc
- type EncapActionDesc
- type EntryDesc
- func (*EntryDesc) Descriptor() ([]byte, []int)deprecated
- func (x *EntryDesc) GetAction() *ActionEntryDesc
- func (x *EntryDesc) GetBridge() *BridgeTableDesc
- func (m *EntryDesc) GetEntry() isEntryDesc_Entry
- func (x *EntryDesc) GetExact() *ExactEntryDesc
- func (x *EntryDesc) GetFlow() *FlowEntryDesc
- func (x *EntryDesc) GetPrefix() *PrefixEntryDesc
- func (*EntryDesc) ProtoMessage()
- func (x *EntryDesc) ProtoReflect() protoreflect.Message
- func (x *EntryDesc) Reset()
- func (x *EntryDesc) String() string
- type EntryDesc_Action
- type EntryDesc_Bridge
- type EntryDesc_Exact
- type EntryDesc_Flow
- type EntryDesc_Prefix
- type Event
- type EventDesc
- func (*EventDesc) Descriptor() ([]byte, []int)deprecated
- func (m *EventDesc) GetDesc() isEventDesc_Desc
- func (x *EventDesc) GetEvent() Event
- func (x *EventDesc) GetPort() *PortEventDesc
- func (x *EventDesc) GetSequenceNumber() uint64
- func (*EventDesc) ProtoMessage()
- func (x *EventDesc) ProtoReflect() protoreflect.Message
- func (x *EventDesc) Reset()
- func (x *EventDesc) String() string
- type EventDesc_Port
- type ExactEntryDesc
- func (*ExactEntryDesc) Descriptor() ([]byte, []int)deprecated
- func (x *ExactEntryDesc) GetFields() []*PacketFieldBytes
- func (x *ExactEntryDesc) GetTransient() bool
- func (*ExactEntryDesc) ProtoMessage()
- func (x *ExactEntryDesc) ProtoReflect() protoreflect.Message
- func (x *ExactEntryDesc) Reset()
- func (x *ExactEntryDesc) String() string
- type ExactTableDesc
- func (*ExactTableDesc) Descriptor() ([]byte, []int)deprecated
- func (x *ExactTableDesc) GetFieldIds() []*PacketFieldId
- func (x *ExactTableDesc) GetTransientTimeout() uint32
- func (*ExactTableDesc) ProtoMessage()
- func (x *ExactTableDesc) ProtoReflect() protoreflect.Message
- func (x *ExactTableDesc) Reset()
- func (x *ExactTableDesc) String() string
- type FakePortDesc
- func (*FakePortDesc) Descriptor() ([]byte, []int)deprecated
- func (x *FakePortDesc) GetHwLane() uint32
- func (x *FakePortDesc) GetInFile() string
- func (x *FakePortDesc) GetOutFile() string
- func (*FakePortDesc) ProtoMessage()
- func (x *FakePortDesc) ProtoReflect() protoreflect.Message
- func (x *FakePortDesc) Reset()
- func (x *FakePortDesc) String() string
- type FlowCounter
- func (*FlowCounter) Descriptor() ([]byte, []int)deprecated
- func (x *FlowCounter) GetId() *FlowCounterId
- func (x *FlowCounter) GetOctets() uint64
- func (x *FlowCounter) GetPackets() uint64
- func (*FlowCounter) ProtoMessage()
- func (x *FlowCounter) ProtoReflect() protoreflect.Message
- func (x *FlowCounter) Reset()
- func (x *FlowCounter) String() string
- type FlowCounterActionDesc
- func (*FlowCounterActionDesc) Descriptor() ([]byte, []int)deprecated
- func (x *FlowCounterActionDesc) GetCounterId() *FlowCounterId
- func (*FlowCounterActionDesc) ProtoMessage()
- func (x *FlowCounterActionDesc) ProtoReflect() protoreflect.Message
- func (x *FlowCounterActionDesc) Reset()
- func (x *FlowCounterActionDesc) String() string
- type FlowCounterCreateReply
- type FlowCounterCreateRequest
- func (*FlowCounterCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FlowCounterCreateRequest) GetContextId() *ContextId
- func (x *FlowCounterCreateRequest) GetId() *FlowCounterId
- func (*FlowCounterCreateRequest) ProtoMessage()
- func (x *FlowCounterCreateRequest) ProtoReflect() protoreflect.Message
- func (x *FlowCounterCreateRequest) Reset()
- func (x *FlowCounterCreateRequest) String() string
- type FlowCounterId
- type FlowCounterQueryReply
- func (*FlowCounterQueryReply) Descriptor() ([]byte, []int)deprecated
- func (x *FlowCounterQueryReply) GetCounters() []*FlowCounter
- func (*FlowCounterQueryReply) ProtoMessage()
- func (x *FlowCounterQueryReply) ProtoReflect() protoreflect.Message
- func (x *FlowCounterQueryReply) Reset()
- func (x *FlowCounterQueryReply) String() string
- type FlowCounterQueryRequest
- func (*FlowCounterQueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FlowCounterQueryRequest) GetContextId() *ContextId
- func (x *FlowCounterQueryRequest) GetIds() []*FlowCounterId
- func (*FlowCounterQueryRequest) ProtoMessage()
- func (x *FlowCounterQueryRequest) ProtoReflect() protoreflect.Message
- func (x *FlowCounterQueryRequest) Reset()
- func (x *FlowCounterQueryRequest) String() string
- type FlowEntryDesc
- func (*FlowEntryDesc) Descriptor() ([]byte, []int)deprecated
- func (x *FlowEntryDesc) GetBank() uint32
- func (x *FlowEntryDesc) GetFields() []*PacketFieldMaskedBytes
- func (x *FlowEntryDesc) GetId() uint32
- func (x *FlowEntryDesc) GetPriority() uint32
- func (x *FlowEntryDesc) GetQualifiers() []*PacketFieldSet
- func (*FlowEntryDesc) ProtoMessage()
- func (x *FlowEntryDesc) ProtoReflect() protoreflect.Message
- func (x *FlowEntryDesc) Reset()
- func (x *FlowEntryDesc) String() string
- type FlowTableDesc
- type ForwardingClient
- type ForwardingServer
- type Forwarding_NotifySubscribeClient
- type Forwarding_NotifySubscribeServer
- type Forwarding_OperationClient
- type Forwarding_OperationServer
- type Forwarding_PacketInjectClient
- type Forwarding_PacketInjectServer
- type Forwarding_PacketSinkSubscribeClient
- type Forwarding_PacketSinkSubscribeServer
- type GenetlinkPortDesc
- func (*GenetlinkPortDesc) Descriptor() ([]byte, []int)deprecated
- func (x *GenetlinkPortDesc) GetFamilyName() string
- func (x *GenetlinkPortDesc) GetGroupName() string
- func (*GenetlinkPortDesc) ProtoMessage()
- func (x *GenetlinkPortDesc) ProtoReflect() protoreflect.Message
- func (x *GenetlinkPortDesc) Reset()
- func (x *GenetlinkPortDesc) String() string
- type GenetlinkPortUpdateDesc
- func (*GenetlinkPortUpdateDesc) Descriptor() ([]byte, []int)deprecated
- func (x *GenetlinkPortUpdateDesc) GetInputs() []*ActionDesc
- func (x *GenetlinkPortUpdateDesc) GetOutputs() []*ActionDesc
- func (*GenetlinkPortUpdateDesc) ProtoMessage()
- func (x *GenetlinkPortUpdateDesc) ProtoReflect() protoreflect.Message
- func (x *GenetlinkPortUpdateDesc) Reset()
- func (x *GenetlinkPortUpdateDesc) String() string
- type InfoClient
- type InfoElementReply
- func (*InfoElementReply) Descriptor() ([]byte, []int)deprecated
- func (x *InfoElementReply) GetContent() string
- func (m *InfoElementReply) GetElementInfo() isInfoElementReply_ElementInfo
- func (x *InfoElementReply) GetPortInfo() *PortElementInfo
- func (*InfoElementReply) ProtoMessage()
- func (x *InfoElementReply) ProtoReflect() protoreflect.Message
- func (x *InfoElementReply) Reset()
- func (x *InfoElementReply) String() string
- type InfoElementReply_PortInfo
- type InfoElementRequest
- func (*InfoElementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InfoElementRequest) GetFrame() []byte
- func (x *InfoElementRequest) GetName() string
- func (x *InfoElementRequest) GetStartHeader() PacketHeaderId
- func (x *InfoElementRequest) GetType() InfoType
- func (*InfoElementRequest) ProtoMessage()
- func (x *InfoElementRequest) ProtoReflect() protoreflect.Message
- func (x *InfoElementRequest) Reset()
- func (x *InfoElementRequest) String() string
- type InfoListReply
- type InfoListRequest
- type InfoServer
- type InfoType
- type KernelPortDesc
- type KernelPortUpdateDesc
- func (*KernelPortUpdateDesc) Descriptor() ([]byte, []int)deprecated
- func (x *KernelPortUpdateDesc) GetInputs() []*ActionDesc
- func (x *KernelPortUpdateDesc) GetOutputs() []*ActionDesc
- func (*KernelPortUpdateDesc) ProtoMessage()
- func (x *KernelPortUpdateDesc) ProtoReflect() protoreflect.Message
- func (x *KernelPortUpdateDesc) Reset()
- func (x *KernelPortUpdateDesc) String() string
- type LookupActionDesc
- type MirrorActionDesc
- func (*MirrorActionDesc) Descriptor() ([]byte, []int)deprecated
- func (x *MirrorActionDesc) GetActions() []*ActionDesc
- func (x *MirrorActionDesc) GetFieldIds() []*PacketFieldId
- func (x *MirrorActionDesc) GetPortAction() PortAction
- func (x *MirrorActionDesc) GetPortId() *PortId
- func (*MirrorActionDesc) ProtoMessage()
- func (x *MirrorActionDesc) ProtoReflect() protoreflect.Message
- func (x *MirrorActionDesc) Reset()
- func (x *MirrorActionDesc) String() string
- type NotifySubscribeRequest
- func (*NotifySubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotifySubscribeRequest) GetContext() *ContextId
- func (*NotifySubscribeRequest) ProtoMessage()
- func (x *NotifySubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *NotifySubscribeRequest) Reset()
- func (x *NotifySubscribeRequest) String() string
- type ObjectCountersReply
- func (*ObjectCountersReply) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectCountersReply) GetCounters() []*Counter
- func (*ObjectCountersReply) ProtoMessage()
- func (x *ObjectCountersReply) ProtoReflect() protoreflect.Message
- func (x *ObjectCountersReply) Reset()
- func (x *ObjectCountersReply) String() string
- type ObjectCountersRequest
- func (*ObjectCountersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectCountersRequest) GetContextId() *ContextId
- func (x *ObjectCountersRequest) GetObjectId() *ObjectId
- func (*ObjectCountersRequest) ProtoMessage()
- func (x *ObjectCountersRequest) ProtoReflect() protoreflect.Message
- func (x *ObjectCountersRequest) Reset()
- func (x *ObjectCountersRequest) String() string
- type ObjectDeleteReply
- type ObjectDeleteRequest
- func (*ObjectDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectDeleteRequest) GetContextId() *ContextId
- func (x *ObjectDeleteRequest) GetObjectId() *ObjectId
- func (*ObjectDeleteRequest) ProtoMessage()
- func (x *ObjectDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *ObjectDeleteRequest) Reset()
- func (x *ObjectDeleteRequest) String() string
- type ObjectId
- type ObjectIndex
- type ObjectListReply
- type ObjectListRequest
- func (*ObjectListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectListRequest) GetContextId() *ContextId
- func (*ObjectListRequest) ProtoMessage()
- func (x *ObjectListRequest) ProtoReflect() protoreflect.Message
- func (x *ObjectListRequest) Reset()
- func (x *ObjectListRequest) String() string
- type ObjectNIDReply
- type ObjectNIDRequest
- func (*ObjectNIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectNIDRequest) GetContextId() *ContextId
- func (x *ObjectNIDRequest) GetObjectId() *ObjectId
- func (*ObjectNIDRequest) ProtoMessage()
- func (x *ObjectNIDRequest) ProtoReflect() protoreflect.Message
- func (x *ObjectNIDRequest) Reset()
- func (x *ObjectNIDRequest) String() string
- type OperationReply
- func (*OperationReply) Descriptor() ([]byte, []int)deprecated
- func (m *OperationReply) GetReply() isOperationReply_Reply
- func (x *OperationReply) GetTableEntryAdd() *TableEntryAddReply
- func (x *OperationReply) GetTableEntryRemove() *TableEntryRemoveReply
- func (*OperationReply) ProtoMessage()
- func (x *OperationReply) ProtoReflect() protoreflect.Message
- func (x *OperationReply) Reset()
- func (x *OperationReply) String() string
- type OperationReply_TableEntryAdd
- type OperationReply_TableEntryRemove
- type OperationRequest
- func (*OperationRequest) Descriptor() ([]byte, []int)deprecated
- func (m *OperationRequest) GetRequest() isOperationRequest_Request
- func (x *OperationRequest) GetTableEntryAdd() *TableEntryAddRequest
- func (x *OperationRequest) GetTableEntryRemove() *TableEntryRemoveRequest
- func (*OperationRequest) ProtoMessage()
- func (x *OperationRequest) ProtoReflect() protoreflect.Message
- func (x *OperationRequest) Reset()
- func (x *OperationRequest) String() string
- type OperationRequest_TableEntryAdd
- type OperationRequest_TableEntryRemove
- type PacketBytes
- func (*PacketBytes) Descriptor() ([]byte, []int)deprecated
- func (x *PacketBytes) GetHeaderGroup() PacketHeaderGroup
- func (x *PacketBytes) GetInstance() uint32
- func (x *PacketBytes) GetOffset() uint32
- func (x *PacketBytes) GetSize() uint32
- func (*PacketBytes) ProtoMessage()
- func (x *PacketBytes) ProtoReflect() protoreflect.Message
- func (x *PacketBytes) Reset()
- func (x *PacketBytes) String() string
- type PacketField
- func (*PacketField) Descriptor() ([]byte, []int)deprecated
- func (x *PacketField) GetFieldNum() PacketFieldNum
- func (x *PacketField) GetInstance() uint32
- func (*PacketField) ProtoMessage()
- func (x *PacketField) ProtoReflect() protoreflect.Message
- func (x *PacketField) Reset()
- func (x *PacketField) String() string
- type PacketFieldBytes
- func (*PacketFieldBytes) Descriptor() ([]byte, []int)deprecated
- func (x *PacketFieldBytes) GetBytes() []byte
- func (x *PacketFieldBytes) GetFieldId() *PacketFieldId
- func (*PacketFieldBytes) ProtoMessage()
- func (x *PacketFieldBytes) ProtoReflect() protoreflect.Message
- func (x *PacketFieldBytes) Reset()
- func (x *PacketFieldBytes) String() string
- type PacketFieldId
- func (*PacketFieldId) Descriptor() ([]byte, []int)deprecated
- func (x *PacketFieldId) GetBytes() *PacketBytes
- func (x *PacketFieldId) GetField() *PacketField
- func (*PacketFieldId) ProtoMessage()
- func (x *PacketFieldId) ProtoReflect() protoreflect.Message
- func (x *PacketFieldId) Reset()
- func (x *PacketFieldId) String() string
- type PacketFieldMaskedBytes
- func (*PacketFieldMaskedBytes) Descriptor() ([]byte, []int)deprecated
- func (x *PacketFieldMaskedBytes) GetBytes() []byte
- func (x *PacketFieldMaskedBytes) GetFieldId() *PacketFieldId
- func (x *PacketFieldMaskedBytes) GetMasks() []byte
- func (*PacketFieldMaskedBytes) ProtoMessage()
- func (x *PacketFieldMaskedBytes) ProtoReflect() protoreflect.Message
- func (x *PacketFieldMaskedBytes) Reset()
- func (x *PacketFieldMaskedBytes) String() string
- type PacketFieldNum
- func (PacketFieldNum) Descriptor() protoreflect.EnumDescriptor
- func (x PacketFieldNum) Enum() *PacketFieldNum
- func (PacketFieldNum) EnumDescriptor() ([]byte, []int)deprecated
- func (x PacketFieldNum) Number() protoreflect.EnumNumber
- func (x PacketFieldNum) String() string
- func (PacketFieldNum) Type() protoreflect.EnumType
- type PacketFieldSet
- func (*PacketFieldSet) Descriptor() ([]byte, []int)deprecated
- func (x *PacketFieldSet) GetFieldId() *PacketFieldId
- func (x *PacketFieldSet) GetSetId() *SetId
- func (*PacketFieldSet) ProtoMessage()
- func (x *PacketFieldSet) ProtoReflect() protoreflect.Message
- func (x *PacketFieldSet) Reset()
- func (x *PacketFieldSet) String() string
- type PacketHeaderGroup
- func (PacketHeaderGroup) Descriptor() protoreflect.EnumDescriptor
- func (x PacketHeaderGroup) Enum() *PacketHeaderGroup
- func (PacketHeaderGroup) EnumDescriptor() ([]byte, []int)deprecated
- func (x PacketHeaderGroup) Number() protoreflect.EnumNumber
- func (x PacketHeaderGroup) String() string
- func (PacketHeaderGroup) Type() protoreflect.EnumType
- type PacketHeaderId
- func (PacketHeaderId) Descriptor() protoreflect.EnumDescriptor
- func (x PacketHeaderId) Enum() *PacketHeaderId
- func (PacketHeaderId) EnumDescriptor() ([]byte, []int)deprecated
- func (x PacketHeaderId) Number() protoreflect.EnumNumber
- func (x PacketHeaderId) String() string
- func (PacketHeaderId) Type() protoreflect.EnumType
- type PacketInjectRequest
- func (*PacketInjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PacketInjectRequest) GetAction() PortAction
- func (x *PacketInjectRequest) GetBytes() []byte
- func (x *PacketInjectRequest) GetContextId() *ContextId
- func (x *PacketInjectRequest) GetDebug() bool
- func (x *PacketInjectRequest) GetParsedFields() []*PacketFieldBytes
- func (x *PacketInjectRequest) GetPortId() *PortId
- func (x *PacketInjectRequest) GetPreprocesses() []*ActionDesc
- func (x *PacketInjectRequest) GetStartHeader() PacketHeaderId
- func (*PacketInjectRequest) ProtoMessage()
- func (x *PacketInjectRequest) ProtoReflect() protoreflect.Message
- func (x *PacketInjectRequest) Reset()
- func (x *PacketInjectRequest) String() string
- type PacketInjectResponse
- type PacketSinkPacketInfo
- func (*PacketSinkPacketInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PacketSinkPacketInfo) GetBytes() []byte
- func (x *PacketSinkPacketInfo) GetEgress() *PortId
- func (x *PacketSinkPacketInfo) GetIngress() *PortId
- func (x *PacketSinkPacketInfo) GetParsedFields() []*PacketFieldBytes
- func (x *PacketSinkPacketInfo) GetPortId() *PortId
- func (*PacketSinkPacketInfo) ProtoMessage()
- func (x *PacketSinkPacketInfo) ProtoReflect() protoreflect.Message
- func (x *PacketSinkPacketInfo) Reset()
- func (x *PacketSinkPacketInfo) String() string
- type PacketSinkPortInfo
- func (*PacketSinkPortInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PacketSinkPortInfo) GetPort() *PortDesc
- func (*PacketSinkPortInfo) ProtoMessage()
- func (x *PacketSinkPortInfo) ProtoReflect() protoreflect.Message
- func (x *PacketSinkPortInfo) Reset()
- func (x *PacketSinkPortInfo) String() string
- type PacketSinkRequest
- func (*PacketSinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PacketSinkRequest) GetContextId() *ContextId
- func (*PacketSinkRequest) ProtoMessage()
- func (x *PacketSinkRequest) ProtoReflect() protoreflect.Message
- func (x *PacketSinkRequest) Reset()
- func (x *PacketSinkRequest) String() string
- type PacketSinkResponse
- func (*PacketSinkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PacketSinkResponse) GetPacket() *PacketSinkPacketInfo
- func (x *PacketSinkResponse) GetPort() *PacketSinkPortInfo
- func (m *PacketSinkResponse) GetResp() isPacketSinkResponse_Resp
- func (*PacketSinkResponse) ProtoMessage()
- func (x *PacketSinkResponse) ProtoReflect() protoreflect.Message
- func (x *PacketSinkResponse) Reset()
- func (x *PacketSinkResponse) String() string
- type PacketSinkResponse_Packet
- type PacketSinkResponse_Port
- type PortAction
- type PortCreateReply
- type PortCreateRequest
- func (*PortCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PortCreateRequest) GetContextId() *ContextId
- func (x *PortCreateRequest) GetPort() *PortDesc
- func (*PortCreateRequest) ProtoMessage()
- func (x *PortCreateRequest) ProtoReflect() protoreflect.Message
- func (x *PortCreateRequest) Reset()
- func (x *PortCreateRequest) String() string
- type PortDesc
- func (*PortDesc) Descriptor() ([]byte, []int)deprecated
- func (x *PortDesc) GetCpu() *CPUPortDesc
- func (x *PortDesc) GetFake() *FakePortDesc
- func (x *PortDesc) GetGenetlink() *GenetlinkPortDesc
- func (x *PortDesc) GetKernel() *KernelPortDesc
- func (m *PortDesc) GetPort() isPortDesc_Port
- func (x *PortDesc) GetPortId() *PortId
- func (x *PortDesc) GetPortType() PortType
- func (x *PortDesc) GetTap() *TAPPortDesc
- func (*PortDesc) ProtoMessage()
- func (x *PortDesc) ProtoReflect() protoreflect.Message
- func (x *PortDesc) Reset()
- func (x *PortDesc) String() string
- type PortDesc_Cpu
- type PortDesc_Fake
- type PortDesc_Genetlink
- type PortDesc_Kernel
- type PortDesc_Tap
- type PortElementInfo
- func (*PortElementInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PortElementInfo) GetCounters() []*Counter
- func (x *PortElementInfo) GetDesc() *PortDesc
- func (*PortElementInfo) ProtoMessage()
- func (x *PortElementInfo) ProtoReflect() protoreflect.Message
- func (x *PortElementInfo) Reset()
- func (x *PortElementInfo) String() string
- type PortEventDesc
- func (*PortEventDesc) Descriptor() ([]byte, []int)deprecated
- func (x *PortEventDesc) GetContext() *ContextId
- func (x *PortEventDesc) GetPortId() *PortId
- func (x *PortEventDesc) GetPortInfo() *PortInfo
- func (*PortEventDesc) ProtoMessage()
- func (x *PortEventDesc) ProtoReflect() protoreflect.Message
- func (x *PortEventDesc) Reset()
- func (x *PortEventDesc) String() string
- type PortId
- type PortInfo
- func (*PortInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PortInfo) GetAdminStatus() PortState
- func (x *PortInfo) GetOperStatus() PortState
- func (x *PortInfo) GetSpeed() *PortSpeed
- func (*PortInfo) ProtoMessage()
- func (x *PortInfo) ProtoReflect() protoreflect.Message
- func (x *PortInfo) Reset()
- func (x *PortInfo) String() string
- type PortSpeed
- type PortSpeedBehavior
- func (PortSpeedBehavior) Descriptor() protoreflect.EnumDescriptor
- func (x PortSpeedBehavior) Enum() *PortSpeedBehavior
- func (PortSpeedBehavior) EnumDescriptor() ([]byte, []int)deprecated
- func (x PortSpeedBehavior) Number() protoreflect.EnumNumber
- func (x PortSpeedBehavior) String() string
- func (PortSpeedBehavior) Type() protoreflect.EnumType
- type PortState
- type PortStateReply
- type PortStateRequest
- func (*PortStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PortStateRequest) GetContextId() *ContextId
- func (x *PortStateRequest) GetOperation() *PortInfo
- func (x *PortStateRequest) GetPortId() *PortId
- func (*PortStateRequest) ProtoMessage()
- func (x *PortStateRequest) ProtoReflect() protoreflect.Message
- func (x *PortStateRequest) Reset()
- func (x *PortStateRequest) String() string
- type PortType
- type PortUpdateDesc
- func (*PortUpdateDesc) Descriptor() ([]byte, []int)deprecated
- func (x *PortUpdateDesc) GetAggregate() *AggregatePortUpdateDesc
- func (x *PortUpdateDesc) GetAggregateAdd() *AggregatePortAddMemberUpdateDesc
- func (x *PortUpdateDesc) GetAggregateAlgo() *AggregatePortAlgorithmUpdateDesc
- func (x *PortUpdateDesc) GetAggregateDel() *AggregatePortRemoveMemberUpdateDesc
- func (x *PortUpdateDesc) GetCpu() *CPUPortUpdateDesc
- func (x *PortUpdateDesc) GetGenetlink() *GenetlinkPortUpdateDesc
- func (x *PortUpdateDesc) GetKernel() *KernelPortUpdateDesc
- func (m *PortUpdateDesc) GetPort() isPortUpdateDesc_Port
- func (*PortUpdateDesc) ProtoMessage()
- func (x *PortUpdateDesc) ProtoReflect() protoreflect.Message
- func (x *PortUpdateDesc) Reset()
- func (x *PortUpdateDesc) String() string
- type PortUpdateDesc_Aggregate
- type PortUpdateDesc_AggregateAdd
- type PortUpdateDesc_AggregateAlgo
- type PortUpdateDesc_AggregateDel
- type PortUpdateDesc_Cpu
- type PortUpdateDesc_Genetlink
- type PortUpdateDesc_Kernel
- type PortUpdateReply
- type PortUpdateRequest
- func (*PortUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PortUpdateRequest) GetContextId() *ContextId
- func (x *PortUpdateRequest) GetPortId() *PortId
- func (x *PortUpdateRequest) GetUpdate() *PortUpdateDesc
- func (*PortUpdateRequest) ProtoMessage()
- func (x *PortUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *PortUpdateRequest) Reset()
- func (x *PortUpdateRequest) String() string
- type PrefixEntryDesc
- func (*PrefixEntryDesc) Descriptor() ([]byte, []int)deprecated
- func (x *PrefixEntryDesc) GetFields() []*PacketFieldMaskedBytes
- func (*PrefixEntryDesc) ProtoMessage()
- func (x *PrefixEntryDesc) ProtoReflect() protoreflect.Message
- func (x *PrefixEntryDesc) Reset()
- func (x *PrefixEntryDesc) String() string
- type PrefixTableDesc
- type RateActionDesc
- func (*RateActionDesc) Descriptor() ([]byte, []int)deprecated
- func (x *RateActionDesc) GetBurstBytes() int32
- func (x *RateActionDesc) GetRateBps() int32
- func (*RateActionDesc) ProtoMessage()
- func (x *RateActionDesc) ProtoReflect() protoreflect.Message
- func (x *RateActionDesc) Reset()
- func (x *RateActionDesc) String() string
- type ReparseActionDesc
- func (*ReparseActionDesc) Descriptor() ([]byte, []int)deprecated
- func (x *ReparseActionDesc) GetFieldIds() []*PacketFieldId
- func (x *ReparseActionDesc) GetHeaderId() PacketHeaderId
- func (x *ReparseActionDesc) GetPrepend() []byte
- func (*ReparseActionDesc) ProtoMessage()
- func (x *ReparseActionDesc) ProtoReflect() protoreflect.Message
- func (x *ReparseActionDesc) Reset()
- func (x *ReparseActionDesc) String() string
- type SelectActionListActionDesc
- func (*SelectActionListActionDesc) Descriptor() ([]byte, []int)deprecated
- func (x *SelectActionListActionDesc) GetActionLists() []*ActionList
- func (x *SelectActionListActionDesc) GetFieldIds() []*PacketFieldId
- func (x *SelectActionListActionDesc) GetSelectAlgorithm() SelectActionListActionDesc_SelectAlgorithm
- func (*SelectActionListActionDesc) ProtoMessage()
- func (x *SelectActionListActionDesc) ProtoReflect() protoreflect.Message
- func (x *SelectActionListActionDesc) Reset()
- func (x *SelectActionListActionDesc) String() string
- type SelectActionListActionDesc_SelectAlgorithm
- func (SelectActionListActionDesc_SelectAlgorithm) Descriptor() protoreflect.EnumDescriptor
- func (x SelectActionListActionDesc_SelectAlgorithm) Enum() *SelectActionListActionDesc_SelectAlgorithm
- func (SelectActionListActionDesc_SelectAlgorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x SelectActionListActionDesc_SelectAlgorithm) Number() protoreflect.EnumNumber
- func (x SelectActionListActionDesc_SelectAlgorithm) String() string
- func (SelectActionListActionDesc_SelectAlgorithm) Type() protoreflect.EnumType
- type SetCreateReply
- type SetCreateRequest
- func (*SetCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetCreateRequest) GetContextId() *ContextId
- func (x *SetCreateRequest) GetSetId() *SetId
- func (*SetCreateRequest) ProtoMessage()
- func (x *SetCreateRequest) ProtoReflect() protoreflect.Message
- func (x *SetCreateRequest) Reset()
- func (x *SetCreateRequest) String() string
- type SetId
- type SetUpdateReply
- type SetUpdateRequest
- func (*SetUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetUpdateRequest) GetBytes() [][]byte
- func (x *SetUpdateRequest) GetContextId() *ContextId
- func (x *SetUpdateRequest) GetSetId() *SetId
- func (*SetUpdateRequest) ProtoMessage()
- func (x *SetUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *SetUpdateRequest) Reset()
- func (x *SetUpdateRequest) String() string
- type TAPPortDesc
- type TableCreateReply
- func (*TableCreateReply) Descriptor() ([]byte, []int)deprecated
- func (x *TableCreateReply) GetObjectIndex() *ObjectIndex
- func (*TableCreateReply) ProtoMessage()
- func (x *TableCreateReply) ProtoReflect() protoreflect.Message
- func (x *TableCreateReply) Reset()
- func (x *TableCreateReply) String() string
- type TableCreateRequest
- func (*TableCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TableCreateRequest) GetContextId() *ContextId
- func (x *TableCreateRequest) GetDesc() *TableDesc
- func (*TableCreateRequest) ProtoMessage()
- func (x *TableCreateRequest) ProtoReflect() protoreflect.Message
- func (x *TableCreateRequest) Reset()
- func (x *TableCreateRequest) String() string
- type TableDesc
- func (*TableDesc) Descriptor() ([]byte, []int)deprecated
- func (x *TableDesc) GetAction() *ActionTableDesc
- func (x *TableDesc) GetActions() []*ActionDesc
- func (x *TableDesc) GetBridge() *BridgeTableDesc
- func (x *TableDesc) GetExact() *ExactTableDesc
- func (x *TableDesc) GetFlow() *FlowTableDesc
- func (x *TableDesc) GetPrefix() *PrefixTableDesc
- func (m *TableDesc) GetTable() isTableDesc_Table
- func (x *TableDesc) GetTableId() *TableId
- func (x *TableDesc) GetTableType() TableType
- func (*TableDesc) ProtoMessage()
- func (x *TableDesc) ProtoReflect() protoreflect.Message
- func (x *TableDesc) Reset()
- func (x *TableDesc) String() string
- type TableDesc_Action
- type TableDesc_Bridge
- type TableDesc_Exact
- type TableDesc_Flow
- type TableDesc_Prefix
- type TableEntryAddReply
- type TableEntryAddRequest
- func (*TableEntryAddRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TableEntryAddRequest) GetActions() []*ActionDesc
- func (x *TableEntryAddRequest) GetClearBeforeAdd() bool
- func (x *TableEntryAddRequest) GetContextId() *ContextId
- func (x *TableEntryAddRequest) GetEntries() []*TableEntryAddRequest_Entry
- func (x *TableEntryAddRequest) GetEntryDesc() *EntryDesc
- func (x *TableEntryAddRequest) GetTableId() *TableId
- func (*TableEntryAddRequest) ProtoMessage()
- func (x *TableEntryAddRequest) ProtoReflect() protoreflect.Message
- func (x *TableEntryAddRequest) Reset()
- func (x *TableEntryAddRequest) String() string
- type TableEntryAddRequest_Entry
- func (*TableEntryAddRequest_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *TableEntryAddRequest_Entry) GetActions() []*ActionDesc
- func (x *TableEntryAddRequest_Entry) GetEntryDesc() *EntryDesc
- func (*TableEntryAddRequest_Entry) ProtoMessage()
- func (x *TableEntryAddRequest_Entry) ProtoReflect() protoreflect.Message
- func (x *TableEntryAddRequest_Entry) Reset()
- func (x *TableEntryAddRequest_Entry) String() string
- type TableEntryRemoveReply
- type TableEntryRemoveRequest
- func (*TableEntryRemoveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TableEntryRemoveRequest) GetContextId() *ContextId
- func (x *TableEntryRemoveRequest) GetEntries() []*EntryDesc
- func (x *TableEntryRemoveRequest) GetEntryDesc() *EntryDesc
- func (x *TableEntryRemoveRequest) GetTableId() *TableId
- func (*TableEntryRemoveRequest) ProtoMessage()
- func (x *TableEntryRemoveRequest) ProtoReflect() protoreflect.Message
- func (x *TableEntryRemoveRequest) Reset()
- func (x *TableEntryRemoveRequest) String() string
- type TableId
- type TableListReply
- type TableListRequest
- func (*TableListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TableListRequest) GetContextId() *ContextId
- func (x *TableListRequest) GetTableId() *TableId
- func (*TableListRequest) ProtoMessage()
- func (x *TableListRequest) ProtoReflect() protoreflect.Message
- func (x *TableListRequest) Reset()
- func (x *TableListRequest) String() string
- type TableType
- type TestActionDesc
- func (*TestActionDesc) Descriptor() ([]byte, []int)deprecated
- func (x *TestActionDesc) GetBytes1() []byte
- func (x *TestActionDesc) GetInt1() uint32
- func (*TestActionDesc) ProtoMessage()
- func (x *TestActionDesc) ProtoReflect() protoreflect.Message
- func (x *TestActionDesc) Reset()
- func (x *TestActionDesc) String() string
- type TransmitActionDesc
- func (*TransmitActionDesc) Descriptor() ([]byte, []int)deprecated
- func (x *TransmitActionDesc) GetImmediate() bool
- func (x *TransmitActionDesc) GetPortId() *PortId
- func (*TransmitActionDesc) ProtoMessage()
- func (x *TransmitActionDesc) ProtoReflect() protoreflect.Message
- func (x *TransmitActionDesc) Reset()
- func (x *TransmitActionDesc) String() string
- type UnimplementedForwardingServer
- func (*UnimplementedForwardingServer) AttributeList(context.Context, *AttributeListRequest) (*AttributeListReply, error)
- func (*UnimplementedForwardingServer) AttributeQuery(context.Context, *AttributeQueryRequest) (*AttributeQueryReply, error)
- func (*UnimplementedForwardingServer) AttributeUpdate(context.Context, *AttributeUpdateRequest) (*AttributeUpdateReply, error)
- func (*UnimplementedForwardingServer) ContextCreate(context.Context, *ContextCreateRequest) (*ContextCreateReply, error)
- func (*UnimplementedForwardingServer) ContextDelete(context.Context, *ContextDeleteRequest) (*ContextDeleteReply, error)
- func (*UnimplementedForwardingServer) ContextList(context.Context, *ContextListRequest) (*ContextListReply, error)
- func (*UnimplementedForwardingServer) FlowCounterCreate(context.Context, *FlowCounterCreateRequest) (*FlowCounterCreateReply, error)
- func (*UnimplementedForwardingServer) FlowCounterQuery(context.Context, *FlowCounterQueryRequest) (*FlowCounterQueryReply, error)
- func (*UnimplementedForwardingServer) NotifySubscribe(*NotifySubscribeRequest, Forwarding_NotifySubscribeServer) error
- func (*UnimplementedForwardingServer) ObjectCounters(context.Context, *ObjectCountersRequest) (*ObjectCountersReply, error)
- func (*UnimplementedForwardingServer) ObjectDelete(context.Context, *ObjectDeleteRequest) (*ObjectDeleteReply, error)
- func (*UnimplementedForwardingServer) ObjectList(context.Context, *ObjectListRequest) (*ObjectListReply, error)
- func (*UnimplementedForwardingServer) ObjectNID(context.Context, *ObjectNIDRequest) (*ObjectNIDReply, error)
- func (*UnimplementedForwardingServer) Operation(Forwarding_OperationServer) error
- func (*UnimplementedForwardingServer) PacketInject(Forwarding_PacketInjectServer) error
- func (*UnimplementedForwardingServer) PacketSinkSubscribe(*PacketSinkRequest, Forwarding_PacketSinkSubscribeServer) error
- func (*UnimplementedForwardingServer) PortCreate(context.Context, *PortCreateRequest) (*PortCreateReply, error)
- func (*UnimplementedForwardingServer) PortState(context.Context, *PortStateRequest) (*PortStateReply, error)
- func (*UnimplementedForwardingServer) PortUpdate(context.Context, *PortUpdateRequest) (*PortUpdateReply, error)
- func (*UnimplementedForwardingServer) SetCreate(context.Context, *SetCreateRequest) (*SetCreateReply, error)
- func (*UnimplementedForwardingServer) SetUpdate(context.Context, *SetUpdateRequest) (*SetUpdateReply, error)
- func (*UnimplementedForwardingServer) TableCreate(context.Context, *TableCreateRequest) (*TableCreateReply, error)
- func (*UnimplementedForwardingServer) TableEntryAdd(context.Context, *TableEntryAddRequest) (*TableEntryAddReply, error)
- func (*UnimplementedForwardingServer) TableEntryRemove(context.Context, *TableEntryRemoveRequest) (*TableEntryRemoveReply, error)
- func (*UnimplementedForwardingServer) TableList(context.Context, *TableListRequest) (*TableListReply, error)
- type UnimplementedInfoServer
- type UpdateActionDesc
- func (*UpdateActionDesc) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateActionDesc) GetBitCount() uint32
- func (x *UpdateActionDesc) GetBitOffset() uint32
- func (x *UpdateActionDesc) GetField() *PacketFieldId
- func (x *UpdateActionDesc) GetFieldId() *PacketFieldId
- func (x *UpdateActionDesc) GetType() UpdateType
- func (x *UpdateActionDesc) GetValue() []byte
- func (*UpdateActionDesc) ProtoMessage()
- func (x *UpdateActionDesc) ProtoReflect() protoreflect.Message
- func (x *UpdateActionDesc) Reset()
- func (x *UpdateActionDesc) String() string
- type UpdateType
Constants ¶
This section is empty.
Variables ¶
var ( ActionType_name = map[int32]string{ 0: "ACTION_TYPE_UNSPECIFIED", 1: "ACTION_TYPE_DROP", 2: "ACTION_TYPE_TRANSMIT", 3: "ACTION_TYPE_LOOKUP", 4: "ACTION_TYPE_RATE", 5: "ACTION_TYPE_ENCAP", 6: "ACTION_TYPE_DECAP", 8: "ACTION_TYPE_UPDATE", 9: "ACTION_TYPE_TEST", 10: "ACTION_TYPE_CONTINUE", 11: "ACTION_TYPE_OUTPUT", 12: "ACTION_TYPE_MIRROR", 13: "ACTION_TYPE_EVALUATE", 14: "ACTION_TYPE_BRIDGE_LEARN", 15: "ACTION_TYPE_FLOW_COUNTER", 16: "ACTION_TYPE_REPARSE", 17: "ACTION_TYPE_SELECT_ACTION_LIST", 18: "ACTION_TYPE_DEBUG", 19: "ACTION_TYPE_SWAP_OUTPUT_INTERNAL_EXTERNAL", } ActionType_value = map[string]int32{ "ACTION_TYPE_UNSPECIFIED": 0, "ACTION_TYPE_DROP": 1, "ACTION_TYPE_TRANSMIT": 2, "ACTION_TYPE_LOOKUP": 3, "ACTION_TYPE_RATE": 4, "ACTION_TYPE_ENCAP": 5, "ACTION_TYPE_DECAP": 6, "ACTION_TYPE_UPDATE": 8, "ACTION_TYPE_TEST": 9, "ACTION_TYPE_CONTINUE": 10, "ACTION_TYPE_OUTPUT": 11, "ACTION_TYPE_MIRROR": 12, "ACTION_TYPE_EVALUATE": 13, "ACTION_TYPE_BRIDGE_LEARN": 14, "ACTION_TYPE_FLOW_COUNTER": 15, "ACTION_TYPE_REPARSE": 16, "ACTION_TYPE_SELECT_ACTION_LIST": 17, "ACTION_TYPE_DEBUG": 18, "ACTION_TYPE_SWAP_OUTPUT_INTERNAL_EXTERNAL": 19, } )
Enum value maps for ActionType.
var ( UpdateType_name = map[int32]string{ 0: "UPDATE_TYPE_UNSPECIFIED", 1: "UPDATE_TYPE_SET", 2: "UPDATE_TYPE_INC", 3: "UPDATE_TYPE_DEC", 4: "UPDATE_TYPE_COPY", 5: "UPDATE_TYPE_BIT_WRITE", 6: "UPDATE_TYPE_BIT_AND", 7: "UPDATE_TYPE_BIT_OR", } UpdateType_value = map[string]int32{ "UPDATE_TYPE_UNSPECIFIED": 0, "UPDATE_TYPE_SET": 1, "UPDATE_TYPE_INC": 2, "UPDATE_TYPE_DEC": 3, "UPDATE_TYPE_COPY": 4, "UPDATE_TYPE_BIT_WRITE": 5, "UPDATE_TYPE_BIT_AND": 6, "UPDATE_TYPE_BIT_OR": 7, } )
Enum value maps for UpdateType.
var ( SelectActionListActionDesc_SelectAlgorithm_name = map[int32]string{ 0: "SELECT_ALGORITHM_UNSPECIFIED", 2: "SELECT_ALGORITHM_CRC16", 3: "SELECT_ALGORITHM_CRC32", 5: "SELECT_ALGORITHM_RANDOM", } SelectActionListActionDesc_SelectAlgorithm_value = map[string]int32{ "SELECT_ALGORITHM_UNSPECIFIED": 0, "SELECT_ALGORITHM_CRC16": 2, "SELECT_ALGORITHM_CRC32": 3, "SELECT_ALGORITHM_RANDOM": 5, } )
Enum value maps for SelectActionListActionDesc_SelectAlgorithm.
var ( PortAction_name = map[int32]string{ 0: "PORT_ACTION_UNSPECIFIED", 1: "PORT_ACTION_INPUT", 2: "PORT_ACTION_OUTPUT", 3: "PORT_ACTION_WRITE", } PortAction_value = map[string]int32{ "PORT_ACTION_UNSPECIFIED": 0, "PORT_ACTION_INPUT": 1, "PORT_ACTION_OUTPUT": 2, "PORT_ACTION_WRITE": 3, } )
Enum value maps for PortAction.
var ( PacketHeaderGroup_name = map[int32]string{ 0: "PACKET_HEADER_GROUP_UNSPECIFIED", 1: "PACKET_HEADER_GROUP_NONE", 2: "PACKET_HEADER_GROUP_PACKET", 3: "PACKET_HEADER_GROUP_L2", 4: "PACKET_HEADER_GROUP_L3", 5: "PACKET_HEADER_GROUP_L4", 6: "PACKET_HEADER_GROUP_PAYLOAD", 20: "PACKET_HEADER_GROUP_COUNT", } PacketHeaderGroup_value = map[string]int32{ "PACKET_HEADER_GROUP_UNSPECIFIED": 0, "PACKET_HEADER_GROUP_NONE": 1, "PACKET_HEADER_GROUP_PACKET": 2, "PACKET_HEADER_GROUP_L2": 3, "PACKET_HEADER_GROUP_L3": 4, "PACKET_HEADER_GROUP_L4": 5, "PACKET_HEADER_GROUP_PAYLOAD": 6, "PACKET_HEADER_GROUP_COUNT": 20, } )
Enum value maps for PacketHeaderGroup.
var ( PacketHeaderId_name = map[int32]string{ 0: "PACKET_HEADER_ID_UNSPECIFIED", 1: "PACKET_HEADER_ID_NONE", 2: "PACKET_HEADER_ID_METADATA", 3: "PACKET_HEADER_ID_ETHERNET", 4: "PACKET_HEADER_ID_ETHERNET_VLAN", 5: "PACKET_HEADER_ID_ETHERNET_1Q", 6: "PACKET_HEADER_ID_IP4", 7: "PACKET_HEADER_ID_IP6", 8: "PACKET_HEADER_ID_GRE", 9: "PACKET_HEADER_ID_TCP", 10: "PACKET_HEADER_ID_UDP", 11: "PACKET_HEADER_ID_ARP", 12: "PACKET_HEADER_ID_ICMP4", 13: "PACKET_HEADER_ID_OPAQUE", 14: "PACKET_HEADER_ID_ICMP6", 15: "PACKET_HEADER_ID_TUNNEL_6TO4_AUTO", 16: "PACKET_HEADER_ID_TUNNEL_6TO4_SECURE", 19: "PACKET_HEADER_ID_IP", 1000: "PACKET_HEADER_ID_COUNT", } PacketHeaderId_value = map[string]int32{ "PACKET_HEADER_ID_UNSPECIFIED": 0, "PACKET_HEADER_ID_NONE": 1, "PACKET_HEADER_ID_METADATA": 2, "PACKET_HEADER_ID_ETHERNET": 3, "PACKET_HEADER_ID_ETHERNET_VLAN": 4, "PACKET_HEADER_ID_ETHERNET_1Q": 5, "PACKET_HEADER_ID_IP4": 6, "PACKET_HEADER_ID_IP6": 7, "PACKET_HEADER_ID_GRE": 8, "PACKET_HEADER_ID_TCP": 9, "PACKET_HEADER_ID_UDP": 10, "PACKET_HEADER_ID_ARP": 11, "PACKET_HEADER_ID_ICMP4": 12, "PACKET_HEADER_ID_OPAQUE": 13, "PACKET_HEADER_ID_ICMP6": 14, "PACKET_HEADER_ID_TUNNEL_6TO4_AUTO": 15, "PACKET_HEADER_ID_TUNNEL_6TO4_SECURE": 16, "PACKET_HEADER_ID_IP": 19, "PACKET_HEADER_ID_COUNT": 1000, } )
Enum value maps for PacketHeaderId.
var ( PacketFieldNum_name = map[int32]string{ 0: "PACKET_FIELD_NUM_UNSPECIFIED", 1: "PACKET_FIELD_NUM_NONE", 2: "PACKET_FIELD_NUM_ETHER_MAC_SRC", 3: "PACKET_FIELD_NUM_ETHER_MAC_DST", 4: "PACKET_FIELD_NUM_ETHER_TYPE", 5: "PACKET_FIELD_NUM_VLAN_TAG", 6: "PACKET_FIELD_NUM_VLAN_PRIORITY", 7: "PACKET_FIELD_NUM_IP_VERSION", 8: "PACKET_FIELD_NUM_IP_ADDR_SRC", 9: "PACKET_FIELD_NUM_IP_ADDR_DST", 10: "PACKET_FIELD_NUM_IP_HOP", 11: "PACKET_FIELD_NUM_IP_PROTO", 12: "PACKET_FIELD_NUM_IP_QOS", 13: "PACKET_FIELD_NUM_IP6_FLOW", 14: "PACKET_FIELD_NUM_PACKET_PORT_INPUT", 15: "PACKET_FIELD_NUM_PACKET_PORT_OUTPUT", 16: "PACKET_FIELD_NUM_PACKET_LENGTH", 17: "PACKET_FIELD_NUM_ICMP_TYPE", 18: "PACKET_FIELD_NUM_ICMP_CODE", 19: "PACKET_FIELD_NUM_L4_PORT_SRC", 20: "PACKET_FIELD_NUM_L4_PORT_DST", 21: "PACKET_FIELD_NUM_TCP_FLAGS", 22: "PACKET_FIELD_NUM_ARP_TPA", 23: "PACKET_FIELD_NUM_GRE_KEY", 24: "PACKET_FIELD_NUM_GRE_SEQUENCE", 25: "PACKET_FIELD_NUM_PACKET_VRF", 26: "PACKET_FIELD_NUM_ICMP6_ND_TARGET", 27: "PACKET_FIELD_NUM_ICMP6_ND_SLL", 28: "PACKET_FIELD_NUM_ICMP6_ND_TLL", 34: "PACKET_FIELD_NUM_PACKET_ATTRIBUTE_32", 46: "PACKET_FIELD_NUM_PACKET_ATTRIBUTE_16", 49: "PACKET_FIELD_NUM_PACKET_ATTRIBUTE_8", 50: "PACKET_FIELD_NUM_PACKET_ATTRIBUTE_24", 52: "PACKET_FIELD_NUM_ARP_TMAC", 53: "PACKET_FIELD_NUM_ARP_SMAC", 54: "PACKET_FIELD_NUM_ARP_SPA", 56: "PACKET_FIELD_NUM_NEXT_HOP_IP", 57: "PACKET_FIELD_NUM_NEXT_HOP_GROUP_ID", 58: "PACKET_FIELD_NUM_NEXT_HOP_ID", 59: "PACKET_FIELD_NUM_TRAP_ID", 60: "PACKET_FIELD_NUM_INPUT_IFACE", 61: "PACKET_FIELD_NUM_OUTPUT_IFACE", 62: "PACKET_FIELD_NUM_TUNNEL_ID", 63: "PACKET_FIELD_NUM_HOST_PORT_ID", 64: "PACKET_FIELD_NUM_L2MC_GROUP_ID", 65: "PACKET_FIELD_NUM_POLICER_ID", 1000: "PACKET_FIELD_NUM_COUNT", } PacketFieldNum_value = map[string]int32{ "PACKET_FIELD_NUM_UNSPECIFIED": 0, "PACKET_FIELD_NUM_NONE": 1, "PACKET_FIELD_NUM_ETHER_MAC_SRC": 2, "PACKET_FIELD_NUM_ETHER_MAC_DST": 3, "PACKET_FIELD_NUM_ETHER_TYPE": 4, "PACKET_FIELD_NUM_VLAN_TAG": 5, "PACKET_FIELD_NUM_VLAN_PRIORITY": 6, "PACKET_FIELD_NUM_IP_VERSION": 7, "PACKET_FIELD_NUM_IP_ADDR_SRC": 8, "PACKET_FIELD_NUM_IP_ADDR_DST": 9, "PACKET_FIELD_NUM_IP_HOP": 10, "PACKET_FIELD_NUM_IP_PROTO": 11, "PACKET_FIELD_NUM_IP_QOS": 12, "PACKET_FIELD_NUM_IP6_FLOW": 13, "PACKET_FIELD_NUM_PACKET_PORT_INPUT": 14, "PACKET_FIELD_NUM_PACKET_PORT_OUTPUT": 15, "PACKET_FIELD_NUM_PACKET_LENGTH": 16, "PACKET_FIELD_NUM_ICMP_TYPE": 17, "PACKET_FIELD_NUM_ICMP_CODE": 18, "PACKET_FIELD_NUM_L4_PORT_SRC": 19, "PACKET_FIELD_NUM_L4_PORT_DST": 20, "PACKET_FIELD_NUM_TCP_FLAGS": 21, "PACKET_FIELD_NUM_ARP_TPA": 22, "PACKET_FIELD_NUM_GRE_KEY": 23, "PACKET_FIELD_NUM_GRE_SEQUENCE": 24, "PACKET_FIELD_NUM_PACKET_VRF": 25, "PACKET_FIELD_NUM_ICMP6_ND_TARGET": 26, "PACKET_FIELD_NUM_ICMP6_ND_SLL": 27, "PACKET_FIELD_NUM_ICMP6_ND_TLL": 28, "PACKET_FIELD_NUM_PACKET_ATTRIBUTE_32": 34, "PACKET_FIELD_NUM_PACKET_ATTRIBUTE_16": 46, "PACKET_FIELD_NUM_PACKET_ATTRIBUTE_8": 49, "PACKET_FIELD_NUM_PACKET_ATTRIBUTE_24": 50, "PACKET_FIELD_NUM_ARP_TMAC": 52, "PACKET_FIELD_NUM_ARP_SMAC": 53, "PACKET_FIELD_NUM_ARP_SPA": 54, "PACKET_FIELD_NUM_NEXT_HOP_IP": 56, "PACKET_FIELD_NUM_NEXT_HOP_GROUP_ID": 57, "PACKET_FIELD_NUM_NEXT_HOP_ID": 58, "PACKET_FIELD_NUM_TRAP_ID": 59, "PACKET_FIELD_NUM_INPUT_IFACE": 60, "PACKET_FIELD_NUM_OUTPUT_IFACE": 61, "PACKET_FIELD_NUM_TUNNEL_ID": 62, "PACKET_FIELD_NUM_HOST_PORT_ID": 63, "PACKET_FIELD_NUM_L2MC_GROUP_ID": 64, "PACKET_FIELD_NUM_POLICER_ID": 65, "PACKET_FIELD_NUM_COUNT": 1000, } )
Enum value maps for PacketFieldNum.
var ( CounterId_name = map[int32]string{ 0: "COUNTER_ID_UNSPECIFIED", 1: "COUNTER_ID_RX_PACKETS", 2: "COUNTER_ID_RX_OCTETS", 3: "COUNTER_ID_RX_DROP_PACKETS", 4: "COUNTER_ID_RX_DROP_OCTETS", 5: "COUNTER_ID_RX_ERROR_PACKETS", 6: "COUNTER_ID_RX_ERROR_OCTETS", 7: "COUNTER_ID_TX_PACKETS", 8: "COUNTER_ID_TX_OCTETS", 9: "COUNTER_ID_TX_DROP_PACKETS", 10: "COUNTER_ID_TX_DROP_OCTETS", 11: "COUNTER_ID_TX_ERROR_PACKETS", 12: "COUNTER_ID_TX_ERROR_OCTETS", 13: "COUNTER_ID_RATELIMIT_PACKETS", 14: "COUNTER_ID_RATELIMIT_OCTETS", 15: "COUNTER_ID_DROP_PACKETS", 16: "COUNTER_ID_DROP_OCTETS", 17: "COUNTER_ID_ERROR_PACKETS", 18: "COUNTER_ID_ERROR_OCTETS", 19: "COUNTER_ID_RX_BAD_PACKETS", 20: "COUNTER_ID_RX_BAD_OCTETS", 21: "COUNTER_ID_RX_ADMIN_DROP_PACKETS", 22: "COUNTER_ID_RX_ADMIN_DROP_OCTETS", 23: "COUNTER_ID_TX_ADMIN_DROP_PACKETS", 24: "COUNTER_ID_TX_ADMIN_DROP_OCTETS", 25: "COUNTER_ID_MIRROR_PACKETS", 26: "COUNTER_ID_MIRROR_OCTETS", 27: "COUNTER_ID_MIRROR_ERROR_PACKETS", 28: "COUNTER_ID_MIRROR_ERROR_OCTETS", 29: "COUNTER_ID_ENCAP_ERROR_PACKETS", 30: "COUNTER_ID_ENCAP_ERROR_OCTETS", 31: "COUNTER_ID_DECAP_ERROR_PACKETS", 32: "COUNTER_ID_DECAP_ERROR_OCTETS", 33: "COUNTER_ID_FLOW_COUNTER_OCTETS", 34: "COUNTER_ID_FLOW_COUNTER_PACKETS", 35: "COUNTER_ID_RX_DEBUG_PACKETS", 36: "COUNTER_ID_RX_DEBUG_OCTETS", 37: "COUNTER_ID_RX_UCAST_PACKETS", 38: "COUNTER_ID_RX_NON_UCAST_PACKETS", 39: "COUNTER_ID_TX_UCAST_PACKETS", 40: "COUNTER_ID_TX_NON_UCAST_PACKETS", 255: "COUNTER_ID_MAX", } CounterId_value = map[string]int32{ "COUNTER_ID_UNSPECIFIED": 0, "COUNTER_ID_RX_PACKETS": 1, "COUNTER_ID_RX_OCTETS": 2, "COUNTER_ID_RX_DROP_PACKETS": 3, "COUNTER_ID_RX_DROP_OCTETS": 4, "COUNTER_ID_RX_ERROR_PACKETS": 5, "COUNTER_ID_RX_ERROR_OCTETS": 6, "COUNTER_ID_TX_PACKETS": 7, "COUNTER_ID_TX_OCTETS": 8, "COUNTER_ID_TX_DROP_PACKETS": 9, "COUNTER_ID_TX_DROP_OCTETS": 10, "COUNTER_ID_TX_ERROR_PACKETS": 11, "COUNTER_ID_TX_ERROR_OCTETS": 12, "COUNTER_ID_RATELIMIT_PACKETS": 13, "COUNTER_ID_RATELIMIT_OCTETS": 14, "COUNTER_ID_DROP_PACKETS": 15, "COUNTER_ID_DROP_OCTETS": 16, "COUNTER_ID_ERROR_PACKETS": 17, "COUNTER_ID_ERROR_OCTETS": 18, "COUNTER_ID_RX_BAD_PACKETS": 19, "COUNTER_ID_RX_BAD_OCTETS": 20, "COUNTER_ID_RX_ADMIN_DROP_PACKETS": 21, "COUNTER_ID_RX_ADMIN_DROP_OCTETS": 22, "COUNTER_ID_TX_ADMIN_DROP_PACKETS": 23, "COUNTER_ID_TX_ADMIN_DROP_OCTETS": 24, "COUNTER_ID_MIRROR_PACKETS": 25, "COUNTER_ID_MIRROR_OCTETS": 26, "COUNTER_ID_MIRROR_ERROR_PACKETS": 27, "COUNTER_ID_MIRROR_ERROR_OCTETS": 28, "COUNTER_ID_ENCAP_ERROR_PACKETS": 29, "COUNTER_ID_ENCAP_ERROR_OCTETS": 30, "COUNTER_ID_DECAP_ERROR_PACKETS": 31, "COUNTER_ID_DECAP_ERROR_OCTETS": 32, "COUNTER_ID_FLOW_COUNTER_OCTETS": 33, "COUNTER_ID_FLOW_COUNTER_PACKETS": 34, "COUNTER_ID_RX_DEBUG_PACKETS": 35, "COUNTER_ID_RX_DEBUG_OCTETS": 36, "COUNTER_ID_RX_UCAST_PACKETS": 37, "COUNTER_ID_RX_NON_UCAST_PACKETS": 38, "COUNTER_ID_TX_UCAST_PACKETS": 39, "COUNTER_ID_TX_NON_UCAST_PACKETS": 40, "COUNTER_ID_MAX": 255, } )
Enum value maps for CounterId.
var ( InfoType_name = map[int32]string{ 0: "INFO_TYPE_UNSPECIFIED", 1: "INFO_TYPE_ALL", 2: "INFO_TYPE_LOOKUP", 3: "INFO_TYPE_PORT_INPUT", 4: "INFO_TYPE_PORT_OUTPUT", } InfoType_value = map[string]int32{ "INFO_TYPE_UNSPECIFIED": 0, "INFO_TYPE_ALL": 1, "INFO_TYPE_LOOKUP": 2, "INFO_TYPE_PORT_INPUT": 3, "INFO_TYPE_PORT_OUTPUT": 4, } )
Enum value maps for InfoType.
var ( Event_name = map[int32]string{ 0: "EVENT_UNSPECIFIED", 1: "EVENT_PORT", } Event_value = map[string]int32{ "EVENT_UNSPECIFIED": 0, "EVENT_PORT": 1, } )
Enum value maps for Event.
var ( PortType_name = map[int32]string{ 0: "PORT_TYPE_UNSPECIFIED", 1: "PORT_TYPE_CPU_PORT", 2: "PORT_TYPE_AGGREGATE_PORT", 3: "PORT_TYPE_KERNEL", 4: "PORT_TYPE_TAP", 5: "PORT_TYPE_FAKE", 6: "PORT_TYPE_GENETLINK", } PortType_value = map[string]int32{ "PORT_TYPE_UNSPECIFIED": 0, "PORT_TYPE_CPU_PORT": 1, "PORT_TYPE_AGGREGATE_PORT": 2, "PORT_TYPE_KERNEL": 3, "PORT_TYPE_TAP": 4, "PORT_TYPE_FAKE": 5, "PORT_TYPE_GENETLINK": 6, } )
Enum value maps for PortType.
var ( AggregateHashAlgorithm_name = map[int32]string{ 0: "AGGREGATE_HASH_ALGORITHM_UNSPECIFIED", 2: "AGGREGATE_HASH_ALGORITHM_CRC16", 3: "AGGREGATE_HASH_ALGORITHM_CRC32", 5: "AGGREGATE_HASH_ALGORITHM_FLOOD", } AggregateHashAlgorithm_value = map[string]int32{ "AGGREGATE_HASH_ALGORITHM_UNSPECIFIED": 0, "AGGREGATE_HASH_ALGORITHM_CRC16": 2, "AGGREGATE_HASH_ALGORITHM_CRC32": 3, "AGGREGATE_HASH_ALGORITHM_FLOOD": 5, } )
Enum value maps for AggregateHashAlgorithm.
var ( PortState_name = map[int32]string{ 0: "PORT_STATE_UNSPECIFIED", 2: "PORT_STATE_ENABLED_UP", 3: "PORT_STATE_DISABLED_DOWN", } PortState_value = map[string]int32{ "PORT_STATE_UNSPECIFIED": 0, "PORT_STATE_ENABLED_UP": 2, "PORT_STATE_DISABLED_DOWN": 3, } )
Enum value maps for PortState.
var ( PortSpeedBehavior_name = map[int32]string{ 0: "PORT_SPEED_BEHAVIOR_UNSPECIFIED", 1: "PORT_SPEED_BEHAVIOR_ANY_SPEED", 2: "PORT_SPEED_BEHAVIOR_SAME_SPEED", } PortSpeedBehavior_value = map[string]int32{ "PORT_SPEED_BEHAVIOR_UNSPECIFIED": 0, "PORT_SPEED_BEHAVIOR_ANY_SPEED": 1, "PORT_SPEED_BEHAVIOR_SAME_SPEED": 2, } )
Enum value maps for PortSpeedBehavior.
var ( TableType_name = map[int32]string{ 0: "TABLE_TYPE_UNSPECIFIED", 1: "TABLE_TYPE_EXACT", 2: "TABLE_TYPE_PREFIX", 3: "TABLE_TYPE_FLOW", 4: "TABLE_TYPE_BRIDGE", 5: "TABLE_TYPE_ACTION", } TableType_value = map[string]int32{ "TABLE_TYPE_UNSPECIFIED": 0, "TABLE_TYPE_EXACT": 1, "TABLE_TYPE_PREFIX": 2, "TABLE_TYPE_FLOW": 3, "TABLE_TYPE_BRIDGE": 4, "TABLE_TYPE_ACTION": 5, } )
Enum value maps for TableType.
var ( ActionEntryDesc_InsertMethod_name = map[int32]string{ 0: "INSERT_METHOD_UNSPECIFIED", 1: "INSERT_METHOD_PREPEND", 2: "INSERT_METHOD_APPEND", } ActionEntryDesc_InsertMethod_value = map[string]int32{ "INSERT_METHOD_UNSPECIFIED": 0, "INSERT_METHOD_PREPEND": 1, "INSERT_METHOD_APPEND": 2, } )
Enum value maps for ActionEntryDesc_InsertMethod.
var File_proto_forwarding_forwarding_action_proto protoreflect.FileDescriptor
var File_proto_forwarding_forwarding_attribute_proto protoreflect.FileDescriptor
var File_proto_forwarding_forwarding_common_proto protoreflect.FileDescriptor
var File_proto_forwarding_forwarding_info_proto protoreflect.FileDescriptor
var File_proto_forwarding_forwarding_notification_proto protoreflect.FileDescriptor
var File_proto_forwarding_forwarding_operation_proto protoreflect.FileDescriptor
var File_proto_forwarding_forwarding_packetsink_proto protoreflect.FileDescriptor
var File_proto_forwarding_forwarding_port_proto protoreflect.FileDescriptor
var File_proto_forwarding_forwarding_service_proto protoreflect.FileDescriptor
var File_proto_forwarding_forwarding_table_proto protoreflect.FileDescriptor
Functions ¶
func RegisterForwardingServer ¶ added in v0.4.0
func RegisterForwardingServer(s *grpc.Server, srv ForwardingServer)
func RegisterInfoServer ¶
func RegisterInfoServer(s *grpc.Server, srv InfoServer)
Types ¶
type ActionDesc ¶
type ActionDesc struct { ActionType ActionType `protobuf:"varint,1,opt,name=action_type,json=actionType,proto3,enum=forwarding.ActionType" json:"action_type,omitempty"` OnEvaluate bool `protobuf:"varint,2,opt,name=on_evaluate,json=onEvaluate,proto3" json:"on_evaluate,omitempty"` // Types that are assignable to Action: // // *ActionDesc_Transmit // *ActionDesc_Lookup // *ActionDesc_Rate // *ActionDesc_Encap // *ActionDesc_Decap // *ActionDesc_Update // *ActionDesc_Test // *ActionDesc_Mirror // *ActionDesc_Bridge // *ActionDesc_Flow // *ActionDesc_Reparse // *ActionDesc_Select Action isActionDesc_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
func (*ActionDesc) Descriptor
deprecated
func (*ActionDesc) Descriptor() ([]byte, []int)
Deprecated: Use ActionDesc.ProtoReflect.Descriptor instead.
func (*ActionDesc) GetAction ¶
func (m *ActionDesc) GetAction() isActionDesc_Action
func (*ActionDesc) GetActionType ¶
func (x *ActionDesc) GetActionType() ActionType
func (*ActionDesc) GetBridge ¶
func (x *ActionDesc) GetBridge() *BridgeLearnActionDesc
func (*ActionDesc) GetDecap ¶
func (x *ActionDesc) GetDecap() *DecapActionDesc
func (*ActionDesc) GetEncap ¶
func (x *ActionDesc) GetEncap() *EncapActionDesc
func (*ActionDesc) GetFlow ¶
func (x *ActionDesc) GetFlow() *FlowCounterActionDesc
func (*ActionDesc) GetLookup ¶
func (x *ActionDesc) GetLookup() *LookupActionDesc
func (*ActionDesc) GetMirror ¶
func (x *ActionDesc) GetMirror() *MirrorActionDesc
func (*ActionDesc) GetOnEvaluate ¶
func (x *ActionDesc) GetOnEvaluate() bool
func (*ActionDesc) GetRate ¶
func (x *ActionDesc) GetRate() *RateActionDesc
func (*ActionDesc) GetReparse ¶
func (x *ActionDesc) GetReparse() *ReparseActionDesc
func (*ActionDesc) GetSelect ¶
func (x *ActionDesc) GetSelect() *SelectActionListActionDesc
func (*ActionDesc) GetTest ¶
func (x *ActionDesc) GetTest() *TestActionDesc
func (*ActionDesc) GetTransmit ¶
func (x *ActionDesc) GetTransmit() *TransmitActionDesc
func (*ActionDesc) GetUpdate ¶
func (x *ActionDesc) GetUpdate() *UpdateActionDesc
func (*ActionDesc) ProtoMessage ¶
func (*ActionDesc) ProtoMessage()
func (*ActionDesc) ProtoReflect ¶
func (x *ActionDesc) ProtoReflect() protoreflect.Message
func (*ActionDesc) Reset ¶
func (x *ActionDesc) Reset()
func (*ActionDesc) String ¶
func (x *ActionDesc) String() string
type ActionDesc_Bridge ¶
type ActionDesc_Bridge struct {
Bridge *BridgeLearnActionDesc `protobuf:"bytes,11,opt,name=bridge,proto3,oneof"`
}
type ActionDesc_Decap ¶
type ActionDesc_Decap struct {
Decap *DecapActionDesc `protobuf:"bytes,7,opt,name=decap,proto3,oneof"`
}
type ActionDesc_Encap ¶
type ActionDesc_Encap struct {
Encap *EncapActionDesc `protobuf:"bytes,6,opt,name=encap,proto3,oneof"`
}
type ActionDesc_Flow ¶
type ActionDesc_Flow struct {
Flow *FlowCounterActionDesc `protobuf:"bytes,12,opt,name=flow,proto3,oneof"`
}
type ActionDesc_Lookup ¶
type ActionDesc_Lookup struct {
Lookup *LookupActionDesc `protobuf:"bytes,4,opt,name=lookup,proto3,oneof"`
}
type ActionDesc_Mirror ¶
type ActionDesc_Mirror struct {
Mirror *MirrorActionDesc `protobuf:"bytes,10,opt,name=mirror,proto3,oneof"`
}
type ActionDesc_Rate ¶
type ActionDesc_Rate struct {
Rate *RateActionDesc `protobuf:"bytes,5,opt,name=rate,proto3,oneof"`
}
type ActionDesc_Reparse ¶
type ActionDesc_Reparse struct {
Reparse *ReparseActionDesc `protobuf:"bytes,13,opt,name=reparse,proto3,oneof"`
}
type ActionDesc_Select ¶
type ActionDesc_Select struct {
Select *SelectActionListActionDesc `protobuf:"bytes,14,opt,name=select,proto3,oneof"`
}
type ActionDesc_Test ¶
type ActionDesc_Test struct {
Test *TestActionDesc `protobuf:"bytes,9,opt,name=test,proto3,oneof"`
}
type ActionDesc_Transmit ¶
type ActionDesc_Transmit struct {
Transmit *TransmitActionDesc `protobuf:"bytes,3,opt,name=transmit,proto3,oneof"`
}
type ActionDesc_Update ¶
type ActionDesc_Update struct {
Update *UpdateActionDesc `protobuf:"bytes,8,opt,name=update,proto3,oneof"`
}
type ActionEntryDesc ¶ added in v0.4.0
type ActionEntryDesc struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` InsertMethod ActionEntryDesc_InsertMethod `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ActionEntryDesc) Descriptor
deprecated
added in
v0.4.0
func (*ActionEntryDesc) Descriptor() ([]byte, []int)
Deprecated: Use ActionEntryDesc.ProtoReflect.Descriptor instead.
func (*ActionEntryDesc) GetId ¶ added in v0.4.0
func (x *ActionEntryDesc) GetId() string
func (*ActionEntryDesc) GetInsertMethod ¶ added in v0.4.0
func (x *ActionEntryDesc) GetInsertMethod() ActionEntryDesc_InsertMethod
func (*ActionEntryDesc) ProtoMessage ¶ added in v0.4.0
func (*ActionEntryDesc) ProtoMessage()
func (*ActionEntryDesc) ProtoReflect ¶ added in v0.4.0
func (x *ActionEntryDesc) ProtoReflect() protoreflect.Message
func (*ActionEntryDesc) Reset ¶ added in v0.4.0
func (x *ActionEntryDesc) Reset()
func (*ActionEntryDesc) String ¶ added in v0.4.0
func (x *ActionEntryDesc) String() string
type ActionEntryDesc_InsertMethod ¶ added in v0.4.0
type ActionEntryDesc_InsertMethod int32
const ( ActionEntryDesc_INSERT_METHOD_UNSPECIFIED ActionEntryDesc_InsertMethod = 0 ActionEntryDesc_INSERT_METHOD_PREPEND ActionEntryDesc_InsertMethod = 1 ActionEntryDesc_INSERT_METHOD_APPEND ActionEntryDesc_InsertMethod = 2 )
func (ActionEntryDesc_InsertMethod) Descriptor ¶ added in v0.4.0
func (ActionEntryDesc_InsertMethod) Descriptor() protoreflect.EnumDescriptor
func (ActionEntryDesc_InsertMethod) Enum ¶ added in v0.4.0
func (x ActionEntryDesc_InsertMethod) Enum() *ActionEntryDesc_InsertMethod
func (ActionEntryDesc_InsertMethod) EnumDescriptor
deprecated
added in
v0.4.0
func (ActionEntryDesc_InsertMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use ActionEntryDesc_InsertMethod.Descriptor instead.
func (ActionEntryDesc_InsertMethod) Number ¶ added in v0.4.0
func (x ActionEntryDesc_InsertMethod) Number() protoreflect.EnumNumber
func (ActionEntryDesc_InsertMethod) String ¶ added in v0.4.0
func (x ActionEntryDesc_InsertMethod) String() string
func (ActionEntryDesc_InsertMethod) Type ¶ added in v0.4.0
func (ActionEntryDesc_InsertMethod) Type() protoreflect.EnumType
type ActionList ¶
type ActionList struct { Actions []*ActionDesc `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` Weight uint64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"` // contains filtered or unexported fields }
func (*ActionList) Descriptor
deprecated
func (*ActionList) Descriptor() ([]byte, []int)
Deprecated: Use ActionList.ProtoReflect.Descriptor instead.
func (*ActionList) GetActions ¶
func (x *ActionList) GetActions() []*ActionDesc
func (*ActionList) GetWeight ¶
func (x *ActionList) GetWeight() uint64
func (*ActionList) ProtoMessage ¶
func (*ActionList) ProtoMessage()
func (*ActionList) ProtoReflect ¶
func (x *ActionList) ProtoReflect() protoreflect.Message
func (*ActionList) Reset ¶
func (x *ActionList) Reset()
func (*ActionList) String ¶
func (x *ActionList) String() string
type ActionTableDesc ¶ added in v0.4.0
type ActionTableDesc struct {
// contains filtered or unexported fields
}
func (*ActionTableDesc) Descriptor
deprecated
added in
v0.4.0
func (*ActionTableDesc) Descriptor() ([]byte, []int)
Deprecated: Use ActionTableDesc.ProtoReflect.Descriptor instead.
func (*ActionTableDesc) ProtoMessage ¶ added in v0.4.0
func (*ActionTableDesc) ProtoMessage()
func (*ActionTableDesc) ProtoReflect ¶ added in v0.4.0
func (x *ActionTableDesc) ProtoReflect() protoreflect.Message
func (*ActionTableDesc) Reset ¶ added in v0.4.0
func (x *ActionTableDesc) Reset()
func (*ActionTableDesc) String ¶ added in v0.4.0
func (x *ActionTableDesc) String() string
type ActionType ¶
type ActionType int32
const ( ActionType_ACTION_TYPE_UNSPECIFIED ActionType = 0 ActionType_ACTION_TYPE_DROP ActionType = 1 ActionType_ACTION_TYPE_TRANSMIT ActionType = 2 ActionType_ACTION_TYPE_LOOKUP ActionType = 3 ActionType_ACTION_TYPE_RATE ActionType = 4 ActionType_ACTION_TYPE_ENCAP ActionType = 5 ActionType_ACTION_TYPE_DECAP ActionType = 6 ActionType_ACTION_TYPE_UPDATE ActionType = 8 ActionType_ACTION_TYPE_TEST ActionType = 9 ActionType_ACTION_TYPE_CONTINUE ActionType = 10 ActionType_ACTION_TYPE_OUTPUT ActionType = 11 ActionType_ACTION_TYPE_MIRROR ActionType = 12 ActionType_ACTION_TYPE_EVALUATE ActionType = 13 ActionType_ACTION_TYPE_BRIDGE_LEARN ActionType = 14 ActionType_ACTION_TYPE_FLOW_COUNTER ActionType = 15 ActionType_ACTION_TYPE_REPARSE ActionType = 16 ActionType_ACTION_TYPE_SELECT_ACTION_LIST ActionType = 17 ActionType_ACTION_TYPE_DEBUG ActionType = 18 ActionType_ACTION_TYPE_SWAP_OUTPUT_INTERNAL_EXTERNAL ActionType = 19 )
func (ActionType) Descriptor ¶
func (ActionType) Descriptor() protoreflect.EnumDescriptor
func (ActionType) Enum ¶
func (x ActionType) Enum() *ActionType
func (ActionType) EnumDescriptor
deprecated
func (ActionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ActionType.Descriptor instead.
func (ActionType) Number ¶
func (x ActionType) Number() protoreflect.EnumNumber
func (ActionType) String ¶
func (x ActionType) String() string
func (ActionType) Type ¶
func (ActionType) Type() protoreflect.EnumType
type AggregateHashAlgorithm ¶
type AggregateHashAlgorithm int32
const ( AggregateHashAlgorithm_AGGREGATE_HASH_ALGORITHM_UNSPECIFIED AggregateHashAlgorithm = 0 AggregateHashAlgorithm_AGGREGATE_HASH_ALGORITHM_CRC16 AggregateHashAlgorithm = 2 AggregateHashAlgorithm_AGGREGATE_HASH_ALGORITHM_CRC32 AggregateHashAlgorithm = 3 AggregateHashAlgorithm_AGGREGATE_HASH_ALGORITHM_FLOOD AggregateHashAlgorithm = 5 )
func (AggregateHashAlgorithm) Descriptor ¶
func (AggregateHashAlgorithm) Descriptor() protoreflect.EnumDescriptor
func (AggregateHashAlgorithm) Enum ¶
func (x AggregateHashAlgorithm) Enum() *AggregateHashAlgorithm
func (AggregateHashAlgorithm) EnumDescriptor
deprecated
func (AggregateHashAlgorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use AggregateHashAlgorithm.Descriptor instead.
func (AggregateHashAlgorithm) Number ¶
func (x AggregateHashAlgorithm) Number() protoreflect.EnumNumber
func (AggregateHashAlgorithm) String ¶
func (x AggregateHashAlgorithm) String() string
func (AggregateHashAlgorithm) Type ¶
func (AggregateHashAlgorithm) Type() protoreflect.EnumType
type AggregatePortAddMemberUpdateDesc ¶
type AggregatePortAddMemberUpdateDesc struct { PortId *PortId `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` SelectActions []*ActionDesc `protobuf:"bytes,2,rep,name=select_actions,json=selectActions,proto3" json:"select_actions,omitempty"` InstanceCount uint32 `protobuf:"varint,3,opt,name=instance_count,json=instanceCount,proto3" json:"instance_count,omitempty"` // contains filtered or unexported fields }
func (*AggregatePortAddMemberUpdateDesc) Descriptor
deprecated
func (*AggregatePortAddMemberUpdateDesc) Descriptor() ([]byte, []int)
Deprecated: Use AggregatePortAddMemberUpdateDesc.ProtoReflect.Descriptor instead.
func (*AggregatePortAddMemberUpdateDesc) GetInstanceCount ¶
func (x *AggregatePortAddMemberUpdateDesc) GetInstanceCount() uint32
func (*AggregatePortAddMemberUpdateDesc) GetPortId ¶
func (x *AggregatePortAddMemberUpdateDesc) GetPortId() *PortId
func (*AggregatePortAddMemberUpdateDesc) GetSelectActions ¶
func (x *AggregatePortAddMemberUpdateDesc) GetSelectActions() []*ActionDesc
func (*AggregatePortAddMemberUpdateDesc) ProtoMessage ¶
func (*AggregatePortAddMemberUpdateDesc) ProtoMessage()
func (*AggregatePortAddMemberUpdateDesc) ProtoReflect ¶
func (x *AggregatePortAddMemberUpdateDesc) ProtoReflect() protoreflect.Message
func (*AggregatePortAddMemberUpdateDesc) Reset ¶
func (x *AggregatePortAddMemberUpdateDesc) Reset()
func (*AggregatePortAddMemberUpdateDesc) String ¶
func (x *AggregatePortAddMemberUpdateDesc) String() string
type AggregatePortAlgorithmUpdateDesc ¶
type AggregatePortAlgorithmUpdateDesc struct { Hash AggregateHashAlgorithm `protobuf:"varint,1,opt,name=hash,proto3,enum=forwarding.AggregateHashAlgorithm" json:"hash,omitempty"` FieldIds []*PacketFieldId `protobuf:"bytes,2,rep,name=field_ids,json=fieldIds,proto3" json:"field_ids,omitempty"` // contains filtered or unexported fields }
func (*AggregatePortAlgorithmUpdateDesc) Descriptor
deprecated
func (*AggregatePortAlgorithmUpdateDesc) Descriptor() ([]byte, []int)
Deprecated: Use AggregatePortAlgorithmUpdateDesc.ProtoReflect.Descriptor instead.
func (*AggregatePortAlgorithmUpdateDesc) GetFieldIds ¶
func (x *AggregatePortAlgorithmUpdateDesc) GetFieldIds() []*PacketFieldId
func (*AggregatePortAlgorithmUpdateDesc) GetHash ¶
func (x *AggregatePortAlgorithmUpdateDesc) GetHash() AggregateHashAlgorithm
func (*AggregatePortAlgorithmUpdateDesc) ProtoMessage ¶
func (*AggregatePortAlgorithmUpdateDesc) ProtoMessage()
func (*AggregatePortAlgorithmUpdateDesc) ProtoReflect ¶
func (x *AggregatePortAlgorithmUpdateDesc) ProtoReflect() protoreflect.Message
func (*AggregatePortAlgorithmUpdateDesc) Reset ¶
func (x *AggregatePortAlgorithmUpdateDesc) Reset()
func (*AggregatePortAlgorithmUpdateDesc) String ¶
func (x *AggregatePortAlgorithmUpdateDesc) String() string
type AggregatePortRemoveMemberUpdateDesc ¶
type AggregatePortRemoveMemberUpdateDesc struct { PortId *PortId `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` // contains filtered or unexported fields }
func (*AggregatePortRemoveMemberUpdateDesc) Descriptor
deprecated
func (*AggregatePortRemoveMemberUpdateDesc) Descriptor() ([]byte, []int)
Deprecated: Use AggregatePortRemoveMemberUpdateDesc.ProtoReflect.Descriptor instead.
func (*AggregatePortRemoveMemberUpdateDesc) GetPortId ¶
func (x *AggregatePortRemoveMemberUpdateDesc) GetPortId() *PortId
func (*AggregatePortRemoveMemberUpdateDesc) ProtoMessage ¶
func (*AggregatePortRemoveMemberUpdateDesc) ProtoMessage()
func (*AggregatePortRemoveMemberUpdateDesc) ProtoReflect ¶
func (x *AggregatePortRemoveMemberUpdateDesc) ProtoReflect() protoreflect.Message
func (*AggregatePortRemoveMemberUpdateDesc) Reset ¶
func (x *AggregatePortRemoveMemberUpdateDesc) Reset()
func (*AggregatePortRemoveMemberUpdateDesc) String ¶
func (x *AggregatePortRemoveMemberUpdateDesc) String() string
type AggregatePortUpdateDesc ¶
type AggregatePortUpdateDesc struct { PortIds []*PortId `protobuf:"bytes,1,rep,name=port_ids,json=portIds,proto3" json:"port_ids,omitempty"` Hash AggregateHashAlgorithm `protobuf:"varint,2,opt,name=hash,proto3,enum=forwarding.AggregateHashAlgorithm" json:"hash,omitempty"` FieldIds []*PacketFieldId `protobuf:"bytes,3,rep,name=field_ids,json=fieldIds,proto3" json:"field_ids,omitempty"` SelectActions []*AggregateSelectAction `protobuf:"bytes,4,rep,name=select_actions,json=selectActions,proto3" json:"select_actions,omitempty"` // contains filtered or unexported fields }
func (*AggregatePortUpdateDesc) Descriptor
deprecated
func (*AggregatePortUpdateDesc) Descriptor() ([]byte, []int)
Deprecated: Use AggregatePortUpdateDesc.ProtoReflect.Descriptor instead.
func (*AggregatePortUpdateDesc) GetFieldIds ¶
func (x *AggregatePortUpdateDesc) GetFieldIds() []*PacketFieldId
func (*AggregatePortUpdateDesc) GetHash ¶
func (x *AggregatePortUpdateDesc) GetHash() AggregateHashAlgorithm
func (*AggregatePortUpdateDesc) GetPortIds ¶
func (x *AggregatePortUpdateDesc) GetPortIds() []*PortId
func (*AggregatePortUpdateDesc) GetSelectActions ¶
func (x *AggregatePortUpdateDesc) GetSelectActions() []*AggregateSelectAction
func (*AggregatePortUpdateDesc) ProtoMessage ¶
func (*AggregatePortUpdateDesc) ProtoMessage()
func (*AggregatePortUpdateDesc) ProtoReflect ¶
func (x *AggregatePortUpdateDesc) ProtoReflect() protoreflect.Message
func (*AggregatePortUpdateDesc) Reset ¶
func (x *AggregatePortUpdateDesc) Reset()
func (*AggregatePortUpdateDesc) String ¶
func (x *AggregatePortUpdateDesc) String() string
type AggregateSelectAction ¶
type AggregateSelectAction struct { PortId *PortId `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` Actions []*ActionDesc `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
func (*AggregateSelectAction) Descriptor
deprecated
func (*AggregateSelectAction) Descriptor() ([]byte, []int)
Deprecated: Use AggregateSelectAction.ProtoReflect.Descriptor instead.
func (*AggregateSelectAction) GetActions ¶
func (x *AggregateSelectAction) GetActions() []*ActionDesc
func (*AggregateSelectAction) GetPortId ¶
func (x *AggregateSelectAction) GetPortId() *PortId
func (*AggregateSelectAction) ProtoMessage ¶
func (*AggregateSelectAction) ProtoMessage()
func (*AggregateSelectAction) ProtoReflect ¶
func (x *AggregateSelectAction) ProtoReflect() protoreflect.Message
func (*AggregateSelectAction) Reset ¶
func (x *AggregateSelectAction) Reset()
func (*AggregateSelectAction) String ¶
func (x *AggregateSelectAction) String() string
type AttributeDesc ¶
type AttributeDesc struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Help string `protobuf:"bytes,2,opt,name=help,proto3" json:"help,omitempty"` // contains filtered or unexported fields }
func (*AttributeDesc) Descriptor
deprecated
func (*AttributeDesc) Descriptor() ([]byte, []int)
Deprecated: Use AttributeDesc.ProtoReflect.Descriptor instead.
func (*AttributeDesc) GetHelp ¶
func (x *AttributeDesc) GetHelp() string
func (*AttributeDesc) GetName ¶
func (x *AttributeDesc) GetName() string
func (*AttributeDesc) ProtoMessage ¶
func (*AttributeDesc) ProtoMessage()
func (*AttributeDesc) ProtoReflect ¶
func (x *AttributeDesc) ProtoReflect() protoreflect.Message
func (*AttributeDesc) Reset ¶
func (x *AttributeDesc) Reset()
func (*AttributeDesc) String ¶
func (x *AttributeDesc) String() string
type AttributeListReply ¶
type AttributeListReply struct { Attrs []*AttributeDesc `protobuf:"bytes,1,rep,name=attrs,proto3" json:"attrs,omitempty"` // contains filtered or unexported fields }
func (*AttributeListReply) Descriptor
deprecated
func (*AttributeListReply) Descriptor() ([]byte, []int)
Deprecated: Use AttributeListReply.ProtoReflect.Descriptor instead.
func (*AttributeListReply) GetAttrs ¶
func (x *AttributeListReply) GetAttrs() []*AttributeDesc
func (*AttributeListReply) ProtoMessage ¶
func (*AttributeListReply) ProtoMessage()
func (*AttributeListReply) ProtoReflect ¶
func (x *AttributeListReply) ProtoReflect() protoreflect.Message
func (*AttributeListReply) Reset ¶
func (x *AttributeListReply) Reset()
func (*AttributeListReply) String ¶
func (x *AttributeListReply) String() string
type AttributeListRequest ¶
type AttributeListRequest struct {
// contains filtered or unexported fields
}
func (*AttributeListRequest) Descriptor
deprecated
func (*AttributeListRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttributeListRequest.ProtoReflect.Descriptor instead.
func (*AttributeListRequest) ProtoMessage ¶
func (*AttributeListRequest) ProtoMessage()
func (*AttributeListRequest) ProtoReflect ¶
func (x *AttributeListRequest) ProtoReflect() protoreflect.Message
func (*AttributeListRequest) Reset ¶
func (x *AttributeListRequest) Reset()
func (*AttributeListRequest) String ¶
func (x *AttributeListRequest) String() string
type AttributeQueryReply ¶ added in v0.4.0
type AttributeQueryReply struct { AttrValue string `protobuf:"bytes,1,opt,name=attr_value,json=attrValue,proto3" json:"attr_value,omitempty"` // contains filtered or unexported fields }
func (*AttributeQueryReply) Descriptor
deprecated
added in
v0.4.0
func (*AttributeQueryReply) Descriptor() ([]byte, []int)
Deprecated: Use AttributeQueryReply.ProtoReflect.Descriptor instead.
func (*AttributeQueryReply) GetAttrValue ¶ added in v0.4.0
func (x *AttributeQueryReply) GetAttrValue() string
func (*AttributeQueryReply) ProtoMessage ¶ added in v0.4.0
func (*AttributeQueryReply) ProtoMessage()
func (*AttributeQueryReply) ProtoReflect ¶ added in v0.4.0
func (x *AttributeQueryReply) ProtoReflect() protoreflect.Message
func (*AttributeQueryReply) Reset ¶ added in v0.4.0
func (x *AttributeQueryReply) Reset()
func (*AttributeQueryReply) String ¶ added in v0.4.0
func (x *AttributeQueryReply) String() string
type AttributeQueryRequest ¶ added in v0.4.0
type AttributeQueryRequest struct { ContextId *ContextId `protobuf:"bytes,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` ObjectId *ObjectId `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` AttrId string `protobuf:"bytes,3,opt,name=attr_id,json=attrId,proto3" json:"attr_id,omitempty"` // contains filtered or unexported fields }
func (*AttributeQueryRequest) Descriptor
deprecated
added in
v0.4.0
func (*AttributeQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttributeQueryRequest.ProtoReflect.Descriptor instead.
func (*AttributeQueryRequest) GetAttrId ¶ added in v0.4.0
func (x *AttributeQueryRequest) GetAttrId() string
func (*AttributeQueryRequest) GetContextId ¶ added in v0.4.0
func (x *AttributeQueryRequest) GetContextId() *ContextId
func (*AttributeQueryRequest) GetObjectId ¶ added in v0.4.0
func (x *AttributeQueryRequest) GetObjectId() *ObjectId
func (*AttributeQueryRequest) ProtoMessage ¶ added in v0.4.0
func (*AttributeQueryRequest) ProtoMessage()
func (*AttributeQueryRequest) ProtoReflect ¶ added in v0.4.0
func (x *AttributeQueryRequest) ProtoReflect() protoreflect.Message
func (*AttributeQueryRequest) Reset ¶ added in v0.4.0
func (x *AttributeQueryRequest) Reset()
func (*AttributeQueryRequest) String ¶ added in v0.4.0
func (x *AttributeQueryRequest) String() string
type AttributeUpdateReply ¶
type AttributeUpdateReply struct {
// contains filtered or unexported fields
}
func (*AttributeUpdateReply) Descriptor
deprecated
func (*AttributeUpdateReply) Descriptor() ([]byte, []int)
Deprecated: Use AttributeUpdateReply.ProtoReflect.Descriptor instead.
func (*AttributeUpdateReply) ProtoMessage ¶
func (*AttributeUpdateReply) ProtoMessage()
func (*AttributeUpdateReply) ProtoReflect ¶
func (x *AttributeUpdateReply) ProtoReflect() protoreflect.Message
func (*AttributeUpdateReply) Reset ¶
func (x *AttributeUpdateReply) Reset()
func (*AttributeUpdateReply) String ¶
func (x *AttributeUpdateReply) String() string
type AttributeUpdateRequest ¶
type AttributeUpdateRequest struct { ContextId *ContextId `protobuf:"bytes,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` ObjectId *ObjectId `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` AttrId string `protobuf:"bytes,3,opt,name=attr_id,json=attrId,proto3" json:"attr_id,omitempty"` AttrValue string `protobuf:"bytes,4,opt,name=attr_value,json=attrValue,proto3" json:"attr_value,omitempty"` // contains filtered or unexported fields }
func (*AttributeUpdateRequest) Descriptor
deprecated
func (*AttributeUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttributeUpdateRequest.ProtoReflect.Descriptor instead.
func (*AttributeUpdateRequest) GetAttrId ¶
func (x *AttributeUpdateRequest) GetAttrId() string
func (*AttributeUpdateRequest) GetAttrValue ¶
func (x *AttributeUpdateRequest) GetAttrValue() string
func (*AttributeUpdateRequest) GetContextId ¶
func (x *AttributeUpdateRequest) GetContextId() *ContextId
func (*AttributeUpdateRequest) GetObjectId ¶
func (x *AttributeUpdateRequest) GetObjectId() *ObjectId
func (*AttributeUpdateRequest) ProtoMessage ¶
func (*AttributeUpdateRequest) ProtoMessage()
func (*AttributeUpdateRequest) ProtoReflect ¶
func (x *AttributeUpdateRequest) ProtoReflect() protoreflect.Message
func (*AttributeUpdateRequest) Reset ¶
func (x *AttributeUpdateRequest) Reset()
func (*AttributeUpdateRequest) String ¶
func (x *AttributeUpdateRequest) String() string
type BridgeLearnActionDesc ¶
type BridgeLearnActionDesc struct { TableId *TableId `protobuf:"bytes,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` // contains filtered or unexported fields }
func (*BridgeLearnActionDesc) Descriptor
deprecated
func (*BridgeLearnActionDesc) Descriptor() ([]byte, []int)
Deprecated: Use BridgeLearnActionDesc.ProtoReflect.Descriptor instead.
func (*BridgeLearnActionDesc) GetTableId ¶
func (x *BridgeLearnActionDesc) GetTableId() *TableId
func (*BridgeLearnActionDesc) ProtoMessage ¶
func (*BridgeLearnActionDesc) ProtoMessage()
func (*BridgeLearnActionDesc) ProtoReflect ¶
func (x *BridgeLearnActionDesc) ProtoReflect() protoreflect.Message
func (*BridgeLearnActionDesc) Reset ¶
func (x *BridgeLearnActionDesc) Reset()
func (*BridgeLearnActionDesc) String ¶
func (x *BridgeLearnActionDesc) String() string
type BridgeTableDesc ¶
type BridgeTableDesc struct { TransientTimeout uint32 `protobuf:"varint,1,opt,name=transient_timeout,json=transientTimeout,proto3" json:"transient_timeout,omitempty"` // contains filtered or unexported fields }
func (*BridgeTableDesc) Descriptor
deprecated
func (*BridgeTableDesc) Descriptor() ([]byte, []int)
Deprecated: Use BridgeTableDesc.ProtoReflect.Descriptor instead.
func (*BridgeTableDesc) GetTransientTimeout ¶
func (x *BridgeTableDesc) GetTransientTimeout() uint32
func (*BridgeTableDesc) ProtoMessage ¶
func (*BridgeTableDesc) ProtoMessage()
func (*BridgeTableDesc) ProtoReflect ¶
func (x *BridgeTableDesc) ProtoReflect() protoreflect.Message
func (*BridgeTableDesc) Reset ¶
func (x *BridgeTableDesc) Reset()
func (*BridgeTableDesc) String ¶
func (x *BridgeTableDesc) String() string
type CPUPortDesc ¶
type CPUPortDesc struct { QueueId string `protobuf:"bytes,1,opt,name=queue_id,json=queueId,proto3" json:"queue_id,omitempty"` QueueLength int32 `protobuf:"varint,2,opt,name=queue_length,json=queueLength,proto3" json:"queue_length,omitempty"` ExportFieldIds []*PacketFieldId `protobuf:"bytes,3,rep,name=export_field_ids,json=exportFieldIds,proto3" json:"export_field_ids,omitempty"` RemotePort bool `protobuf:"varint,4,opt,name=remote_port,json=remotePort,proto3" json:"remote_port,omitempty"` // contains filtered or unexported fields }
func (*CPUPortDesc) Descriptor
deprecated
func (*CPUPortDesc) Descriptor() ([]byte, []int)
Deprecated: Use CPUPortDesc.ProtoReflect.Descriptor instead.
func (*CPUPortDesc) GetExportFieldIds ¶
func (x *CPUPortDesc) GetExportFieldIds() []*PacketFieldId
func (*CPUPortDesc) GetQueueId ¶
func (x *CPUPortDesc) GetQueueId() string
func (*CPUPortDesc) GetQueueLength ¶
func (x *CPUPortDesc) GetQueueLength() int32
func (*CPUPortDesc) GetRemotePort ¶ added in v0.4.0
func (x *CPUPortDesc) GetRemotePort() bool
func (*CPUPortDesc) ProtoMessage ¶
func (*CPUPortDesc) ProtoMessage()
func (*CPUPortDesc) ProtoReflect ¶
func (x *CPUPortDesc) ProtoReflect() protoreflect.Message
func (*CPUPortDesc) Reset ¶
func (x *CPUPortDesc) Reset()
func (*CPUPortDesc) String ¶
func (x *CPUPortDesc) String() string
type CPUPortUpdateDesc ¶
type CPUPortUpdateDesc struct { Inputs []*ActionDesc `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"` Outputs []*ActionDesc `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"` // contains filtered or unexported fields }
func (*CPUPortUpdateDesc) Descriptor
deprecated
func (*CPUPortUpdateDesc) Descriptor() ([]byte, []int)
Deprecated: Use CPUPortUpdateDesc.ProtoReflect.Descriptor instead.
func (*CPUPortUpdateDesc) GetInputs ¶
func (x *CPUPortUpdateDesc) GetInputs() []*ActionDesc
func (*CPUPortUpdateDesc) GetOutputs ¶
func (x *CPUPortUpdateDesc) GetOutputs() []*ActionDesc
func (*CPUPortUpdateDesc) ProtoMessage ¶
func (*CPUPortUpdateDesc) ProtoMessage()
func (*CPUPortUpdateDesc) ProtoReflect ¶
func (x *CPUPortUpdateDesc) ProtoReflect() protoreflect.Message
func (*CPUPortUpdateDesc) Reset ¶
func (x *CPUPortUpdateDesc) Reset()
func (*CPUPortUpdateDesc) String ¶
func (x *CPUPortUpdateDesc) String() string
type ContextAttr ¶
type ContextAttr struct { ContextId *ContextId `protobuf:"bytes,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` // contains filtered or unexported fields }
func (*ContextAttr) Descriptor
deprecated
func (*ContextAttr) Descriptor() ([]byte, []int)
Deprecated: Use ContextAttr.ProtoReflect.Descriptor instead.
func (*ContextAttr) GetContextId ¶
func (x *ContextAttr) GetContextId() *ContextId
func (*ContextAttr) ProtoMessage ¶
func (*ContextAttr) ProtoMessage()
func (*ContextAttr) ProtoReflect ¶
func (x *ContextAttr) ProtoReflect() protoreflect.Message
func (*ContextAttr) Reset ¶
func (x *ContextAttr) Reset()
func (*ContextAttr) String ¶
func (x *ContextAttr) String() string
type ContextCreateReply ¶
type ContextCreateReply struct {
// contains filtered or unexported fields
}
func (*ContextCreateReply) Descriptor
deprecated
func (*ContextCreateReply) Descriptor() ([]byte, []int)
Deprecated: Use ContextCreateReply.ProtoReflect.Descriptor instead.
func (*ContextCreateReply) ProtoMessage ¶
func (*ContextCreateReply) ProtoMessage()
func (*ContextCreateReply) ProtoReflect ¶
func (x *ContextCreateReply) ProtoReflect() protoreflect.Message
func (*ContextCreateReply) Reset ¶
func (x *ContextCreateReply) Reset()
func (*ContextCreateReply) String ¶
func (x *ContextCreateReply) String() string
type ContextCreateRequest ¶
type ContextCreateRequest struct { ContextId *ContextId `protobuf:"bytes,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` // contains filtered or unexported fields }
func (*ContextCreateRequest) Descriptor
deprecated
func (*ContextCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContextCreateRequest.ProtoReflect.Descriptor instead.
func (*ContextCreateRequest) GetContextId ¶
func (x *ContextCreateRequest) GetContextId() *ContextId
func (*ContextCreateRequest) ProtoMessage ¶
func (*ContextCreateRequest) ProtoMessage()
func (*ContextCreateRequest) ProtoReflect ¶
func (x *ContextCreateRequest) ProtoReflect() protoreflect.Message
func (*ContextCreateRequest) Reset ¶
func (x *ContextCreateRequest) Reset()
func (*ContextCreateRequest) String ¶
func (x *ContextCreateRequest) String() string
type ContextDeleteReply ¶
type ContextDeleteReply struct {
// contains filtered or unexported fields
}
func (*ContextDeleteReply) Descriptor
deprecated
func (*ContextDeleteReply) Descriptor() ([]byte, []int)
Deprecated: Use ContextDeleteReply.ProtoReflect.Descriptor instead.
func (*ContextDeleteReply) ProtoMessage ¶
func (*ContextDeleteReply) ProtoMessage()
func (*ContextDeleteReply) ProtoReflect ¶
func (x *ContextDeleteReply) ProtoReflect() protoreflect.Message
func (*ContextDeleteReply) Reset ¶
func (x *ContextDeleteReply) Reset()
func (*ContextDeleteReply) String ¶
func (x *ContextDeleteReply) String() string
type ContextDeleteRequest ¶
type ContextDeleteRequest struct { ContextId *ContextId `protobuf:"bytes,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` // contains filtered or unexported fields }
func (*ContextDeleteRequest) Descriptor
deprecated
func (*ContextDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContextDeleteRequest.ProtoReflect.Descriptor instead.
func (*ContextDeleteRequest) GetContextId ¶
func (x *ContextDeleteRequest) GetContextId() *ContextId
func (*ContextDeleteRequest) ProtoMessage ¶
func (*ContextDeleteRequest) ProtoMessage()
func (*ContextDeleteRequest) ProtoReflect ¶
func (x *ContextDeleteRequest) ProtoReflect() protoreflect.Message
func (*ContextDeleteRequest) Reset ¶
func (x *ContextDeleteRequest) Reset()
func (*ContextDeleteRequest) String ¶
func (x *ContextDeleteRequest) String() string
type ContextId ¶
type ContextId struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ContextId) Descriptor
deprecated
func (*ContextId) ProtoMessage ¶
func (*ContextId) ProtoMessage()
func (*ContextId) ProtoReflect ¶
func (x *ContextId) ProtoReflect() protoreflect.Message
type ContextListReply ¶
type ContextListReply struct { Contexts []*ContextAttr `protobuf:"bytes,1,rep,name=contexts,proto3" json:"contexts,omitempty"` // contains filtered or unexported fields }
func (*ContextListReply) Descriptor
deprecated
func (*ContextListReply) Descriptor() ([]byte, []int)
Deprecated: Use ContextListReply.ProtoReflect.Descriptor instead.
func (*ContextListReply) GetContexts ¶
func (x *ContextListReply) GetContexts() []*ContextAttr
func (*ContextListReply) ProtoMessage ¶
func (*ContextListReply) ProtoMessage()
func (*ContextListReply) ProtoReflect ¶
func (x *ContextListReply) ProtoReflect() protoreflect.Message
func (*ContextListReply) Reset ¶
func (x *ContextListReply) Reset()
func (*ContextListReply) String ¶
func (x *ContextListReply) String() string
type ContextListRequest ¶
type ContextListRequest struct {
// contains filtered or unexported fields
}
func (*ContextListRequest) Descriptor
deprecated
func (*ContextListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContextListRequest.ProtoReflect.Descriptor instead.
func (*ContextListRequest) ProtoMessage ¶
func (*ContextListRequest) ProtoMessage()
func (*ContextListRequest) ProtoReflect ¶
func (x *ContextListRequest) ProtoReflect() protoreflect.Message
func (*ContextListRequest) Reset ¶
func (x *ContextListRequest) Reset()
func (*ContextListRequest) String ¶
func (x *ContextListRequest) String() string
type Counter ¶
type Counter struct { Id CounterId `protobuf:"varint,1,opt,name=id,proto3,enum=forwarding.CounterId" json:"id,omitempty"` Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Counter) Descriptor
deprecated
func (*Counter) ProtoMessage ¶
func (*Counter) ProtoMessage()
func (*Counter) ProtoReflect ¶
func (x *Counter) ProtoReflect() protoreflect.Message
type CounterId ¶
type CounterId int32
const ( CounterId_COUNTER_ID_UNSPECIFIED CounterId = 0 CounterId_COUNTER_ID_RX_PACKETS CounterId = 1 CounterId_COUNTER_ID_RX_OCTETS CounterId = 2 CounterId_COUNTER_ID_RX_DROP_PACKETS CounterId = 3 CounterId_COUNTER_ID_RX_DROP_OCTETS CounterId = 4 CounterId_COUNTER_ID_RX_ERROR_PACKETS CounterId = 5 CounterId_COUNTER_ID_RX_ERROR_OCTETS CounterId = 6 CounterId_COUNTER_ID_TX_PACKETS CounterId = 7 CounterId_COUNTER_ID_TX_OCTETS CounterId = 8 CounterId_COUNTER_ID_TX_DROP_PACKETS CounterId = 9 CounterId_COUNTER_ID_TX_DROP_OCTETS CounterId = 10 CounterId_COUNTER_ID_TX_ERROR_PACKETS CounterId = 11 CounterId_COUNTER_ID_TX_ERROR_OCTETS CounterId = 12 CounterId_COUNTER_ID_RATELIMIT_PACKETS CounterId = 13 CounterId_COUNTER_ID_RATELIMIT_OCTETS CounterId = 14 CounterId_COUNTER_ID_DROP_PACKETS CounterId = 15 CounterId_COUNTER_ID_DROP_OCTETS CounterId = 16 CounterId_COUNTER_ID_ERROR_PACKETS CounterId = 17 CounterId_COUNTER_ID_ERROR_OCTETS CounterId = 18 CounterId_COUNTER_ID_RX_BAD_PACKETS CounterId = 19 CounterId_COUNTER_ID_RX_BAD_OCTETS CounterId = 20 CounterId_COUNTER_ID_RX_ADMIN_DROP_PACKETS CounterId = 21 CounterId_COUNTER_ID_RX_ADMIN_DROP_OCTETS CounterId = 22 CounterId_COUNTER_ID_TX_ADMIN_DROP_PACKETS CounterId = 23 CounterId_COUNTER_ID_TX_ADMIN_DROP_OCTETS CounterId = 24 CounterId_COUNTER_ID_MIRROR_PACKETS CounterId = 25 CounterId_COUNTER_ID_MIRROR_OCTETS CounterId = 26 CounterId_COUNTER_ID_MIRROR_ERROR_PACKETS CounterId = 27 CounterId_COUNTER_ID_MIRROR_ERROR_OCTETS CounterId = 28 CounterId_COUNTER_ID_ENCAP_ERROR_PACKETS CounterId = 29 CounterId_COUNTER_ID_ENCAP_ERROR_OCTETS CounterId = 30 CounterId_COUNTER_ID_DECAP_ERROR_PACKETS CounterId = 31 CounterId_COUNTER_ID_DECAP_ERROR_OCTETS CounterId = 32 CounterId_COUNTER_ID_FLOW_COUNTER_OCTETS CounterId = 33 CounterId_COUNTER_ID_FLOW_COUNTER_PACKETS CounterId = 34 CounterId_COUNTER_ID_RX_DEBUG_PACKETS CounterId = 35 CounterId_COUNTER_ID_RX_DEBUG_OCTETS CounterId = 36 CounterId_COUNTER_ID_RX_UCAST_PACKETS CounterId = 37 CounterId_COUNTER_ID_RX_NON_UCAST_PACKETS CounterId = 38 CounterId_COUNTER_ID_TX_UCAST_PACKETS CounterId = 39 CounterId_COUNTER_ID_TX_NON_UCAST_PACKETS CounterId = 40 CounterId_COUNTER_ID_MAX CounterId = 255 )
func (CounterId) Descriptor ¶
func (CounterId) Descriptor() protoreflect.EnumDescriptor
func (CounterId) EnumDescriptor
deprecated
func (CounterId) Number ¶
func (x CounterId) Number() protoreflect.EnumNumber
func (CounterId) Type ¶
func (CounterId) Type() protoreflect.EnumType
type DecapActionDesc ¶
type DecapActionDesc struct { HeaderId PacketHeaderId `protobuf:"varint,1,opt,name=header_id,json=headerId,proto3,enum=forwarding.PacketHeaderId" json:"header_id,omitempty"` // contains filtered or unexported fields }
func (*DecapActionDesc) Descriptor
deprecated
func (*DecapActionDesc) Descriptor() ([]byte, []int)
Deprecated: Use DecapActionDesc.ProtoReflect.Descriptor instead.
func (*DecapActionDesc) GetHeaderId ¶
func (x *DecapActionDesc) GetHeaderId() PacketHeaderId
func (*DecapActionDesc) ProtoMessage ¶
func (*DecapActionDesc) ProtoMessage()
func (*DecapActionDesc) ProtoReflect ¶
func (x *DecapActionDesc) ProtoReflect() protoreflect.Message
func (*DecapActionDesc) Reset ¶
func (x *DecapActionDesc) Reset()
func (*DecapActionDesc) String ¶
func (x *DecapActionDesc) String() string
type EncapActionDesc ¶
type EncapActionDesc struct { HeaderId PacketHeaderId `protobuf:"varint,1,opt,name=header_id,json=headerId,proto3,enum=forwarding.PacketHeaderId" json:"header_id,omitempty"` // contains filtered or unexported fields }
func (*EncapActionDesc) Descriptor
deprecated
func (*EncapActionDesc) Descriptor() ([]byte, []int)
Deprecated: Use EncapActionDesc.ProtoReflect.Descriptor instead.
func (*EncapActionDesc) GetHeaderId ¶
func (x *EncapActionDesc) GetHeaderId() PacketHeaderId
func (*EncapActionDesc) ProtoMessage ¶
func (*EncapActionDesc) ProtoMessage()
func (*EncapActionDesc) ProtoReflect ¶
func (x *EncapActionDesc) ProtoReflect() protoreflect.Message
func (*EncapActionDesc) Reset ¶
func (x *EncapActionDesc) Reset()
func (*EncapActionDesc) String ¶
func (x *EncapActionDesc) String() string
type EntryDesc ¶
type EntryDesc struct { // Types that are assignable to Entry: // // *EntryDesc_Exact // *EntryDesc_Prefix // *EntryDesc_Flow // *EntryDesc_Bridge // *EntryDesc_Action Entry isEntryDesc_Entry `protobuf_oneof:"entry"` // contains filtered or unexported fields }
func (*EntryDesc) Descriptor
deprecated
func (*EntryDesc) GetAction ¶ added in v0.4.0
func (x *EntryDesc) GetAction() *ActionEntryDesc
func (*EntryDesc) GetBridge ¶
func (x *EntryDesc) GetBridge() *BridgeTableDesc
func (*EntryDesc) GetExact ¶
func (x *EntryDesc) GetExact() *ExactEntryDesc
func (*EntryDesc) GetFlow ¶
func (x *EntryDesc) GetFlow() *FlowEntryDesc
func (*EntryDesc) GetPrefix ¶
func (x *EntryDesc) GetPrefix() *PrefixEntryDesc
func (*EntryDesc) ProtoMessage ¶
func (*EntryDesc) ProtoMessage()
func (*EntryDesc) ProtoReflect ¶
func (x *EntryDesc) ProtoReflect() protoreflect.Message
type EntryDesc_Action ¶ added in v0.4.0
type EntryDesc_Action struct {
Action *ActionEntryDesc `protobuf:"bytes,5,opt,name=action,proto3,oneof"`
}
type EntryDesc_Bridge ¶
type EntryDesc_Bridge struct {
Bridge *BridgeTableDesc `protobuf:"bytes,4,opt,name=bridge,proto3,oneof"`
}
type EntryDesc_Exact ¶
type EntryDesc_Exact struct {
Exact *ExactEntryDesc `protobuf:"bytes,1,opt,name=exact,proto3,oneof"`
}
type EntryDesc_Flow ¶
type EntryDesc_Flow struct {
Flow *FlowEntryDesc `protobuf:"bytes,3,opt,name=flow,proto3,oneof"`
}
type EntryDesc_Prefix ¶
type EntryDesc_Prefix struct {
Prefix *PrefixEntryDesc `protobuf:"bytes,2,opt,name=prefix,proto3,oneof"`
}
type Event ¶
type Event int32
func (Event) Descriptor ¶
func (Event) Descriptor() protoreflect.EnumDescriptor
func (Event) EnumDescriptor
deprecated
func (Event) Number ¶
func (x Event) Number() protoreflect.EnumNumber
func (Event) Type ¶
func (Event) Type() protoreflect.EnumType
type EventDesc ¶
type EventDesc struct { Event Event `protobuf:"varint,1,opt,name=event,proto3,enum=forwarding.Event" json:"event,omitempty"` SequenceNumber uint64 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` // Types that are assignable to Desc: // // *EventDesc_Port Desc isEventDesc_Desc `protobuf_oneof:"desc"` // contains filtered or unexported fields }
func (*EventDesc) Descriptor
deprecated
func (*EventDesc) GetPort ¶
func (x *EventDesc) GetPort() *PortEventDesc
func (*EventDesc) GetSequenceNumber ¶
func (*EventDesc) ProtoMessage ¶
func (*EventDesc) ProtoMessage()
func (*EventDesc) ProtoReflect ¶
func (x *EventDesc) ProtoReflect() protoreflect.Message
type EventDesc_Port ¶
type EventDesc_Port struct {
Port *PortEventDesc `protobuf:"bytes,3,opt,name=port,proto3,oneof"`
}
type ExactEntryDesc ¶
type ExactEntryDesc struct { Fields []*PacketFieldBytes `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` Transient bool `protobuf:"varint,2,opt,name=transient,proto3" json:"transient,omitempty"` // contains filtered or unexported fields }
func (*ExactEntryDesc) Descriptor
deprecated
func (*ExactEntryDesc) Descriptor() ([]byte, []int)
Deprecated: Use ExactEntryDesc.ProtoReflect.Descriptor instead.
func (*ExactEntryDesc) GetFields ¶
func (x *ExactEntryDesc) GetFields() []*PacketFieldBytes
func (*ExactEntryDesc) GetTransient ¶
func (x *ExactEntryDesc) GetTransient() bool
func (*ExactEntryDesc) ProtoMessage ¶
func (*ExactEntryDesc) ProtoMessage()
func (*ExactEntryDesc) ProtoReflect ¶
func (x *ExactEntryDesc) ProtoReflect() protoreflect.Message
func (*ExactEntryDesc) Reset ¶
func (x *ExactEntryDesc) Reset()
func (*ExactEntryDesc) String ¶
func (x *ExactEntryDesc) String() string
type ExactTableDesc ¶
type ExactTableDesc struct { FieldIds []*PacketFieldId `protobuf:"bytes,1,rep,name=field_ids,json=fieldIds,proto3" json:"field_ids,omitempty"` TransientTimeout uint32 `protobuf:"varint,2,opt,name=transient_timeout,json=transientTimeout,proto3" json:"transient_timeout,omitempty"` // contains filtered or unexported fields }
func (*ExactTableDesc) Descriptor
deprecated
func (*ExactTableDesc) Descriptor() ([]byte, []int)
Deprecated: Use ExactTableDesc.ProtoReflect.Descriptor instead.
func (*ExactTableDesc) GetFieldIds ¶
func (x *ExactTableDesc) GetFieldIds() []*PacketFieldId
func (*ExactTableDesc) GetTransientTimeout ¶
func (x *ExactTableDesc) GetTransientTimeout() uint32
func (*ExactTableDesc) ProtoMessage ¶
func (*ExactTableDesc) ProtoMessage()
func (*ExactTableDesc) ProtoReflect ¶
func (x *ExactTableDesc) ProtoReflect() protoreflect.Message
func (*ExactTableDesc) Reset ¶
func (x *ExactTableDesc) Reset()
func (*ExactTableDesc) String ¶
func (x *ExactTableDesc) String() string
type FakePortDesc ¶ added in v0.4.0
type FakePortDesc struct { InFile string `protobuf:"bytes,1,opt,name=in_file,json=inFile,proto3" json:"in_file,omitempty"` OutFile string `protobuf:"bytes,2,opt,name=out_file,json=outFile,proto3" json:"out_file,omitempty"` HwLane uint32 `protobuf:"varint,3,opt,name=hw_lane,json=hwLane,proto3" json:"hw_lane,omitempty"` // contains filtered or unexported fields }
func (*FakePortDesc) Descriptor
deprecated
added in
v0.4.0
func (*FakePortDesc) Descriptor() ([]byte, []int)
Deprecated: Use FakePortDesc.ProtoReflect.Descriptor instead.
func (*FakePortDesc) GetHwLane ¶ added in v0.4.0
func (x *FakePortDesc) GetHwLane() uint32
func (*FakePortDesc) GetInFile ¶ added in v0.4.0
func (x *FakePortDesc) GetInFile() string
func (*FakePortDesc) GetOutFile ¶ added in v0.4.0
func (x *FakePortDesc) GetOutFile() string
func (*FakePortDesc) ProtoMessage ¶ added in v0.4.0
func (*FakePortDesc) ProtoMessage()
func (*FakePortDesc) ProtoReflect ¶ added in v0.4.0
func (x *FakePortDesc) ProtoReflect() protoreflect.Message
func (*FakePortDesc) Reset ¶ added in v0.4.0
func (x *FakePortDesc) Reset()
func (*FakePortDesc) String ¶ added in v0.4.0
func (x *FakePortDesc) String() string
type FlowCounter ¶
type FlowCounter struct { Id *FlowCounterId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Octets uint64 `protobuf:"varint,2,opt,name=octets,proto3" json:"octets,omitempty"` Packets uint64 `protobuf:"varint,3,opt,name=packets,proto3" json:"packets,omitempty"` // contains filtered or unexported fields }
func (*FlowCounter) Descriptor
deprecated
func (*FlowCounter) Descriptor() ([]byte, []int)
Deprecated: Use FlowCounter.ProtoReflect.Descriptor instead.
func (*FlowCounter) GetId ¶
func (x *FlowCounter) GetId() *FlowCounterId
func (*FlowCounter) GetOctets ¶
func (x *FlowCounter) GetOctets() uint64
func (*FlowCounter) GetPackets ¶
func (x *FlowCounter) GetPackets() uint64
func (*FlowCounter) ProtoMessage ¶
func (*FlowCounter) ProtoMessage()
func (*FlowCounter) ProtoReflect ¶
func (x *FlowCounter) ProtoReflect() protoreflect.Message
func (*FlowCounter) Reset ¶
func (x *FlowCounter) Reset()
func (*FlowCounter) String ¶
func (x *FlowCounter) String() string
type FlowCounterActionDesc ¶
type FlowCounterActionDesc struct { CounterId *FlowCounterId `protobuf:"bytes,1,opt,name=counter_id,json=counterId,proto3" json:"counter_id,omitempty"` // contains filtered or unexported fields }
func (*FlowCounterActionDesc) Descriptor
deprecated
func (*FlowCounterActionDesc) Descriptor() ([]byte, []int)
Deprecated: Use FlowCounterActionDesc.ProtoReflect.Descriptor instead.
func (*FlowCounterActionDesc) GetCounterId ¶
func (x *FlowCounterActionDesc) GetCounterId() *FlowCounterId
func (*FlowCounterActionDesc) ProtoMessage ¶
func (*FlowCounterActionDesc) ProtoMessage()
func (*FlowCounterActionDesc) ProtoReflect ¶
func (x *FlowCounterActionDesc) ProtoReflect() protoreflect.Message
func (*FlowCounterActionDesc) Reset ¶
func (x *FlowCounterActionDesc) Reset()
func (*FlowCounterActionDesc) String ¶
func (x *FlowCounterActionDesc) String() string
type FlowCounterCreateReply ¶
type FlowCounterCreateReply struct {
// contains filtered or unexported fields
}
func (*FlowCounterCreateReply) Descriptor
deprecated
func (*FlowCounterCreateReply) Descriptor() ([]byte, []int)
Deprecated: Use FlowCounterCreateReply.ProtoReflect.Descriptor instead.
func (*FlowCounterCreateReply) ProtoMessage ¶
func (*FlowCounterCreateReply) ProtoMessage()
func (*FlowCounterCreateReply) ProtoReflect ¶
func (x *FlowCounterCreateReply) ProtoReflect() protoreflect.Message
func (*FlowCounterCreateReply) Reset ¶
func (x *FlowCounterCreateReply) Reset()
func (*FlowCounterCreateReply) String ¶
func (x *FlowCounterCreateReply) String() string
type FlowCounterCreateRequest ¶
type FlowCounterCreateRequest struct { ContextId *ContextId `protobuf:"bytes,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` Id *FlowCounterId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*FlowCounterCreateRequest) Descriptor
deprecated
func (*FlowCounterCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use FlowCounterCreateRequest.ProtoReflect.Descriptor instead.
func (*FlowCounterCreateRequest) GetContextId ¶
func (x *FlowCounterCreateRequest) GetContextId() *ContextId
func (*FlowCounterCreateRequest) GetId ¶
func (x *FlowCounterCreateRequest) GetId() *FlowCounterId
func (*FlowCounterCreateRequest) ProtoMessage ¶
func (*FlowCounterCreateRequest) ProtoMessage()
func (*FlowCounterCreateRequest) ProtoReflect ¶
func (x *FlowCounterCreateRequest) ProtoReflect() protoreflect.Message
func (*FlowCounterCreateRequest) Reset ¶
func (x *FlowCounterCreateRequest) Reset()
func (*FlowCounterCreateRequest) String ¶
func (x *FlowCounterCreateRequest) String() string
type FlowCounterId ¶
type FlowCounterId struct { ObjectId *ObjectId `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` // contains filtered or unexported fields }
func (*FlowCounterId) Descriptor
deprecated
func (*FlowCounterId) Descriptor() ([]byte, []int)
Deprecated: Use FlowCounterId.ProtoReflect.Descriptor instead.
func (*FlowCounterId) GetObjectId ¶
func (x *FlowCounterId) GetObjectId() *ObjectId
func (*FlowCounterId) ProtoMessage ¶
func (*FlowCounterId) ProtoMessage()
func (*FlowCounterId) ProtoReflect ¶
func (x *FlowCounterId) ProtoReflect() protoreflect.Message
func (*FlowCounterId) Reset ¶
func (x *FlowCounterId) Reset()
func (*FlowCounterId) String ¶
func (x *FlowCounterId) String() string
type FlowCounterQueryReply ¶
type FlowCounterQueryReply struct { Counters []*FlowCounter `protobuf:"bytes,1,rep,name=counters,proto3" json:"counters,omitempty"` // contains filtered or unexported fields }
func (*FlowCounterQueryReply) Descriptor
deprecated
func (*FlowCounterQueryReply) Descriptor() ([]byte, []int)
Deprecated: Use FlowCounterQueryReply.ProtoReflect.Descriptor instead.
func (*FlowCounterQueryReply) GetCounters ¶
func (x *FlowCounterQueryReply) GetCounters() []*FlowCounter
func (*FlowCounterQueryReply) ProtoMessage ¶
func (*FlowCounterQueryReply) ProtoMessage()
func (*FlowCounterQueryReply) ProtoReflect ¶
func (x *FlowCounterQueryReply) ProtoReflect() protoreflect.Message
func (*FlowCounterQueryReply) Reset ¶
func (x *FlowCounterQueryReply) Reset()
func (*FlowCounterQueryReply) String ¶
func (x *FlowCounterQueryReply) String() string
type FlowCounterQueryRequest ¶
type FlowCounterQueryRequest struct { ContextId *ContextId `protobuf:"bytes,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` Ids []*FlowCounterId `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*FlowCounterQueryRequest) Descriptor
deprecated
func (*FlowCounterQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use FlowCounterQueryRequest.ProtoReflect.Descriptor instead.
func (*FlowCounterQueryRequest) GetContextId ¶
func (x *FlowCounterQueryRequest) GetContextId() *ContextId
func (*FlowCounterQueryRequest) GetIds ¶
func (x *FlowCounterQueryRequest) GetIds() []*FlowCounterId
func (*FlowCounterQueryRequest) ProtoMessage ¶
func (*FlowCounterQueryRequest) ProtoMessage()
func (*FlowCounterQueryRequest) ProtoReflect ¶
func (x *FlowCounterQueryRequest) ProtoReflect() protoreflect.Message
func (*FlowCounterQueryRequest) Reset ¶
func (x *FlowCounterQueryRequest) Reset()
func (*FlowCounterQueryRequest) String ¶
func (x *FlowCounterQueryRequest) String() string
type FlowEntryDesc ¶
type FlowEntryDesc struct { Priority uint32 `protobuf:"varint,1,opt,name=priority,proto3" json:"priority,omitempty"` Fields []*PacketFieldMaskedBytes `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` Bank uint32 `protobuf:"varint,3,opt,name=bank,proto3" json:"bank,omitempty"` Id uint32 `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"` Qualifiers []*PacketFieldSet `protobuf:"bytes,5,rep,name=qualifiers,proto3" json:"qualifiers,omitempty"` // contains filtered or unexported fields }
func (*FlowEntryDesc) Descriptor
deprecated
func (*FlowEntryDesc) Descriptor() ([]byte, []int)
Deprecated: Use FlowEntryDesc.ProtoReflect.Descriptor instead.
func (*FlowEntryDesc) GetBank ¶
func (x *FlowEntryDesc) GetBank() uint32
func (*FlowEntryDesc) GetFields ¶
func (x *FlowEntryDesc) GetFields() []*PacketFieldMaskedBytes
func (*FlowEntryDesc) GetId ¶
func (x *FlowEntryDesc) GetId() uint32
func (*FlowEntryDesc) GetPriority ¶
func (x *FlowEntryDesc) GetPriority() uint32
func (*FlowEntryDesc) GetQualifiers ¶
func (x *FlowEntryDesc) GetQualifiers() []*PacketFieldSet
func (*FlowEntryDesc) ProtoMessage ¶
func (*FlowEntryDesc) ProtoMessage()
func (*FlowEntryDesc) ProtoReflect ¶
func (x *FlowEntryDesc) ProtoReflect() protoreflect.Message
func (*FlowEntryDesc) Reset ¶
func (x *FlowEntryDesc) Reset()
func (*FlowEntryDesc) String ¶
func (x *FlowEntryDesc) String() string
type FlowTableDesc ¶
type FlowTableDesc struct { BankCount uint32 `protobuf:"varint,1,opt,name=bank_count,json=bankCount,proto3" json:"bank_count,omitempty"` // contains filtered or unexported fields }
func (*FlowTableDesc) Descriptor
deprecated
func (*FlowTableDesc) Descriptor() ([]byte, []int)
Deprecated: Use FlowTableDesc.ProtoReflect.Descriptor instead.
func (*FlowTableDesc) GetBankCount ¶
func (x *FlowTableDesc) GetBankCount() uint32
func (*FlowTableDesc) ProtoMessage ¶
func (*FlowTableDesc) ProtoMessage()
func (*FlowTableDesc) ProtoReflect ¶
func (x *FlowTableDesc) ProtoReflect() protoreflect.Message
func (*FlowTableDesc) Reset ¶
func (x *FlowTableDesc) Reset()
func (*FlowTableDesc) String ¶
func (x *FlowTableDesc) String() string
type ForwardingClient ¶ added in v0.4.0
type ForwardingClient interface { ContextCreate(ctx context.Context, in *ContextCreateRequest, opts ...grpc.CallOption) (*ContextCreateReply, error) ContextDelete(ctx context.Context, in *ContextDeleteRequest, opts ...grpc.CallOption) (*ContextDeleteReply, error) ContextList(ctx context.Context, in *ContextListRequest, opts ...grpc.CallOption) (*ContextListReply, error) SetCreate(ctx context.Context, in *SetCreateRequest, opts ...grpc.CallOption) (*SetCreateReply, error) SetUpdate(ctx context.Context, in *SetUpdateRequest, opts ...grpc.CallOption) (*SetUpdateReply, error) AttributeList(ctx context.Context, in *AttributeListRequest, opts ...grpc.CallOption) (*AttributeListReply, error) AttributeUpdate(ctx context.Context, in *AttributeUpdateRequest, opts ...grpc.CallOption) (*AttributeUpdateReply, error) AttributeQuery(ctx context.Context, in *AttributeQueryRequest, opts ...grpc.CallOption) (*AttributeQueryReply, error) ObjectDelete(ctx context.Context, in *ObjectDeleteRequest, opts ...grpc.CallOption) (*ObjectDeleteReply, error) ObjectList(ctx context.Context, in *ObjectListRequest, opts ...grpc.CallOption) (*ObjectListReply, error) ObjectCounters(ctx context.Context, in *ObjectCountersRequest, opts ...grpc.CallOption) (*ObjectCountersReply, error) TableCreate(ctx context.Context, in *TableCreateRequest, opts ...grpc.CallOption) (*TableCreateReply, error) TableEntryAdd(ctx context.Context, in *TableEntryAddRequest, opts ...grpc.CallOption) (*TableEntryAddReply, error) TableEntryRemove(ctx context.Context, in *TableEntryRemoveRequest, opts ...grpc.CallOption) (*TableEntryRemoveReply, error) TableList(ctx context.Context, in *TableListRequest, opts ...grpc.CallOption) (*TableListReply, error) PortCreate(ctx context.Context, in *PortCreateRequest, opts ...grpc.CallOption) (*PortCreateReply, error) PortUpdate(ctx context.Context, in *PortUpdateRequest, opts ...grpc.CallOption) (*PortUpdateReply, error) PortState(ctx context.Context, in *PortStateRequest, opts ...grpc.CallOption) (*PortStateReply, error) FlowCounterCreate(ctx context.Context, in *FlowCounterCreateRequest, opts ...grpc.CallOption) (*FlowCounterCreateReply, error) FlowCounterQuery(ctx context.Context, in *FlowCounterQueryRequest, opts ...grpc.CallOption) (*FlowCounterQueryReply, error) Operation(ctx context.Context, opts ...grpc.CallOption) (Forwarding_OperationClient, error) NotifySubscribe(ctx context.Context, in *NotifySubscribeRequest, opts ...grpc.CallOption) (Forwarding_NotifySubscribeClient, error) PacketInject(ctx context.Context, opts ...grpc.CallOption) (Forwarding_PacketInjectClient, error) PacketSinkSubscribe(ctx context.Context, in *PacketSinkRequest, opts ...grpc.CallOption) (Forwarding_PacketSinkSubscribeClient, error) ObjectNID(ctx context.Context, in *ObjectNIDRequest, opts ...grpc.CallOption) (*ObjectNIDReply, error) }
ForwardingClient is the client API for Forwarding service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewForwardingClient ¶ added in v0.4.0
func NewForwardingClient(cc grpc.ClientConnInterface) ForwardingClient
type ForwardingServer ¶ added in v0.4.0
type ForwardingServer interface { ContextCreate(context.Context, *ContextCreateRequest) (*ContextCreateReply, error) ContextDelete(context.Context, *ContextDeleteRequest) (*ContextDeleteReply, error) ContextList(context.Context, *ContextListRequest) (*ContextListReply, error) SetCreate(context.Context, *SetCreateRequest) (*SetCreateReply, error) SetUpdate(context.Context, *SetUpdateRequest) (*SetUpdateReply, error) AttributeList(context.Context, *AttributeListRequest) (*AttributeListReply, error) AttributeUpdate(context.Context, *AttributeUpdateRequest) (*AttributeUpdateReply, error) AttributeQuery(context.Context, *AttributeQueryRequest) (*AttributeQueryReply, error) ObjectDelete(context.Context, *ObjectDeleteRequest) (*ObjectDeleteReply, error) ObjectList(context.Context, *ObjectListRequest) (*ObjectListReply, error) ObjectCounters(context.Context, *ObjectCountersRequest) (*ObjectCountersReply, error) TableCreate(context.Context, *TableCreateRequest) (*TableCreateReply, error) TableEntryAdd(context.Context, *TableEntryAddRequest) (*TableEntryAddReply, error) TableEntryRemove(context.Context, *TableEntryRemoveRequest) (*TableEntryRemoveReply, error) TableList(context.Context, *TableListRequest) (*TableListReply, error) PortCreate(context.Context, *PortCreateRequest) (*PortCreateReply, error) PortUpdate(context.Context, *PortUpdateRequest) (*PortUpdateReply, error) PortState(context.Context, *PortStateRequest) (*PortStateReply, error) FlowCounterCreate(context.Context, *FlowCounterCreateRequest) (*FlowCounterCreateReply, error) FlowCounterQuery(context.Context, *FlowCounterQueryRequest) (*FlowCounterQueryReply, error) Operation(Forwarding_OperationServer) error NotifySubscribe(*NotifySubscribeRequest, Forwarding_NotifySubscribeServer) error PacketInject(Forwarding_PacketInjectServer) error PacketSinkSubscribe(*PacketSinkRequest, Forwarding_PacketSinkSubscribeServer) error ObjectNID(context.Context, *ObjectNIDRequest) (*ObjectNIDReply, error) }
ForwardingServer is the server API for Forwarding service.
type Forwarding_NotifySubscribeClient ¶ added in v0.4.0
type Forwarding_NotifySubscribeClient interface { Recv() (*EventDesc, error) grpc.ClientStream }
type Forwarding_NotifySubscribeServer ¶ added in v0.4.0
type Forwarding_NotifySubscribeServer interface { Send(*EventDesc) error grpc.ServerStream }
type Forwarding_OperationClient ¶ added in v0.4.0
type Forwarding_OperationClient interface { Send(*OperationRequest) error Recv() (*OperationReply, error) grpc.ClientStream }
type Forwarding_OperationServer ¶ added in v0.4.0
type Forwarding_OperationServer interface { Send(*OperationReply) error Recv() (*OperationRequest, error) grpc.ServerStream }
type Forwarding_PacketInjectClient ¶ added in v0.4.0
type Forwarding_PacketInjectClient interface { Send(*PacketInjectRequest) error CloseAndRecv() (*PacketInjectResponse, error) grpc.ClientStream }
type Forwarding_PacketInjectServer ¶ added in v0.4.0
type Forwarding_PacketInjectServer interface { SendAndClose(*PacketInjectResponse) error Recv() (*PacketInjectRequest, error) grpc.ServerStream }
type Forwarding_PacketSinkSubscribeClient ¶ added in v0.4.0
type Forwarding_PacketSinkSubscribeClient interface { Recv() (*PacketSinkResponse, error) grpc.ClientStream }
type Forwarding_PacketSinkSubscribeServer ¶ added in v0.4.0
type Forwarding_PacketSinkSubscribeServer interface { Send(*PacketSinkResponse) error grpc.ServerStream }
type GenetlinkPortDesc ¶ added in v0.4.0
type GenetlinkPortDesc struct { FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // contains filtered or unexported fields }
func (*GenetlinkPortDesc) Descriptor
deprecated
added in
v0.4.0
func (*GenetlinkPortDesc) Descriptor() ([]byte, []int)
Deprecated: Use GenetlinkPortDesc.ProtoReflect.Descriptor instead.
func (*GenetlinkPortDesc) GetFamilyName ¶ added in v0.4.0
func (x *GenetlinkPortDesc) GetFamilyName() string
func (*GenetlinkPortDesc) GetGroupName ¶ added in v0.4.0
func (x *GenetlinkPortDesc) GetGroupName() string
func (*GenetlinkPortDesc) ProtoMessage ¶ added in v0.4.0
func (*GenetlinkPortDesc) ProtoMessage()
func (*GenetlinkPortDesc) ProtoReflect ¶ added in v0.4.0
func (x *GenetlinkPortDesc) ProtoReflect() protoreflect.Message
func (*GenetlinkPortDesc) Reset ¶ added in v0.4.0
func (x *GenetlinkPortDesc) Reset()
func (*GenetlinkPortDesc) String ¶ added in v0.4.0
func (x *GenetlinkPortDesc) String() string
type GenetlinkPortUpdateDesc ¶ added in v0.4.0
type GenetlinkPortUpdateDesc struct { Inputs []*ActionDesc `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"` Outputs []*ActionDesc `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"` // contains filtered or unexported fields }
func (*GenetlinkPortUpdateDesc) Descriptor
deprecated
added in
v0.4.0
func (*GenetlinkPortUpdateDesc) Descriptor() ([]byte, []int)
Deprecated: Use GenetlinkPortUpdateDesc.ProtoReflect.Descriptor instead.
func (*GenetlinkPortUpdateDesc) GetInputs ¶ added in v0.4.0
func (x *GenetlinkPortUpdateDesc) GetInputs() []*ActionDesc
func (*GenetlinkPortUpdateDesc) GetOutputs ¶ added in v0.4.0
func (x *GenetlinkPortUpdateDesc) GetOutputs() []*ActionDesc
func (*GenetlinkPortUpdateDesc) ProtoMessage ¶ added in v0.4.0
func (*GenetlinkPortUpdateDesc) ProtoMessage()
func (*GenetlinkPortUpdateDesc) ProtoReflect ¶ added in v0.4.0
func (x *GenetlinkPortUpdateDesc) ProtoReflect() protoreflect.Message
func (*GenetlinkPortUpdateDesc) Reset ¶ added in v0.4.0
func (x *GenetlinkPortUpdateDesc) Reset()
func (*GenetlinkPortUpdateDesc) String ¶ added in v0.4.0
func (x *GenetlinkPortUpdateDesc) String() string
type InfoClient ¶
type InfoClient interface { InfoList(ctx context.Context, in *InfoListRequest, opts ...grpc.CallOption) (*InfoListReply, error) InfoElement(ctx context.Context, in *InfoElementRequest, opts ...grpc.CallOption) (*InfoElementReply, error) }
InfoClient is the client API for Info service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewInfoClient ¶
func NewInfoClient(cc grpc.ClientConnInterface) InfoClient
type InfoElementReply ¶
type InfoElementReply struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // Types that are assignable to ElementInfo: // // *InfoElementReply_PortInfo ElementInfo isInfoElementReply_ElementInfo `protobuf_oneof:"element_info"` // contains filtered or unexported fields }
func (*InfoElementReply) Descriptor
deprecated
func (*InfoElementReply) Descriptor() ([]byte, []int)
Deprecated: Use InfoElementReply.ProtoReflect.Descriptor instead.
func (*InfoElementReply) GetContent ¶
func (x *InfoElementReply) GetContent() string
func (*InfoElementReply) GetElementInfo ¶ added in v0.4.0
func (m *InfoElementReply) GetElementInfo() isInfoElementReply_ElementInfo
func (*InfoElementReply) GetPortInfo ¶ added in v0.4.0
func (x *InfoElementReply) GetPortInfo() *PortElementInfo
func (*InfoElementReply) ProtoMessage ¶
func (*InfoElementReply) ProtoMessage()
func (*InfoElementReply) ProtoReflect ¶
func (x *InfoElementReply) ProtoReflect() protoreflect.Message
func (*InfoElementReply) Reset ¶
func (x *InfoElementReply) Reset()
func (*InfoElementReply) String ¶
func (x *InfoElementReply) String() string
type InfoElementReply_PortInfo ¶ added in v0.4.0
type InfoElementReply_PortInfo struct {
PortInfo *PortElementInfo `protobuf:"bytes,2,opt,name=port_info,json=portInfo,proto3,oneof"`
}
type InfoElementRequest ¶
type InfoElementRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type InfoType `protobuf:"varint,2,opt,name=type,proto3,enum=forwarding.InfoType" json:"type,omitempty"` Frame []byte `protobuf:"bytes,3,opt,name=frame,proto3" json:"frame,omitempty"` StartHeader PacketHeaderId `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*InfoElementRequest) Descriptor
deprecated
func (*InfoElementRequest) Descriptor() ([]byte, []int)
Deprecated: Use InfoElementRequest.ProtoReflect.Descriptor instead.
func (*InfoElementRequest) GetFrame ¶
func (x *InfoElementRequest) GetFrame() []byte
func (*InfoElementRequest) GetName ¶
func (x *InfoElementRequest) GetName() string
func (*InfoElementRequest) GetStartHeader ¶
func (x *InfoElementRequest) GetStartHeader() PacketHeaderId
func (*InfoElementRequest) GetType ¶
func (x *InfoElementRequest) GetType() InfoType
func (*InfoElementRequest) ProtoMessage ¶
func (*InfoElementRequest) ProtoMessage()
func (*InfoElementRequest) ProtoReflect ¶
func (x *InfoElementRequest) ProtoReflect() protoreflect.Message
func (*InfoElementRequest) Reset ¶
func (x *InfoElementRequest) Reset()
func (*InfoElementRequest) String ¶
func (x *InfoElementRequest) String() string
type InfoListReply ¶
type InfoListReply struct { Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
func (*InfoListReply) Descriptor
deprecated
func (*InfoListReply) Descriptor() ([]byte, []int)
Deprecated: Use InfoListReply.ProtoReflect.Descriptor instead.
func (*InfoListReply) GetNames ¶
func (x *InfoListReply) GetNames() []string
func (*InfoListReply) ProtoMessage ¶
func (*InfoListReply) ProtoMessage()
func (*InfoListReply) ProtoReflect ¶
func (x *InfoListReply) ProtoReflect() protoreflect.Message
func (*InfoListReply) Reset ¶
func (x *InfoListReply) Reset()
func (*InfoListReply) String ¶
func (x *InfoListReply) String() string
type InfoListRequest ¶
type InfoListRequest struct {
// contains filtered or unexported fields
}
func (*InfoListRequest) Descriptor
deprecated
func (*InfoListRequest) Descriptor() ([]byte, []int)
Deprecated: Use InfoListRequest.ProtoReflect.Descriptor instead.
func (*InfoListRequest) ProtoMessage ¶
func (*InfoListRequest) ProtoMessage()
func (*InfoListRequest) ProtoReflect ¶
func (x *InfoListRequest) ProtoReflect() protoreflect.Message
func (*InfoListRequest) Reset ¶
func (x *InfoListRequest) Reset()
func (*InfoListRequest) String ¶
func (x *InfoListRequest) String() string
type InfoServer ¶
type InfoServer interface { InfoList(context.Context, *InfoListRequest) (*InfoListReply, error) InfoElement(context.Context, *InfoElementRequest) (*InfoElementReply, error) }
InfoServer is the server API for Info service.
type InfoType ¶
type InfoType int32
func (InfoType) Descriptor ¶
func (InfoType) Descriptor() protoreflect.EnumDescriptor
func (InfoType) EnumDescriptor
deprecated
func (InfoType) Number ¶
func (x InfoType) Number() protoreflect.EnumNumber
func (InfoType) Type ¶
func (InfoType) Type() protoreflect.EnumType
type KernelPortDesc ¶
type KernelPortDesc struct { DeviceName string `protobuf:"bytes,1,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` // contains filtered or unexported fields }
func (*KernelPortDesc) Descriptor
deprecated
func (*KernelPortDesc) Descriptor() ([]byte, []int)
Deprecated: Use KernelPortDesc.ProtoReflect.Descriptor instead.
func (*KernelPortDesc) GetDeviceName ¶
func (x *KernelPortDesc) GetDeviceName() string
func (*KernelPortDesc) ProtoMessage ¶
func (*KernelPortDesc) ProtoMessage()
func (*KernelPortDesc) ProtoReflect ¶
func (x *KernelPortDesc) ProtoReflect() protoreflect.Message
func (*KernelPortDesc) Reset ¶
func (x *KernelPortDesc) Reset()
func (*KernelPortDesc) String ¶
func (x *KernelPortDesc) String() string
type KernelPortUpdateDesc ¶
type KernelPortUpdateDesc struct { Inputs []*ActionDesc `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"` Outputs []*ActionDesc `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"` // contains filtered or unexported fields }
func (*KernelPortUpdateDesc) Descriptor
deprecated
func (*KernelPortUpdateDesc) Descriptor() ([]byte, []int)
Deprecated: Use KernelPortUpdateDesc.ProtoReflect.Descriptor instead.
func (*KernelPortUpdateDesc) GetInputs ¶
func (x *KernelPortUpdateDesc) GetInputs() []*ActionDesc
func (*KernelPortUpdateDesc) GetOutputs ¶
func (x *KernelPortUpdateDesc) GetOutputs() []*ActionDesc
func (*KernelPortUpdateDesc) ProtoMessage ¶
func (*KernelPortUpdateDesc) ProtoMessage()
func (*KernelPortUpdateDesc) ProtoReflect ¶
func (x *KernelPortUpdateDesc) ProtoReflect() protoreflect.Message
func (*KernelPortUpdateDesc) Reset ¶
func (x *KernelPortUpdateDesc) Reset()
func (*KernelPortUpdateDesc) String ¶
func (x *KernelPortUpdateDesc) String() string
type LookupActionDesc ¶
type LookupActionDesc struct { TableId *TableId `protobuf:"bytes,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` // contains filtered or unexported fields }
func (*LookupActionDesc) Descriptor
deprecated
func (*LookupActionDesc) Descriptor() ([]byte, []int)
Deprecated: Use LookupActionDesc.ProtoReflect.Descriptor instead.
func (*LookupActionDesc) GetTableId ¶
func (x *LookupActionDesc) GetTableId() *TableId
func (*LookupActionDesc) ProtoMessage ¶
func (*LookupActionDesc) ProtoMessage()
func (*LookupActionDesc) ProtoReflect ¶
func (x *LookupActionDesc) ProtoReflect() protoreflect.Message
func (*LookupActionDesc) Reset ¶
func (x *LookupActionDesc) Reset()
func (*LookupActionDesc) String ¶
func (x *LookupActionDesc) String() string
type MirrorActionDesc ¶
type MirrorActionDesc struct { Actions []*ActionDesc `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"` PortId *PortId `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` PortAction PortAction `protobuf:"varint,2,opt,name=port_action,json=portAction,proto3,enum=forwarding.PortAction" json:"port_action,omitempty"` FieldIds []*PacketFieldId `protobuf:"bytes,4,rep,name=field_ids,json=fieldIds,proto3" json:"field_ids,omitempty"` // contains filtered or unexported fields }
func (*MirrorActionDesc) Descriptor
deprecated
func (*MirrorActionDesc) Descriptor() ([]byte, []int)
Deprecated: Use MirrorActionDesc.ProtoReflect.Descriptor instead.
func (*MirrorActionDesc) GetActions ¶
func (x *MirrorActionDesc) GetActions() []*ActionDesc
func (*MirrorActionDesc) GetFieldIds ¶
func (x *MirrorActionDesc) GetFieldIds() []*PacketFieldId
func (*MirrorActionDesc) GetPortAction ¶
func (x *MirrorActionDesc) GetPortAction() PortAction
func (*MirrorActionDesc) GetPortId ¶
func (x *MirrorActionDesc) GetPortId() *PortId
func (*MirrorActionDesc) ProtoMessage ¶
func (*MirrorActionDesc) ProtoMessage()
func (*MirrorActionDesc) ProtoReflect ¶
func (x *MirrorActionDesc) ProtoReflect() protoreflect.Message
func (*MirrorActionDesc) Reset ¶
func (x *MirrorActionDesc) Reset()
func (*MirrorActionDesc) String ¶
func (x *MirrorActionDesc) String() string
type NotifySubscribeRequest ¶ added in v0.4.0
type NotifySubscribeRequest struct { Context *ContextId `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
func (*NotifySubscribeRequest) Descriptor
deprecated
added in
v0.4.0
func (*NotifySubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotifySubscribeRequest.ProtoReflect.Descriptor instead.
func (*NotifySubscribeRequest) GetContext ¶ added in v0.4.0
func (x *NotifySubscribeRequest) GetContext() *ContextId
func (*NotifySubscribeRequest) ProtoMessage ¶ added in v0.4.0
func (*NotifySubscribeRequest) ProtoMessage()
func (*NotifySubscribeRequest) ProtoReflect ¶ added in v0.4.0
func (x *NotifySubscribeRequest) ProtoReflect() protoreflect.Message
func (*NotifySubscribeRequest) Reset ¶ added in v0.4.0
func (x *NotifySubscribeRequest) Reset()
func (*NotifySubscribeRequest) String ¶ added in v0.4.0
func (x *NotifySubscribeRequest) String() string
type ObjectCountersReply ¶
type ObjectCountersReply struct { Counters []*Counter `protobuf:"bytes,1,rep,name=counters,proto3" json:"counters,omitempty"` // contains filtered or unexported fields }
func (*ObjectCountersReply) Descriptor
deprecated
func (*ObjectCountersReply) Descriptor() ([]byte, []int)
Deprecated: Use ObjectCountersReply.ProtoReflect.Descriptor instead.
func (*ObjectCountersReply) GetCounters ¶
func (x *ObjectCountersReply) GetCounters() []*Counter
func (*ObjectCountersReply) ProtoMessage ¶
func (*ObjectCountersReply) ProtoMessage()
func (*ObjectCountersReply) ProtoReflect ¶
func (x *ObjectCountersReply) ProtoReflect() protoreflect.Message
func (*ObjectCountersReply) Reset ¶
func (x *ObjectCountersReply) Reset()
func (*ObjectCountersReply) String ¶
func (x *ObjectCountersReply) String() string
type ObjectCountersRequest ¶
type ObjectCountersRequest struct { ObjectId *ObjectId `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` ContextId *ContextId `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` // contains filtered or unexported fields }
func (*ObjectCountersRequest) Descriptor
deprecated
func (*ObjectCountersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ObjectCountersRequest.ProtoReflect.Descriptor instead.
func (*ObjectCountersRequest) GetContextId ¶
func (x *ObjectCountersRequest) GetContextId() *ContextId
func (*ObjectCountersRequest) GetObjectId ¶
func (x *ObjectCountersRequest) GetObjectId() *ObjectId
func (*ObjectCountersRequest) ProtoMessage ¶
func (*ObjectCountersRequest) ProtoMessage()
func (*ObjectCountersRequest) ProtoReflect ¶
func (x *ObjectCountersRequest) ProtoReflect() protoreflect.Message
func (*ObjectCountersRequest) Reset ¶
func (x *ObjectCountersRequest) Reset()
func (*ObjectCountersRequest) String ¶
func (x *ObjectCountersRequest) String() string
type ObjectDeleteReply ¶
type ObjectDeleteReply struct {
// contains filtered or unexported fields
}
func (*ObjectDeleteReply) Descriptor
deprecated
func (*ObjectDeleteReply) Descriptor() ([]byte, []int)
Deprecated: Use ObjectDeleteReply.ProtoReflect.Descriptor instead.
func (*ObjectDeleteReply) ProtoMessage ¶
func (*ObjectDeleteReply) ProtoMessage()
func (*ObjectDeleteReply) ProtoReflect ¶
func (x *ObjectDeleteReply) ProtoReflect() protoreflect.Message
func (*ObjectDeleteReply) Reset ¶
func (x *ObjectDeleteReply) Reset()
func (*ObjectDeleteReply) String ¶
func (x *ObjectDeleteReply) String() string
type ObjectDeleteRequest ¶
type ObjectDeleteRequest struct { ObjectId *ObjectId `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` ContextId *ContextId `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` // contains filtered or unexported fields }
func (*ObjectDeleteRequest) Descriptor
deprecated
func (*ObjectDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ObjectDeleteRequest.ProtoReflect.Descriptor instead.
func (*ObjectDeleteRequest) GetContextId ¶
func (x *ObjectDeleteRequest) GetContextId() *ContextId
func (*ObjectDeleteRequest) GetObjectId ¶
func (x *ObjectDeleteRequest) GetObjectId() *ObjectId
func (*ObjectDeleteRequest) ProtoMessage ¶
func (*ObjectDeleteRequest) ProtoMessage()
func (*ObjectDeleteRequest) ProtoReflect ¶
func (x *ObjectDeleteRequest) ProtoReflect() protoreflect.Message
func (*ObjectDeleteRequest) Reset ¶
func (x *ObjectDeleteRequest) Reset()
func (*ObjectDeleteRequest) String ¶
func (x *ObjectDeleteRequest) String() string
type ObjectId ¶
type ObjectId struct { Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ObjectId) Descriptor
deprecated
func (*ObjectId) ProtoMessage ¶
func (*ObjectId) ProtoMessage()
func (*ObjectId) ProtoReflect ¶
func (x *ObjectId) ProtoReflect() protoreflect.Message
type ObjectIndex ¶
type ObjectIndex struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*ObjectIndex) Descriptor
deprecated
func (*ObjectIndex) Descriptor() ([]byte, []int)
Deprecated: Use ObjectIndex.ProtoReflect.Descriptor instead.
func (*ObjectIndex) GetIndex ¶
func (x *ObjectIndex) GetIndex() uint64
func (*ObjectIndex) ProtoMessage ¶
func (*ObjectIndex) ProtoMessage()
func (*ObjectIndex) ProtoReflect ¶
func (x *ObjectIndex) ProtoReflect() protoreflect.Message
func (*ObjectIndex) Reset ¶
func (x *ObjectIndex) Reset()
func (*ObjectIndex) String ¶
func (x *ObjectIndex) String() string
type ObjectListReply ¶
type ObjectListReply struct { Objects []*ObjectId `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
func (*ObjectListReply) Descriptor
deprecated
func (*ObjectListReply) Descriptor() ([]byte, []int)
Deprecated: Use ObjectListReply.ProtoReflect.Descriptor instead.
func (*ObjectListReply) GetObjects ¶
func (x *ObjectListReply) GetObjects() []*ObjectId
func (*ObjectListReply) ProtoMessage ¶
func (*ObjectListReply) ProtoMessage()
func (*ObjectListReply) ProtoReflect ¶
func (x *ObjectListReply) ProtoReflect() protoreflect.Message
func (*ObjectListReply) Reset ¶
func (x *ObjectListReply) Reset()
func (*ObjectListReply) String ¶
func (x *ObjectListReply) String() string
type ObjectListRequest ¶
type ObjectListRequest struct { ContextId *ContextId `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` // contains filtered or unexported fields }
func (*ObjectListRequest) Descriptor
deprecated
func (*ObjectListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ObjectListRequest.ProtoReflect.Descriptor instead.
func (*ObjectListRequest) GetContextId ¶
func (x *ObjectListRequest) GetContextId() *ContextId
func (*ObjectListRequest) ProtoMessage ¶
func (*ObjectListRequest) ProtoMessage()
func (*ObjectListRequest) ProtoReflect ¶
func (x *ObjectListRequest) ProtoReflect() protoreflect.Message
func (*ObjectListRequest) Reset ¶
func (x *ObjectListRequest) Reset()
func (*ObjectListRequest) String ¶
func (x *ObjectListRequest) String() string
type ObjectNIDReply ¶ added in v0.4.0
type ObjectNIDReply struct { Nid uint64 `protobuf:"varint,1,opt,name=nid,proto3" json:"nid,omitempty"` // contains filtered or unexported fields }
func (*ObjectNIDReply) Descriptor
deprecated
added in
v0.4.0
func (*ObjectNIDReply) Descriptor() ([]byte, []int)
Deprecated: Use ObjectNIDReply.ProtoReflect.Descriptor instead.
func (*ObjectNIDReply) GetNid ¶ added in v0.4.0
func (x *ObjectNIDReply) GetNid() uint64
func (*ObjectNIDReply) ProtoMessage ¶ added in v0.4.0
func (*ObjectNIDReply) ProtoMessage()
func (*ObjectNIDReply) ProtoReflect ¶ added in v0.4.0
func (x *ObjectNIDReply) ProtoReflect() protoreflect.Message
func (*ObjectNIDReply) Reset ¶ added in v0.4.0
func (x *ObjectNIDReply) Reset()
func (*ObjectNIDReply) String ¶ added in v0.4.0
func (x *ObjectNIDReply) String() string
type ObjectNIDRequest ¶ added in v0.4.0
type ObjectNIDRequest struct { ContextId *ContextId `protobuf:"bytes,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` ObjectId *ObjectId `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` // contains filtered or unexported fields }
func (*ObjectNIDRequest) Descriptor
deprecated
added in
v0.4.0
func (*ObjectNIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use ObjectNIDRequest.ProtoReflect.Descriptor instead.
func (*ObjectNIDRequest) GetContextId ¶ added in v0.4.0
func (x *ObjectNIDRequest) GetContextId() *ContextId
func (*ObjectNIDRequest) GetObjectId ¶ added in v0.4.0
func (x *ObjectNIDRequest) GetObjectId() *ObjectId
func (*ObjectNIDRequest) ProtoMessage ¶ added in v0.4.0
func (*ObjectNIDRequest) ProtoMessage()
func (*ObjectNIDRequest) ProtoReflect ¶ added in v0.4.0
func (x *ObjectNIDRequest) ProtoReflect() protoreflect.Message
func (*ObjectNIDRequest) Reset ¶ added in v0.4.0
func (x *ObjectNIDRequest) Reset()
func (*ObjectNIDRequest) String ¶ added in v0.4.0
func (x *ObjectNIDRequest) String() string
type OperationReply ¶
type OperationReply struct { // Types that are assignable to Reply: // // *OperationReply_TableEntryAdd // *OperationReply_TableEntryRemove Reply isOperationReply_Reply `protobuf_oneof:"reply"` // contains filtered or unexported fields }
func (*OperationReply) Descriptor
deprecated
func (*OperationReply) Descriptor() ([]byte, []int)
Deprecated: Use OperationReply.ProtoReflect.Descriptor instead.
func (*OperationReply) GetReply ¶
func (m *OperationReply) GetReply() isOperationReply_Reply
func (*OperationReply) GetTableEntryAdd ¶
func (x *OperationReply) GetTableEntryAdd() *TableEntryAddReply
func (*OperationReply) GetTableEntryRemove ¶
func (x *OperationReply) GetTableEntryRemove() *TableEntryRemoveReply
func (*OperationReply) ProtoMessage ¶
func (*OperationReply) ProtoMessage()
func (*OperationReply) ProtoReflect ¶
func (x *OperationReply) ProtoReflect() protoreflect.Message
func (*OperationReply) Reset ¶
func (x *OperationReply) Reset()
func (*OperationReply) String ¶
func (x *OperationReply) String() string
type OperationReply_TableEntryAdd ¶
type OperationReply_TableEntryAdd struct {
TableEntryAdd *TableEntryAddReply `protobuf:"bytes,1,opt,name=table_entry_add,json=tableEntryAdd,proto3,oneof"`
}
type OperationReply_TableEntryRemove ¶
type OperationReply_TableEntryRemove struct {
TableEntryRemove *TableEntryRemoveReply `protobuf:"bytes,2,opt,name=table_entry_remove,json=tableEntryRemove,proto3,oneof"`
}
type OperationRequest ¶
type OperationRequest struct { // Types that are assignable to Request: // // *OperationRequest_TableEntryAdd // *OperationRequest_TableEntryRemove Request isOperationRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
func (*OperationRequest) Descriptor
deprecated
func (*OperationRequest) Descriptor() ([]byte, []int)
Deprecated: Use OperationRequest.ProtoReflect.Descriptor instead.
func (*OperationRequest) GetRequest ¶
func (m *OperationRequest) GetRequest() isOperationRequest_Request
func (*OperationRequest) GetTableEntryAdd ¶
func (x *OperationRequest) GetTableEntryAdd() *TableEntryAddRequest
func (*OperationRequest) GetTableEntryRemove ¶
func (x *OperationRequest) GetTableEntryRemove() *TableEntryRemoveRequest
func (*OperationRequest) ProtoMessage ¶
func (*OperationRequest) ProtoMessage()
func (*OperationRequest) ProtoReflect ¶
func (x *OperationRequest) ProtoReflect() protoreflect.Message
func (*OperationRequest) Reset ¶
func (x *OperationRequest) Reset()
func (*OperationRequest) String ¶
func (x *OperationRequest) String() string
type OperationRequest_TableEntryAdd ¶
type OperationRequest_TableEntryAdd struct {
TableEntryAdd *TableEntryAddRequest `protobuf:"bytes,1,opt,name=table_entry_add,json=tableEntryAdd,proto3,oneof"`
}
type OperationRequest_TableEntryRemove ¶
type OperationRequest_TableEntryRemove struct {
TableEntryRemove *TableEntryRemoveRequest `protobuf:"bytes,2,opt,name=table_entry_remove,json=tableEntryRemove,proto3,oneof"`
}
type PacketBytes ¶
type PacketBytes struct { HeaderGroup PacketHeaderGroup `` /* 129-byte string literal not displayed */ Instance uint32 `protobuf:"varint,2,opt,name=instance,proto3" json:"instance,omitempty"` Offset uint32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` Size uint32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*PacketBytes) Descriptor
deprecated
func (*PacketBytes) Descriptor() ([]byte, []int)
Deprecated: Use PacketBytes.ProtoReflect.Descriptor instead.
func (*PacketBytes) GetHeaderGroup ¶
func (x *PacketBytes) GetHeaderGroup() PacketHeaderGroup
func (*PacketBytes) GetInstance ¶
func (x *PacketBytes) GetInstance() uint32
func (*PacketBytes) GetOffset ¶
func (x *PacketBytes) GetOffset() uint32
func (*PacketBytes) GetSize ¶
func (x *PacketBytes) GetSize() uint32
func (*PacketBytes) ProtoMessage ¶
func (*PacketBytes) ProtoMessage()
func (*PacketBytes) ProtoReflect ¶
func (x *PacketBytes) ProtoReflect() protoreflect.Message
func (*PacketBytes) Reset ¶
func (x *PacketBytes) Reset()
func (*PacketBytes) String ¶
func (x *PacketBytes) String() string
type PacketField ¶
type PacketField struct { FieldNum PacketFieldNum `protobuf:"varint,1,opt,name=field_num,json=fieldNum,proto3,enum=forwarding.PacketFieldNum" json:"field_num,omitempty"` Instance uint32 `protobuf:"varint,2,opt,name=instance,proto3" json:"instance,omitempty"` // contains filtered or unexported fields }
func (*PacketField) Descriptor
deprecated
func (*PacketField) Descriptor() ([]byte, []int)
Deprecated: Use PacketField.ProtoReflect.Descriptor instead.
func (*PacketField) GetFieldNum ¶
func (x *PacketField) GetFieldNum() PacketFieldNum
func (*PacketField) GetInstance ¶
func (x *PacketField) GetInstance() uint32
func (*PacketField) ProtoMessage ¶
func (*PacketField) ProtoMessage()
func (*PacketField) ProtoReflect ¶
func (x *PacketField) ProtoReflect() protoreflect.Message
func (*PacketField) Reset ¶
func (x *PacketField) Reset()
func (*PacketField) String ¶
func (x *PacketField) String() string
type PacketFieldBytes ¶
type PacketFieldBytes struct { FieldId *PacketFieldId `protobuf:"bytes,1,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"` Bytes []byte `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
func (*PacketFieldBytes) Descriptor
deprecated
func (*PacketFieldBytes) Descriptor() ([]byte, []int)
Deprecated: Use PacketFieldBytes.ProtoReflect.Descriptor instead.
func (*PacketFieldBytes) GetBytes ¶
func (x *PacketFieldBytes) GetBytes() []byte
func (*PacketFieldBytes) GetFieldId ¶
func (x *PacketFieldBytes) GetFieldId() *PacketFieldId
func (*PacketFieldBytes) ProtoMessage ¶
func (*PacketFieldBytes) ProtoMessage()
func (*PacketFieldBytes) ProtoReflect ¶
func (x *PacketFieldBytes) ProtoReflect() protoreflect.Message
func (*PacketFieldBytes) Reset ¶
func (x *PacketFieldBytes) Reset()
func (*PacketFieldBytes) String ¶
func (x *PacketFieldBytes) String() string
type PacketFieldId ¶
type PacketFieldId struct { Field *PacketField `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Bytes *PacketBytes `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
func (*PacketFieldId) Descriptor
deprecated
func (*PacketFieldId) Descriptor() ([]byte, []int)
Deprecated: Use PacketFieldId.ProtoReflect.Descriptor instead.
func (*PacketFieldId) GetBytes ¶
func (x *PacketFieldId) GetBytes() *PacketBytes
func (*PacketFieldId) GetField ¶
func (x *PacketFieldId) GetField() *PacketField
func (*PacketFieldId) ProtoMessage ¶
func (*PacketFieldId) ProtoMessage()
func (*PacketFieldId) ProtoReflect ¶
func (x *PacketFieldId) ProtoReflect() protoreflect.Message
func (*PacketFieldId) Reset ¶
func (x *PacketFieldId) Reset()
func (*PacketFieldId) String ¶
func (x *PacketFieldId) String() string
type PacketFieldMaskedBytes ¶
type PacketFieldMaskedBytes struct { FieldId *PacketFieldId `protobuf:"bytes,1,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"` Bytes []byte `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"` Masks []byte `protobuf:"bytes,3,opt,name=masks,proto3" json:"masks,omitempty"` // contains filtered or unexported fields }
func (*PacketFieldMaskedBytes) Descriptor
deprecated
func (*PacketFieldMaskedBytes) Descriptor() ([]byte, []int)
Deprecated: Use PacketFieldMaskedBytes.ProtoReflect.Descriptor instead.
func (*PacketFieldMaskedBytes) GetBytes ¶
func (x *PacketFieldMaskedBytes) GetBytes() []byte
func (*PacketFieldMaskedBytes) GetFieldId ¶
func (x *PacketFieldMaskedBytes) GetFieldId() *PacketFieldId
func (*PacketFieldMaskedBytes) GetMasks ¶
func (x *PacketFieldMaskedBytes) GetMasks() []byte
func (*PacketFieldMaskedBytes) ProtoMessage ¶
func (*PacketFieldMaskedBytes) ProtoMessage()
func (*PacketFieldMaskedBytes) ProtoReflect ¶
func (x *PacketFieldMaskedBytes) ProtoReflect() protoreflect.Message
func (*PacketFieldMaskedBytes) Reset ¶
func (x *PacketFieldMaskedBytes) Reset()
func (*PacketFieldMaskedBytes) String ¶
func (x *PacketFieldMaskedBytes) String() string
type PacketFieldNum ¶
type PacketFieldNum int32
const ( PacketFieldNum_PACKET_FIELD_NUM_UNSPECIFIED PacketFieldNum = 0 PacketFieldNum_PACKET_FIELD_NUM_NONE PacketFieldNum = 1 PacketFieldNum_PACKET_FIELD_NUM_ETHER_MAC_SRC PacketFieldNum = 2 PacketFieldNum_PACKET_FIELD_NUM_ETHER_MAC_DST PacketFieldNum = 3 PacketFieldNum_PACKET_FIELD_NUM_ETHER_TYPE PacketFieldNum = 4 PacketFieldNum_PACKET_FIELD_NUM_VLAN_TAG PacketFieldNum = 5 PacketFieldNum_PACKET_FIELD_NUM_VLAN_PRIORITY PacketFieldNum = 6 PacketFieldNum_PACKET_FIELD_NUM_IP_VERSION PacketFieldNum = 7 PacketFieldNum_PACKET_FIELD_NUM_IP_ADDR_SRC PacketFieldNum = 8 PacketFieldNum_PACKET_FIELD_NUM_IP_ADDR_DST PacketFieldNum = 9 PacketFieldNum_PACKET_FIELD_NUM_IP_HOP PacketFieldNum = 10 PacketFieldNum_PACKET_FIELD_NUM_IP_PROTO PacketFieldNum = 11 PacketFieldNum_PACKET_FIELD_NUM_IP_QOS PacketFieldNum = 12 PacketFieldNum_PACKET_FIELD_NUM_IP6_FLOW PacketFieldNum = 13 PacketFieldNum_PACKET_FIELD_NUM_PACKET_PORT_INPUT PacketFieldNum = 14 PacketFieldNum_PACKET_FIELD_NUM_PACKET_PORT_OUTPUT PacketFieldNum = 15 PacketFieldNum_PACKET_FIELD_NUM_PACKET_LENGTH PacketFieldNum = 16 PacketFieldNum_PACKET_FIELD_NUM_ICMP_TYPE PacketFieldNum = 17 PacketFieldNum_PACKET_FIELD_NUM_ICMP_CODE PacketFieldNum = 18 PacketFieldNum_PACKET_FIELD_NUM_L4_PORT_SRC PacketFieldNum = 19 PacketFieldNum_PACKET_FIELD_NUM_L4_PORT_DST PacketFieldNum = 20 PacketFieldNum_PACKET_FIELD_NUM_TCP_FLAGS PacketFieldNum = 21 PacketFieldNum_PACKET_FIELD_NUM_ARP_TPA PacketFieldNum = 22 PacketFieldNum_PACKET_FIELD_NUM_GRE_KEY PacketFieldNum = 23 PacketFieldNum_PACKET_FIELD_NUM_GRE_SEQUENCE PacketFieldNum = 24 PacketFieldNum_PACKET_FIELD_NUM_PACKET_VRF PacketFieldNum = 25 PacketFieldNum_PACKET_FIELD_NUM_ICMP6_ND_TARGET PacketFieldNum = 26 PacketFieldNum_PACKET_FIELD_NUM_ICMP6_ND_SLL PacketFieldNum = 27 PacketFieldNum_PACKET_FIELD_NUM_ICMP6_ND_TLL PacketFieldNum = 28 PacketFieldNum_PACKET_FIELD_NUM_PACKET_ATTRIBUTE_32 PacketFieldNum = 34 PacketFieldNum_PACKET_FIELD_NUM_PACKET_ATTRIBUTE_16 PacketFieldNum = 46 PacketFieldNum_PACKET_FIELD_NUM_PACKET_ATTRIBUTE_8 PacketFieldNum = 49 PacketFieldNum_PACKET_FIELD_NUM_PACKET_ATTRIBUTE_24 PacketFieldNum = 50 PacketFieldNum_PACKET_FIELD_NUM_ARP_TMAC PacketFieldNum = 52 PacketFieldNum_PACKET_FIELD_NUM_ARP_SMAC PacketFieldNum = 53 PacketFieldNum_PACKET_FIELD_NUM_ARP_SPA PacketFieldNum = 54 PacketFieldNum_PACKET_FIELD_NUM_NEXT_HOP_IP PacketFieldNum = 56 PacketFieldNum_PACKET_FIELD_NUM_NEXT_HOP_GROUP_ID PacketFieldNum = 57 PacketFieldNum_PACKET_FIELD_NUM_NEXT_HOP_ID PacketFieldNum = 58 PacketFieldNum_PACKET_FIELD_NUM_TRAP_ID PacketFieldNum = 59 PacketFieldNum_PACKET_FIELD_NUM_INPUT_IFACE PacketFieldNum = 60 PacketFieldNum_PACKET_FIELD_NUM_OUTPUT_IFACE PacketFieldNum = 61 PacketFieldNum_PACKET_FIELD_NUM_TUNNEL_ID PacketFieldNum = 62 PacketFieldNum_PACKET_FIELD_NUM_HOST_PORT_ID PacketFieldNum = 63 PacketFieldNum_PACKET_FIELD_NUM_L2MC_GROUP_ID PacketFieldNum = 64 PacketFieldNum_PACKET_FIELD_NUM_POLICER_ID PacketFieldNum = 65 PacketFieldNum_PACKET_FIELD_NUM_COUNT PacketFieldNum = 1000 )
func (PacketFieldNum) Descriptor ¶
func (PacketFieldNum) Descriptor() protoreflect.EnumDescriptor
func (PacketFieldNum) Enum ¶
func (x PacketFieldNum) Enum() *PacketFieldNum
func (PacketFieldNum) EnumDescriptor
deprecated
func (PacketFieldNum) EnumDescriptor() ([]byte, []int)
Deprecated: Use PacketFieldNum.Descriptor instead.
func (PacketFieldNum) Number ¶
func (x PacketFieldNum) Number() protoreflect.EnumNumber
func (PacketFieldNum) String ¶
func (x PacketFieldNum) String() string
func (PacketFieldNum) Type ¶
func (PacketFieldNum) Type() protoreflect.EnumType
type PacketFieldSet ¶
type PacketFieldSet struct { FieldId *PacketFieldId `protobuf:"bytes,1,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"` SetId *SetId `protobuf:"bytes,2,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"` // contains filtered or unexported fields }
func (*PacketFieldSet) Descriptor
deprecated
func (*PacketFieldSet) Descriptor() ([]byte, []int)
Deprecated: Use PacketFieldSet.ProtoReflect.Descriptor instead.
func (*PacketFieldSet) GetFieldId ¶
func (x *PacketFieldSet) GetFieldId() *PacketFieldId
func (*PacketFieldSet) GetSetId ¶
func (x *PacketFieldSet) GetSetId() *SetId
func (*PacketFieldSet) ProtoMessage ¶
func (*PacketFieldSet) ProtoMessage()
func (*PacketFieldSet) ProtoReflect ¶
func (x *PacketFieldSet) ProtoReflect() protoreflect.Message
func (*PacketFieldSet) Reset ¶
func (x *PacketFieldSet) Reset()
func (*PacketFieldSet) String ¶
func (x *PacketFieldSet) String() string
type PacketHeaderGroup ¶
type PacketHeaderGroup int32
const ( PacketHeaderGroup_PACKET_HEADER_GROUP_UNSPECIFIED PacketHeaderGroup = 0 PacketHeaderGroup_PACKET_HEADER_GROUP_NONE PacketHeaderGroup = 1 PacketHeaderGroup_PACKET_HEADER_GROUP_PACKET PacketHeaderGroup = 2 PacketHeaderGroup_PACKET_HEADER_GROUP_L2 PacketHeaderGroup = 3 PacketHeaderGroup_PACKET_HEADER_GROUP_L3 PacketHeaderGroup = 4 PacketHeaderGroup_PACKET_HEADER_GROUP_L4 PacketHeaderGroup = 5 PacketHeaderGroup_PACKET_HEADER_GROUP_PAYLOAD PacketHeaderGroup = 6 PacketHeaderGroup_PACKET_HEADER_GROUP_COUNT PacketHeaderGroup = 20 )
func (PacketHeaderGroup) Descriptor ¶
func (PacketHeaderGroup) Descriptor() protoreflect.EnumDescriptor
func (PacketHeaderGroup) Enum ¶
func (x PacketHeaderGroup) Enum() *PacketHeaderGroup
func (PacketHeaderGroup) EnumDescriptor
deprecated
func (PacketHeaderGroup) EnumDescriptor() ([]byte, []int)
Deprecated: Use PacketHeaderGroup.Descriptor instead.
func (PacketHeaderGroup) Number ¶
func (x PacketHeaderGroup) Number() protoreflect.EnumNumber
func (PacketHeaderGroup) String ¶
func (x PacketHeaderGroup) String() string
func (PacketHeaderGroup) Type ¶
func (PacketHeaderGroup) Type() protoreflect.EnumType
type PacketHeaderId ¶
type PacketHeaderId int32
const ( PacketHeaderId_PACKET_HEADER_ID_UNSPECIFIED PacketHeaderId = 0 PacketHeaderId_PACKET_HEADER_ID_NONE PacketHeaderId = 1 PacketHeaderId_PACKET_HEADER_ID_METADATA PacketHeaderId = 2 PacketHeaderId_PACKET_HEADER_ID_ETHERNET PacketHeaderId = 3 PacketHeaderId_PACKET_HEADER_ID_ETHERNET_VLAN PacketHeaderId = 4 PacketHeaderId_PACKET_HEADER_ID_ETHERNET_1Q PacketHeaderId = 5 PacketHeaderId_PACKET_HEADER_ID_IP4 PacketHeaderId = 6 PacketHeaderId_PACKET_HEADER_ID_IP6 PacketHeaderId = 7 PacketHeaderId_PACKET_HEADER_ID_GRE PacketHeaderId = 8 PacketHeaderId_PACKET_HEADER_ID_TCP PacketHeaderId = 9 PacketHeaderId_PACKET_HEADER_ID_UDP PacketHeaderId = 10 PacketHeaderId_PACKET_HEADER_ID_ARP PacketHeaderId = 11 PacketHeaderId_PACKET_HEADER_ID_ICMP4 PacketHeaderId = 12 PacketHeaderId_PACKET_HEADER_ID_OPAQUE PacketHeaderId = 13 PacketHeaderId_PACKET_HEADER_ID_ICMP6 PacketHeaderId = 14 PacketHeaderId_PACKET_HEADER_ID_TUNNEL_6TO4_AUTO PacketHeaderId = 15 PacketHeaderId_PACKET_HEADER_ID_TUNNEL_6TO4_SECURE PacketHeaderId = 16 PacketHeaderId_PACKET_HEADER_ID_IP PacketHeaderId = 19 PacketHeaderId_PACKET_HEADER_ID_COUNT PacketHeaderId = 1000 )
func (PacketHeaderId) Descriptor ¶
func (PacketHeaderId) Descriptor() protoreflect.EnumDescriptor
func (PacketHeaderId) Enum ¶
func (x PacketHeaderId) Enum() *PacketHeaderId
func (PacketHeaderId) EnumDescriptor
deprecated
func (PacketHeaderId) EnumDescriptor() ([]byte, []int)
Deprecated: Use PacketHeaderId.Descriptor instead.
func (PacketHeaderId) Number ¶
func (x PacketHeaderId) Number() protoreflect.EnumNumber
func (PacketHeaderId) String ¶
func (x PacketHeaderId) String() string
func (PacketHeaderId) Type ¶
func (PacketHeaderId) Type() protoreflect.EnumType
type PacketInjectRequest ¶
type PacketInjectRequest struct { PortId *PortId `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` ContextId *ContextId `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` Bytes []byte `protobuf:"bytes,3,opt,name=bytes,proto3" json:"bytes,omitempty"` Action PortAction `protobuf:"varint,4,opt,name=action,proto3,enum=forwarding.PortAction" json:"action,omitempty"` Preprocesses []*ActionDesc `protobuf:"bytes,7,rep,name=preprocesses,proto3" json:"preprocesses,omitempty"` StartHeader PacketHeaderId `` /* 127-byte string literal not displayed */ ParsedFields []*PacketFieldBytes `protobuf:"bytes,11,rep,name=parsed_fields,json=parsedFields,proto3" json:"parsed_fields,omitempty"` Debug bool `protobuf:"varint,12,opt,name=debug,proto3" json:"debug,omitempty"` // contains filtered or unexported fields }
func (*PacketInjectRequest) Descriptor
deprecated
func (*PacketInjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use PacketInjectRequest.ProtoReflect.Descriptor instead.
func (*PacketInjectRequest) GetAction ¶
func (x *PacketInjectRequest) GetAction() PortAction
func (*PacketInjectRequest) GetBytes ¶
func (x *PacketInjectRequest) GetBytes() []byte
func (*PacketInjectRequest) GetContextId ¶
func (x *PacketInjectRequest) GetContextId() *ContextId
func (*PacketInjectRequest) GetDebug ¶
func (x *PacketInjectRequest) GetDebug() bool
func (*PacketInjectRequest) GetParsedFields ¶
func (x *PacketInjectRequest) GetParsedFields() []*PacketFieldBytes
func (*PacketInjectRequest) GetPortId ¶
func (x *PacketInjectRequest) GetPortId() *PortId
func (*PacketInjectRequest) GetPreprocesses ¶
func (x *PacketInjectRequest) GetPreprocesses() []*ActionDesc
func (*PacketInjectRequest) GetStartHeader ¶
func (x *PacketInjectRequest) GetStartHeader() PacketHeaderId
func (*PacketInjectRequest) ProtoMessage ¶
func (*PacketInjectRequest) ProtoMessage()
func (*PacketInjectRequest) ProtoReflect ¶
func (x *PacketInjectRequest) ProtoReflect() protoreflect.Message
func (*PacketInjectRequest) Reset ¶
func (x *PacketInjectRequest) Reset()
func (*PacketInjectRequest) String ¶
func (x *PacketInjectRequest) String() string
type PacketInjectResponse ¶ added in v0.4.0
type PacketInjectResponse struct {
// contains filtered or unexported fields
}
func (*PacketInjectResponse) Descriptor
deprecated
added in
v0.4.0
func (*PacketInjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use PacketInjectResponse.ProtoReflect.Descriptor instead.
func (*PacketInjectResponse) ProtoMessage ¶ added in v0.4.0
func (*PacketInjectResponse) ProtoMessage()
func (*PacketInjectResponse) ProtoReflect ¶ added in v0.4.0
func (x *PacketInjectResponse) ProtoReflect() protoreflect.Message
func (*PacketInjectResponse) Reset ¶ added in v0.4.0
func (x *PacketInjectResponse) Reset()
func (*PacketInjectResponse) String ¶ added in v0.4.0
func (x *PacketInjectResponse) String() string
type PacketSinkPacketInfo ¶ added in v0.4.0
type PacketSinkPacketInfo struct { Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"` PortId *PortId `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` Ingress *PortId `protobuf:"bytes,3,opt,name=ingress,proto3" json:"ingress,omitempty"` Egress *PortId `protobuf:"bytes,4,opt,name=egress,proto3" json:"egress,omitempty"` ParsedFields []*PacketFieldBytes `protobuf:"bytes,5,rep,name=parsed_fields,json=parsedFields,proto3" json:"parsed_fields,omitempty"` // contains filtered or unexported fields }
func (*PacketSinkPacketInfo) Descriptor
deprecated
added in
v0.4.0
func (*PacketSinkPacketInfo) Descriptor() ([]byte, []int)
Deprecated: Use PacketSinkPacketInfo.ProtoReflect.Descriptor instead.
func (*PacketSinkPacketInfo) GetBytes ¶ added in v0.4.0
func (x *PacketSinkPacketInfo) GetBytes() []byte
func (*PacketSinkPacketInfo) GetEgress ¶ added in v0.4.0
func (x *PacketSinkPacketInfo) GetEgress() *PortId
func (*PacketSinkPacketInfo) GetIngress ¶ added in v0.4.0
func (x *PacketSinkPacketInfo) GetIngress() *PortId
func (*PacketSinkPacketInfo) GetParsedFields ¶ added in v0.4.0
func (x *PacketSinkPacketInfo) GetParsedFields() []*PacketFieldBytes
func (*PacketSinkPacketInfo) GetPortId ¶ added in v0.4.0
func (x *PacketSinkPacketInfo) GetPortId() *PortId
func (*PacketSinkPacketInfo) ProtoMessage ¶ added in v0.4.0
func (*PacketSinkPacketInfo) ProtoMessage()
func (*PacketSinkPacketInfo) ProtoReflect ¶ added in v0.4.0
func (x *PacketSinkPacketInfo) ProtoReflect() protoreflect.Message
func (*PacketSinkPacketInfo) Reset ¶ added in v0.4.0
func (x *PacketSinkPacketInfo) Reset()
func (*PacketSinkPacketInfo) String ¶ added in v0.4.0
func (x *PacketSinkPacketInfo) String() string
type PacketSinkPortInfo ¶ added in v0.4.0
type PacketSinkPortInfo struct { Port *PortDesc `protobuf:"bytes,1,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*PacketSinkPortInfo) Descriptor
deprecated
added in
v0.4.0
func (*PacketSinkPortInfo) Descriptor() ([]byte, []int)
Deprecated: Use PacketSinkPortInfo.ProtoReflect.Descriptor instead.
func (*PacketSinkPortInfo) GetPort ¶ added in v0.4.0
func (x *PacketSinkPortInfo) GetPort() *PortDesc
func (*PacketSinkPortInfo) ProtoMessage ¶ added in v0.4.0
func (*PacketSinkPortInfo) ProtoMessage()
func (*PacketSinkPortInfo) ProtoReflect ¶ added in v0.4.0
func (x *PacketSinkPortInfo) ProtoReflect() protoreflect.Message
func (*PacketSinkPortInfo) Reset ¶ added in v0.4.0
func (x *PacketSinkPortInfo) Reset()
func (*PacketSinkPortInfo) String ¶ added in v0.4.0
func (x *PacketSinkPortInfo) String() string
type PacketSinkRequest ¶ added in v0.4.0
type PacketSinkRequest struct { ContextId *ContextId `protobuf:"bytes,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` // contains filtered or unexported fields }
func (*PacketSinkRequest) Descriptor
deprecated
added in
v0.4.0
func (*PacketSinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use PacketSinkRequest.ProtoReflect.Descriptor instead.
func (*PacketSinkRequest) GetContextId ¶ added in v0.4.0
func (x *PacketSinkRequest) GetContextId() *ContextId
func (*PacketSinkRequest) ProtoMessage ¶ added in v0.4.0
func (*PacketSinkRequest) ProtoMessage()
func (*PacketSinkRequest) ProtoReflect ¶ added in v0.4.0
func (x *PacketSinkRequest) ProtoReflect() protoreflect.Message
func (*PacketSinkRequest) Reset ¶ added in v0.4.0
func (x *PacketSinkRequest) Reset()
func (*PacketSinkRequest) String ¶ added in v0.4.0
func (x *PacketSinkRequest) String() string
type PacketSinkResponse ¶ added in v0.4.0
type PacketSinkResponse struct { // Types that are assignable to Resp: // // *PacketSinkResponse_Packet // *PacketSinkResponse_Port Resp isPacketSinkResponse_Resp `protobuf_oneof:"resp"` // contains filtered or unexported fields }
func (*PacketSinkResponse) Descriptor
deprecated
added in
v0.4.0
func (*PacketSinkResponse) Descriptor() ([]byte, []int)
Deprecated: Use PacketSinkResponse.ProtoReflect.Descriptor instead.
func (*PacketSinkResponse) GetPacket ¶ added in v0.4.0
func (x *PacketSinkResponse) GetPacket() *PacketSinkPacketInfo
func (*PacketSinkResponse) GetPort ¶ added in v0.4.0
func (x *PacketSinkResponse) GetPort() *PacketSinkPortInfo
func (*PacketSinkResponse) GetResp ¶ added in v0.4.0
func (m *PacketSinkResponse) GetResp() isPacketSinkResponse_Resp
func (*PacketSinkResponse) ProtoMessage ¶ added in v0.4.0
func (*PacketSinkResponse) ProtoMessage()
func (*PacketSinkResponse) ProtoReflect ¶ added in v0.4.0
func (x *PacketSinkResponse) ProtoReflect() protoreflect.Message
func (*PacketSinkResponse) Reset ¶ added in v0.4.0
func (x *PacketSinkResponse) Reset()
func (*PacketSinkResponse) String ¶ added in v0.4.0
func (x *PacketSinkResponse) String() string
type PacketSinkResponse_Packet ¶ added in v0.4.0
type PacketSinkResponse_Packet struct {
Packet *PacketSinkPacketInfo `protobuf:"bytes,1,opt,name=packet,proto3,oneof"`
}
type PacketSinkResponse_Port ¶ added in v0.4.0
type PacketSinkResponse_Port struct {
Port *PacketSinkPortInfo `protobuf:"bytes,2,opt,name=port,proto3,oneof"`
}
type PortAction ¶
type PortAction int32
const ( PortAction_PORT_ACTION_UNSPECIFIED PortAction = 0 PortAction_PORT_ACTION_INPUT PortAction = 1 PortAction_PORT_ACTION_OUTPUT PortAction = 2 PortAction_PORT_ACTION_WRITE PortAction = 3 )
func (PortAction) Descriptor ¶
func (PortAction) Descriptor() protoreflect.EnumDescriptor
func (PortAction) Enum ¶
func (x PortAction) Enum() *PortAction
func (PortAction) EnumDescriptor
deprecated
func (PortAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use PortAction.Descriptor instead.
func (PortAction) Number ¶
func (x PortAction) Number() protoreflect.EnumNumber
func (PortAction) String ¶
func (x PortAction) String() string
func (PortAction) Type ¶
func (PortAction) Type() protoreflect.EnumType
type PortCreateReply ¶
type PortCreateReply struct { ObjectIndex *ObjectIndex `protobuf:"bytes,2,opt,name=object_index,json=objectIndex,proto3" json:"object_index,omitempty"` // contains filtered or unexported fields }
func (*PortCreateReply) Descriptor
deprecated
func (*PortCreateReply) Descriptor() ([]byte, []int)
Deprecated: Use PortCreateReply.ProtoReflect.Descriptor instead.
func (*PortCreateReply) GetObjectIndex ¶
func (x *PortCreateReply) GetObjectIndex() *ObjectIndex
func (*PortCreateReply) ProtoMessage ¶
func (*PortCreateReply) ProtoMessage()
func (*PortCreateReply) ProtoReflect ¶
func (x *PortCreateReply) ProtoReflect() protoreflect.Message
func (*PortCreateReply) Reset ¶
func (x *PortCreateReply) Reset()
func (*PortCreateReply) String ¶
func (x *PortCreateReply) String() string
type PortCreateRequest ¶
type PortCreateRequest struct { Port *PortDesc `protobuf:"bytes,1,opt,name=port,proto3" json:"port,omitempty"` ContextId *ContextId `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` // contains filtered or unexported fields }
func (*PortCreateRequest) Descriptor
deprecated
func (*PortCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use PortCreateRequest.ProtoReflect.Descriptor instead.
func (*PortCreateRequest) GetContextId ¶
func (x *PortCreateRequest) GetContextId() *ContextId
func (*PortCreateRequest) GetPort ¶
func (x *PortCreateRequest) GetPort() *PortDesc
func (*PortCreateRequest) ProtoMessage ¶
func (*PortCreateRequest) ProtoMessage()
func (*PortCreateRequest) ProtoReflect ¶
func (x *PortCreateRequest) ProtoReflect() protoreflect.Message
func (*PortCreateRequest) Reset ¶
func (x *PortCreateRequest) Reset()
func (*PortCreateRequest) String ¶
func (x *PortCreateRequest) String() string
type PortDesc ¶
type PortDesc struct { PortType PortType `protobuf:"varint,1,opt,name=port_type,json=portType,proto3,enum=forwarding.PortType" json:"port_type,omitempty"` PortId *PortId `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` // Types that are assignable to Port: // // *PortDesc_Cpu // *PortDesc_Kernel // *PortDesc_Tap // *PortDesc_Fake // *PortDesc_Genetlink Port isPortDesc_Port `protobuf_oneof:"port"` // contains filtered or unexported fields }
func (*PortDesc) Descriptor
deprecated
func (*PortDesc) GetCpu ¶
func (x *PortDesc) GetCpu() *CPUPortDesc
func (*PortDesc) GetFake ¶ added in v0.4.0
func (x *PortDesc) GetFake() *FakePortDesc
func (*PortDesc) GetGenetlink ¶ added in v0.4.0
func (x *PortDesc) GetGenetlink() *GenetlinkPortDesc
func (*PortDesc) GetKernel ¶
func (x *PortDesc) GetKernel() *KernelPortDesc
func (*PortDesc) GetPortType ¶
func (*PortDesc) GetTap ¶
func (x *PortDesc) GetTap() *TAPPortDesc
func (*PortDesc) ProtoMessage ¶
func (*PortDesc) ProtoMessage()
func (*PortDesc) ProtoReflect ¶
func (x *PortDesc) ProtoReflect() protoreflect.Message
type PortDesc_Cpu ¶
type PortDesc_Cpu struct {
Cpu *CPUPortDesc `protobuf:"bytes,3,opt,name=cpu,proto3,oneof"`
}
type PortDesc_Fake ¶ added in v0.4.0
type PortDesc_Fake struct {
Fake *FakePortDesc `protobuf:"bytes,6,opt,name=fake,proto3,oneof"`
}
type PortDesc_Genetlink ¶ added in v0.4.0
type PortDesc_Genetlink struct {
Genetlink *GenetlinkPortDesc `protobuf:"bytes,7,opt,name=genetlink,proto3,oneof"`
}
type PortDesc_Kernel ¶
type PortDesc_Kernel struct {
Kernel *KernelPortDesc `protobuf:"bytes,4,opt,name=kernel,proto3,oneof"`
}
type PortDesc_Tap ¶
type PortDesc_Tap struct {
Tap *TAPPortDesc `protobuf:"bytes,5,opt,name=tap,proto3,oneof"`
}
type PortElementInfo ¶ added in v0.4.0
type PortElementInfo struct { Desc *PortDesc `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"` Counters []*Counter `protobuf:"bytes,2,rep,name=counters,proto3" json:"counters,omitempty"` // contains filtered or unexported fields }
func (*PortElementInfo) Descriptor
deprecated
added in
v0.4.0
func (*PortElementInfo) Descriptor() ([]byte, []int)
Deprecated: Use PortElementInfo.ProtoReflect.Descriptor instead.
func (*PortElementInfo) GetCounters ¶ added in v0.4.0
func (x *PortElementInfo) GetCounters() []*Counter
func (*PortElementInfo) GetDesc ¶ added in v0.4.0
func (x *PortElementInfo) GetDesc() *PortDesc
func (*PortElementInfo) ProtoMessage ¶ added in v0.4.0
func (*PortElementInfo) ProtoMessage()
func (*PortElementInfo) ProtoReflect ¶ added in v0.4.0
func (x *PortElementInfo) ProtoReflect() protoreflect.Message
func (*PortElementInfo) Reset ¶ added in v0.4.0
func (x *PortElementInfo) Reset()
func (*PortElementInfo) String ¶ added in v0.4.0
func (x *PortElementInfo) String() string
type PortEventDesc ¶
type PortEventDesc struct { Context *ContextId `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` PortId *PortId `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` PortInfo *PortInfo `protobuf:"bytes,3,opt,name=port_info,json=portInfo,proto3" json:"port_info,omitempty"` // contains filtered or unexported fields }
func (*PortEventDesc) Descriptor
deprecated
func (*PortEventDesc) Descriptor() ([]byte, []int)
Deprecated: Use PortEventDesc.ProtoReflect.Descriptor instead.
func (*PortEventDesc) GetContext ¶
func (x *PortEventDesc) GetContext() *ContextId
func (*PortEventDesc) GetPortId ¶
func (x *PortEventDesc) GetPortId() *PortId
func (*PortEventDesc) GetPortInfo ¶ added in v0.4.0
func (x *PortEventDesc) GetPortInfo() *PortInfo
func (*PortEventDesc) ProtoMessage ¶
func (*PortEventDesc) ProtoMessage()
func (*PortEventDesc) ProtoReflect ¶
func (x *PortEventDesc) ProtoReflect() protoreflect.Message
func (*PortEventDesc) Reset ¶
func (x *PortEventDesc) Reset()
func (*PortEventDesc) String ¶
func (x *PortEventDesc) String() string
type PortId ¶
type PortId struct { ObjectId *ObjectId `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` // contains filtered or unexported fields }
func (*PortId) Descriptor
deprecated
func (*PortId) GetObjectId ¶
func (*PortId) ProtoMessage ¶
func (*PortId) ProtoMessage()
func (*PortId) ProtoReflect ¶
func (x *PortId) ProtoReflect() protoreflect.Message
type PortInfo ¶
type PortInfo struct { OperStatus PortState `protobuf:"varint,1,opt,name=oper_status,json=operStatus,proto3,enum=forwarding.PortState" json:"oper_status,omitempty"` AdminStatus PortState `protobuf:"varint,2,opt,name=admin_status,json=adminStatus,proto3,enum=forwarding.PortState" json:"admin_status,omitempty"` Speed *PortSpeed `protobuf:"bytes,3,opt,name=speed,proto3" json:"speed,omitempty"` // contains filtered or unexported fields }
func (*PortInfo) Descriptor
deprecated
func (*PortInfo) GetAdminStatus ¶ added in v0.4.0
func (*PortInfo) GetOperStatus ¶ added in v0.4.0
func (*PortInfo) ProtoMessage ¶
func (*PortInfo) ProtoMessage()
func (*PortInfo) ProtoReflect ¶
func (x *PortInfo) ProtoReflect() protoreflect.Message
type PortSpeed ¶
type PortSpeed struct { Kbps uint64 `protobuf:"varint,1,opt,name=kbps,proto3" json:"kbps,omitempty"` Behavior PortSpeedBehavior `protobuf:"varint,2,opt,name=behavior,proto3,enum=forwarding.PortSpeedBehavior" json:"behavior,omitempty"` // contains filtered or unexported fields }
func (*PortSpeed) Descriptor
deprecated
func (*PortSpeed) GetBehavior ¶
func (x *PortSpeed) GetBehavior() PortSpeedBehavior
func (*PortSpeed) ProtoMessage ¶
func (*PortSpeed) ProtoMessage()
func (*PortSpeed) ProtoReflect ¶
func (x *PortSpeed) ProtoReflect() protoreflect.Message
type PortSpeedBehavior ¶
type PortSpeedBehavior int32
const ( PortSpeedBehavior_PORT_SPEED_BEHAVIOR_UNSPECIFIED PortSpeedBehavior = 0 PortSpeedBehavior_PORT_SPEED_BEHAVIOR_ANY_SPEED PortSpeedBehavior = 1 PortSpeedBehavior_PORT_SPEED_BEHAVIOR_SAME_SPEED PortSpeedBehavior = 2 )
func (PortSpeedBehavior) Descriptor ¶
func (PortSpeedBehavior) Descriptor() protoreflect.EnumDescriptor
func (PortSpeedBehavior) Enum ¶
func (x PortSpeedBehavior) Enum() *PortSpeedBehavior
func (PortSpeedBehavior) EnumDescriptor
deprecated
func (PortSpeedBehavior) EnumDescriptor() ([]byte, []int)
Deprecated: Use PortSpeedBehavior.Descriptor instead.
func (PortSpeedBehavior) Number ¶
func (x PortSpeedBehavior) Number() protoreflect.EnumNumber
func (PortSpeedBehavior) String ¶
func (x PortSpeedBehavior) String() string
func (PortSpeedBehavior) Type ¶
func (PortSpeedBehavior) Type() protoreflect.EnumType
type PortState ¶ added in v0.4.0
type PortState int32
func (PortState) Descriptor ¶ added in v0.4.0
func (PortState) Descriptor() protoreflect.EnumDescriptor
func (PortState) EnumDescriptor
deprecated
added in
v0.4.0
func (PortState) Number ¶ added in v0.4.0
func (x PortState) Number() protoreflect.EnumNumber
func (PortState) Type ¶ added in v0.4.0
func (PortState) Type() protoreflect.EnumType
type PortStateReply ¶
type PortStateReply struct { Status *PortInfo `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*PortStateReply) Descriptor
deprecated
func (*PortStateReply) Descriptor() ([]byte, []int)
Deprecated: Use PortStateReply.ProtoReflect.Descriptor instead.
func (*PortStateReply) GetStatus ¶ added in v0.4.0
func (x *PortStateReply) GetStatus() *PortInfo
func (*PortStateReply) ProtoMessage ¶
func (*PortStateReply) ProtoMessage()
func (*PortStateReply) ProtoReflect ¶
func (x *PortStateReply) ProtoReflect() protoreflect.Message
func (*PortStateReply) Reset ¶
func (x *PortStateReply) Reset()
func (*PortStateReply) String ¶
func (x *PortStateReply) String() string
type PortStateRequest ¶
type PortStateRequest struct { PortId *PortId `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` ContextId *ContextId `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` Operation *PortInfo `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*PortStateRequest) Descriptor
deprecated
func (*PortStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use PortStateRequest.ProtoReflect.Descriptor instead.
func (*PortStateRequest) GetContextId ¶
func (x *PortStateRequest) GetContextId() *ContextId
func (*PortStateRequest) GetOperation ¶
func (x *PortStateRequest) GetOperation() *PortInfo
func (*PortStateRequest) GetPortId ¶
func (x *PortStateRequest) GetPortId() *PortId
func (*PortStateRequest) ProtoMessage ¶
func (*PortStateRequest) ProtoMessage()
func (*PortStateRequest) ProtoReflect ¶
func (x *PortStateRequest) ProtoReflect() protoreflect.Message
func (*PortStateRequest) Reset ¶
func (x *PortStateRequest) Reset()
func (*PortStateRequest) String ¶
func (x *PortStateRequest) String() string
type PortType ¶
type PortType int32
func (PortType) Descriptor ¶
func (PortType) Descriptor() protoreflect.EnumDescriptor
func (PortType) EnumDescriptor
deprecated
func (PortType) Number ¶
func (x PortType) Number() protoreflect.EnumNumber
func (PortType) Type ¶
func (PortType) Type() protoreflect.EnumType
type PortUpdateDesc ¶
type PortUpdateDesc struct { // Types that are assignable to Port: // // *PortUpdateDesc_Cpu // *PortUpdateDesc_Aggregate // *PortUpdateDesc_AggregateAdd // *PortUpdateDesc_AggregateDel // *PortUpdateDesc_AggregateAlgo // *PortUpdateDesc_Kernel // *PortUpdateDesc_Genetlink Port isPortUpdateDesc_Port `protobuf_oneof:"port"` // contains filtered or unexported fields }
func (*PortUpdateDesc) Descriptor
deprecated
func (*PortUpdateDesc) Descriptor() ([]byte, []int)
Deprecated: Use PortUpdateDesc.ProtoReflect.Descriptor instead.
func (*PortUpdateDesc) GetAggregate ¶
func (x *PortUpdateDesc) GetAggregate() *AggregatePortUpdateDesc
func (*PortUpdateDesc) GetAggregateAdd ¶
func (x *PortUpdateDesc) GetAggregateAdd() *AggregatePortAddMemberUpdateDesc
func (*PortUpdateDesc) GetAggregateAlgo ¶
func (x *PortUpdateDesc) GetAggregateAlgo() *AggregatePortAlgorithmUpdateDesc
func (*PortUpdateDesc) GetAggregateDel ¶
func (x *PortUpdateDesc) GetAggregateDel() *AggregatePortRemoveMemberUpdateDesc
func (*PortUpdateDesc) GetCpu ¶
func (x *PortUpdateDesc) GetCpu() *CPUPortUpdateDesc
func (*PortUpdateDesc) GetGenetlink ¶ added in v0.4.0
func (x *PortUpdateDesc) GetGenetlink() *GenetlinkPortUpdateDesc
func (*PortUpdateDesc) GetKernel ¶
func (x *PortUpdateDesc) GetKernel() *KernelPortUpdateDesc
func (*PortUpdateDesc) GetPort ¶
func (m *PortUpdateDesc) GetPort() isPortUpdateDesc_Port
func (*PortUpdateDesc) ProtoMessage ¶
func (*PortUpdateDesc) ProtoMessage()
func (*PortUpdateDesc) ProtoReflect ¶
func (x *PortUpdateDesc) ProtoReflect() protoreflect.Message
func (*PortUpdateDesc) Reset ¶
func (x *PortUpdateDesc) Reset()
func (*PortUpdateDesc) String ¶
func (x *PortUpdateDesc) String() string
type PortUpdateDesc_Aggregate ¶
type PortUpdateDesc_Aggregate struct {
Aggregate *AggregatePortUpdateDesc `protobuf:"bytes,2,opt,name=aggregate,proto3,oneof"`
}
type PortUpdateDesc_AggregateAdd ¶
type PortUpdateDesc_AggregateAdd struct {
AggregateAdd *AggregatePortAddMemberUpdateDesc `protobuf:"bytes,3,opt,name=aggregate_add,json=aggregateAdd,proto3,oneof"`
}
type PortUpdateDesc_AggregateAlgo ¶
type PortUpdateDesc_AggregateAlgo struct {
AggregateAlgo *AggregatePortAlgorithmUpdateDesc `protobuf:"bytes,5,opt,name=aggregate_algo,json=aggregateAlgo,proto3,oneof"`
}
type PortUpdateDesc_AggregateDel ¶
type PortUpdateDesc_AggregateDel struct {
AggregateDel *AggregatePortRemoveMemberUpdateDesc `protobuf:"bytes,4,opt,name=aggregate_del,json=aggregateDel,proto3,oneof"`
}
type PortUpdateDesc_Cpu ¶
type PortUpdateDesc_Cpu struct {
Cpu *CPUPortUpdateDesc `protobuf:"bytes,1,opt,name=cpu,proto3,oneof"`
}
type PortUpdateDesc_Genetlink ¶ added in v0.4.0
type PortUpdateDesc_Genetlink struct {
Genetlink *GenetlinkPortUpdateDesc `protobuf:"bytes,7,opt,name=genetlink,proto3,oneof"`
}
type PortUpdateDesc_Kernel ¶
type PortUpdateDesc_Kernel struct {
Kernel *KernelPortUpdateDesc `protobuf:"bytes,6,opt,name=kernel,proto3,oneof"`
}
type PortUpdateReply ¶
type PortUpdateReply struct {
// contains filtered or unexported fields
}
func (*PortUpdateReply) Descriptor
deprecated
func (*PortUpdateReply) Descriptor() ([]byte, []int)
Deprecated: Use PortUpdateReply.ProtoReflect.Descriptor instead.
func (*PortUpdateReply) ProtoMessage ¶
func (*PortUpdateReply) ProtoMessage()
func (*PortUpdateReply) ProtoReflect ¶
func (x *PortUpdateReply) ProtoReflect() protoreflect.Message
func (*PortUpdateReply) Reset ¶
func (x *PortUpdateReply) Reset()
func (*PortUpdateReply) String ¶
func (x *PortUpdateReply) String() string
type PortUpdateRequest ¶
type PortUpdateRequest struct { PortId *PortId `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` ContextId *ContextId `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` Update *PortUpdateDesc `protobuf:"bytes,3,opt,name=update,proto3" json:"update,omitempty"` // contains filtered or unexported fields }
func (*PortUpdateRequest) Descriptor
deprecated
func (*PortUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use PortUpdateRequest.ProtoReflect.Descriptor instead.
func (*PortUpdateRequest) GetContextId ¶
func (x *PortUpdateRequest) GetContextId() *ContextId
func (*PortUpdateRequest) GetPortId ¶
func (x *PortUpdateRequest) GetPortId() *PortId
func (*PortUpdateRequest) GetUpdate ¶
func (x *PortUpdateRequest) GetUpdate() *PortUpdateDesc
func (*PortUpdateRequest) ProtoMessage ¶
func (*PortUpdateRequest) ProtoMessage()
func (*PortUpdateRequest) ProtoReflect ¶
func (x *PortUpdateRequest) ProtoReflect() protoreflect.Message
func (*PortUpdateRequest) Reset ¶
func (x *PortUpdateRequest) Reset()
func (*PortUpdateRequest) String ¶
func (x *PortUpdateRequest) String() string
type PrefixEntryDesc ¶
type PrefixEntryDesc struct { Fields []*PacketFieldMaskedBytes `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*PrefixEntryDesc) Descriptor
deprecated
func (*PrefixEntryDesc) Descriptor() ([]byte, []int)
Deprecated: Use PrefixEntryDesc.ProtoReflect.Descriptor instead.
func (*PrefixEntryDesc) GetFields ¶
func (x *PrefixEntryDesc) GetFields() []*PacketFieldMaskedBytes
func (*PrefixEntryDesc) ProtoMessage ¶
func (*PrefixEntryDesc) ProtoMessage()
func (*PrefixEntryDesc) ProtoReflect ¶
func (x *PrefixEntryDesc) ProtoReflect() protoreflect.Message
func (*PrefixEntryDesc) Reset ¶
func (x *PrefixEntryDesc) Reset()
func (*PrefixEntryDesc) String ¶
func (x *PrefixEntryDesc) String() string
type PrefixTableDesc ¶
type PrefixTableDesc struct { FieldIds []*PacketFieldId `protobuf:"bytes,1,rep,name=field_ids,json=fieldIds,proto3" json:"field_ids,omitempty"` // contains filtered or unexported fields }
func (*PrefixTableDesc) Descriptor
deprecated
func (*PrefixTableDesc) Descriptor() ([]byte, []int)
Deprecated: Use PrefixTableDesc.ProtoReflect.Descriptor instead.
func (*PrefixTableDesc) GetFieldIds ¶
func (x *PrefixTableDesc) GetFieldIds() []*PacketFieldId
func (*PrefixTableDesc) ProtoMessage ¶
func (*PrefixTableDesc) ProtoMessage()
func (*PrefixTableDesc) ProtoReflect ¶
func (x *PrefixTableDesc) ProtoReflect() protoreflect.Message
func (*PrefixTableDesc) Reset ¶
func (x *PrefixTableDesc) Reset()
func (*PrefixTableDesc) String ¶
func (x *PrefixTableDesc) String() string
type RateActionDesc ¶
type RateActionDesc struct { BurstBytes int32 `protobuf:"varint,1,opt,name=burst_bytes,json=burstBytes,proto3" json:"burst_bytes,omitempty"` RateBps int32 `protobuf:"varint,2,opt,name=rate_bps,json=rateBps,proto3" json:"rate_bps,omitempty"` // contains filtered or unexported fields }
func (*RateActionDesc) Descriptor
deprecated
func (*RateActionDesc) Descriptor() ([]byte, []int)
Deprecated: Use RateActionDesc.ProtoReflect.Descriptor instead.
func (*RateActionDesc) GetBurstBytes ¶
func (x *RateActionDesc) GetBurstBytes() int32
func (*RateActionDesc) GetRateBps ¶
func (x *RateActionDesc) GetRateBps() int32
func (*RateActionDesc) ProtoMessage ¶
func (*RateActionDesc) ProtoMessage()
func (*RateActionDesc) ProtoReflect ¶
func (x *RateActionDesc) ProtoReflect() protoreflect.Message
func (*RateActionDesc) Reset ¶
func (x *RateActionDesc) Reset()
func (*RateActionDesc) String ¶
func (x *RateActionDesc) String() string
type ReparseActionDesc ¶
type ReparseActionDesc struct { HeaderId PacketHeaderId `protobuf:"varint,1,opt,name=header_id,json=headerId,proto3,enum=forwarding.PacketHeaderId" json:"header_id,omitempty"` FieldIds []*PacketFieldId `protobuf:"bytes,2,rep,name=field_ids,json=fieldIds,proto3" json:"field_ids,omitempty"` Prepend []byte `protobuf:"bytes,3,opt,name=prepend,proto3" json:"prepend,omitempty"` // contains filtered or unexported fields }
func (*ReparseActionDesc) Descriptor
deprecated
func (*ReparseActionDesc) Descriptor() ([]byte, []int)
Deprecated: Use ReparseActionDesc.ProtoReflect.Descriptor instead.
func (*ReparseActionDesc) GetFieldIds ¶
func (x *ReparseActionDesc) GetFieldIds() []*PacketFieldId
func (*ReparseActionDesc) GetHeaderId ¶
func (x *ReparseActionDesc) GetHeaderId() PacketHeaderId
func (*ReparseActionDesc) GetPrepend ¶
func (x *ReparseActionDesc) GetPrepend() []byte
func (*ReparseActionDesc) ProtoMessage ¶
func (*ReparseActionDesc) ProtoMessage()
func (*ReparseActionDesc) ProtoReflect ¶
func (x *ReparseActionDesc) ProtoReflect() protoreflect.Message
func (*ReparseActionDesc) Reset ¶
func (x *ReparseActionDesc) Reset()
func (*ReparseActionDesc) String ¶
func (x *ReparseActionDesc) String() string
type SelectActionListActionDesc ¶
type SelectActionListActionDesc struct { SelectAlgorithm SelectActionListActionDesc_SelectAlgorithm `` /* 166-byte string literal not displayed */ FieldIds []*PacketFieldId `protobuf:"bytes,2,rep,name=field_ids,json=fieldIds,proto3" json:"field_ids,omitempty"` ActionLists []*ActionList `protobuf:"bytes,3,rep,name=action_lists,json=actionLists,proto3" json:"action_lists,omitempty"` // contains filtered or unexported fields }
func (*SelectActionListActionDesc) Descriptor
deprecated
func (*SelectActionListActionDesc) Descriptor() ([]byte, []int)
Deprecated: Use SelectActionListActionDesc.ProtoReflect.Descriptor instead.
func (*SelectActionListActionDesc) GetActionLists ¶
func (x *SelectActionListActionDesc) GetActionLists() []*ActionList
func (*SelectActionListActionDesc) GetFieldIds ¶
func (x *SelectActionListActionDesc) GetFieldIds() []*PacketFieldId
func (*SelectActionListActionDesc) GetSelectAlgorithm ¶
func (x *SelectActionListActionDesc) GetSelectAlgorithm() SelectActionListActionDesc_SelectAlgorithm
func (*SelectActionListActionDesc) ProtoMessage ¶
func (*SelectActionListActionDesc) ProtoMessage()
func (*SelectActionListActionDesc) ProtoReflect ¶
func (x *SelectActionListActionDesc) ProtoReflect() protoreflect.Message
func (*SelectActionListActionDesc) Reset ¶
func (x *SelectActionListActionDesc) Reset()
func (*SelectActionListActionDesc) String ¶
func (x *SelectActionListActionDesc) String() string
type SelectActionListActionDesc_SelectAlgorithm ¶
type SelectActionListActionDesc_SelectAlgorithm int32
const ( SelectActionListActionDesc_SELECT_ALGORITHM_UNSPECIFIED SelectActionListActionDesc_SelectAlgorithm = 0 SelectActionListActionDesc_SELECT_ALGORITHM_CRC16 SelectActionListActionDesc_SelectAlgorithm = 2 SelectActionListActionDesc_SELECT_ALGORITHM_CRC32 SelectActionListActionDesc_SelectAlgorithm = 3 SelectActionListActionDesc_SELECT_ALGORITHM_RANDOM SelectActionListActionDesc_SelectAlgorithm = 5 )
func (SelectActionListActionDesc_SelectAlgorithm) Descriptor ¶
func (SelectActionListActionDesc_SelectAlgorithm) Descriptor() protoreflect.EnumDescriptor
func (SelectActionListActionDesc_SelectAlgorithm) EnumDescriptor
deprecated
func (SelectActionListActionDesc_SelectAlgorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use SelectActionListActionDesc_SelectAlgorithm.Descriptor instead.
func (SelectActionListActionDesc_SelectAlgorithm) Number ¶
func (x SelectActionListActionDesc_SelectAlgorithm) Number() protoreflect.EnumNumber
func (SelectActionListActionDesc_SelectAlgorithm) String ¶
func (x SelectActionListActionDesc_SelectAlgorithm) String() string
func (SelectActionListActionDesc_SelectAlgorithm) Type ¶
func (SelectActionListActionDesc_SelectAlgorithm) Type() protoreflect.EnumType
type SetCreateReply ¶
type SetCreateReply struct { ObjectIndex *ObjectIndex `protobuf:"bytes,2,opt,name=object_index,json=objectIndex,proto3" json:"object_index,omitempty"` // contains filtered or unexported fields }
func (*SetCreateReply) Descriptor
deprecated
func (*SetCreateReply) Descriptor() ([]byte, []int)
Deprecated: Use SetCreateReply.ProtoReflect.Descriptor instead.
func (*SetCreateReply) GetObjectIndex ¶
func (x *SetCreateReply) GetObjectIndex() *ObjectIndex
func (*SetCreateReply) ProtoMessage ¶
func (*SetCreateReply) ProtoMessage()
func (*SetCreateReply) ProtoReflect ¶
func (x *SetCreateReply) ProtoReflect() protoreflect.Message
func (*SetCreateReply) Reset ¶
func (x *SetCreateReply) Reset()
func (*SetCreateReply) String ¶
func (x *SetCreateReply) String() string
type SetCreateRequest ¶
type SetCreateRequest struct { ContextId *ContextId `protobuf:"bytes,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` SetId *SetId `protobuf:"bytes,3,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"` // contains filtered or unexported fields }
func (*SetCreateRequest) Descriptor
deprecated
func (*SetCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetCreateRequest.ProtoReflect.Descriptor instead.
func (*SetCreateRequest) GetContextId ¶
func (x *SetCreateRequest) GetContextId() *ContextId
func (*SetCreateRequest) GetSetId ¶
func (x *SetCreateRequest) GetSetId() *SetId
func (*SetCreateRequest) ProtoMessage ¶
func (*SetCreateRequest) ProtoMessage()
func (*SetCreateRequest) ProtoReflect ¶
func (x *SetCreateRequest) ProtoReflect() protoreflect.Message
func (*SetCreateRequest) Reset ¶
func (x *SetCreateRequest) Reset()
func (*SetCreateRequest) String ¶
func (x *SetCreateRequest) String() string
type SetId ¶
type SetId struct { ObjectId *ObjectId `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` // contains filtered or unexported fields }
func (*SetId) Descriptor
deprecated
func (*SetId) GetObjectId ¶
func (*SetId) ProtoMessage ¶
func (*SetId) ProtoMessage()
func (*SetId) ProtoReflect ¶
func (x *SetId) ProtoReflect() protoreflect.Message
type SetUpdateReply ¶
type SetUpdateReply struct {
// contains filtered or unexported fields
}
func (*SetUpdateReply) Descriptor
deprecated
func (*SetUpdateReply) Descriptor() ([]byte, []int)
Deprecated: Use SetUpdateReply.ProtoReflect.Descriptor instead.
func (*SetUpdateReply) ProtoMessage ¶
func (*SetUpdateReply) ProtoMessage()
func (*SetUpdateReply) ProtoReflect ¶
func (x *SetUpdateReply) ProtoReflect() protoreflect.Message
func (*SetUpdateReply) Reset ¶
func (x *SetUpdateReply) Reset()
func (*SetUpdateReply) String ¶
func (x *SetUpdateReply) String() string
type SetUpdateRequest ¶
type SetUpdateRequest struct { ContextId *ContextId `protobuf:"bytes,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` SetId *SetId `protobuf:"bytes,2,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"` Bytes [][]byte `protobuf:"bytes,3,rep,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
func (*SetUpdateRequest) Descriptor
deprecated
func (*SetUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetUpdateRequest.ProtoReflect.Descriptor instead.
func (*SetUpdateRequest) GetBytes ¶
func (x *SetUpdateRequest) GetBytes() [][]byte
func (*SetUpdateRequest) GetContextId ¶
func (x *SetUpdateRequest) GetContextId() *ContextId
func (*SetUpdateRequest) GetSetId ¶
func (x *SetUpdateRequest) GetSetId() *SetId
func (*SetUpdateRequest) ProtoMessage ¶
func (*SetUpdateRequest) ProtoMessage()
func (*SetUpdateRequest) ProtoReflect ¶
func (x *SetUpdateRequest) ProtoReflect() protoreflect.Message
func (*SetUpdateRequest) Reset ¶
func (x *SetUpdateRequest) Reset()
func (*SetUpdateRequest) String ¶
func (x *SetUpdateRequest) String() string
type TAPPortDesc ¶
type TAPPortDesc struct { DeviceName string `protobuf:"bytes,1,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` // contains filtered or unexported fields }
func (*TAPPortDesc) Descriptor
deprecated
func (*TAPPortDesc) Descriptor() ([]byte, []int)
Deprecated: Use TAPPortDesc.ProtoReflect.Descriptor instead.
func (*TAPPortDesc) GetDeviceName ¶ added in v0.4.0
func (x *TAPPortDesc) GetDeviceName() string
func (*TAPPortDesc) ProtoMessage ¶
func (*TAPPortDesc) ProtoMessage()
func (*TAPPortDesc) ProtoReflect ¶
func (x *TAPPortDesc) ProtoReflect() protoreflect.Message
func (*TAPPortDesc) Reset ¶
func (x *TAPPortDesc) Reset()
func (*TAPPortDesc) String ¶
func (x *TAPPortDesc) String() string
type TableCreateReply ¶
type TableCreateReply struct { ObjectIndex *ObjectIndex `protobuf:"bytes,2,opt,name=object_index,json=objectIndex,proto3" json:"object_index,omitempty"` // contains filtered or unexported fields }
func (*TableCreateReply) Descriptor
deprecated
func (*TableCreateReply) Descriptor() ([]byte, []int)
Deprecated: Use TableCreateReply.ProtoReflect.Descriptor instead.
func (*TableCreateReply) GetObjectIndex ¶
func (x *TableCreateReply) GetObjectIndex() *ObjectIndex
func (*TableCreateReply) ProtoMessage ¶
func (*TableCreateReply) ProtoMessage()
func (*TableCreateReply) ProtoReflect ¶
func (x *TableCreateReply) ProtoReflect() protoreflect.Message
func (*TableCreateReply) Reset ¶
func (x *TableCreateReply) Reset()
func (*TableCreateReply) String ¶
func (x *TableCreateReply) String() string
type TableCreateRequest ¶
type TableCreateRequest struct { Desc *TableDesc `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"` ContextId *ContextId `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` // contains filtered or unexported fields }
func (*TableCreateRequest) Descriptor
deprecated
func (*TableCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TableCreateRequest.ProtoReflect.Descriptor instead.
func (*TableCreateRequest) GetContextId ¶
func (x *TableCreateRequest) GetContextId() *ContextId
func (*TableCreateRequest) GetDesc ¶
func (x *TableCreateRequest) GetDesc() *TableDesc
func (*TableCreateRequest) ProtoMessage ¶
func (*TableCreateRequest) ProtoMessage()
func (*TableCreateRequest) ProtoReflect ¶
func (x *TableCreateRequest) ProtoReflect() protoreflect.Message
func (*TableCreateRequest) Reset ¶
func (x *TableCreateRequest) Reset()
func (*TableCreateRequest) String ¶
func (x *TableCreateRequest) String() string
type TableDesc ¶
type TableDesc struct { TableType TableType `protobuf:"varint,1,opt,name=table_type,json=tableType,proto3,enum=forwarding.TableType" json:"table_type,omitempty"` Actions []*ActionDesc `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` TableId *TableId `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` // Types that are assignable to Table: // // *TableDesc_Exact // *TableDesc_Prefix // *TableDesc_Flow // *TableDesc_Bridge // *TableDesc_Action Table isTableDesc_Table `protobuf_oneof:"table"` // contains filtered or unexported fields }
func (*TableDesc) Descriptor
deprecated
func (*TableDesc) GetAction ¶ added in v0.4.0
func (x *TableDesc) GetAction() *ActionTableDesc
func (*TableDesc) GetActions ¶
func (x *TableDesc) GetActions() []*ActionDesc
func (*TableDesc) GetBridge ¶
func (x *TableDesc) GetBridge() *BridgeTableDesc
func (*TableDesc) GetExact ¶
func (x *TableDesc) GetExact() *ExactTableDesc
func (*TableDesc) GetFlow ¶
func (x *TableDesc) GetFlow() *FlowTableDesc
func (*TableDesc) GetPrefix ¶
func (x *TableDesc) GetPrefix() *PrefixTableDesc
func (*TableDesc) GetTableId ¶
func (*TableDesc) GetTableType ¶
func (*TableDesc) ProtoMessage ¶
func (*TableDesc) ProtoMessage()
func (*TableDesc) ProtoReflect ¶
func (x *TableDesc) ProtoReflect() protoreflect.Message
type TableDesc_Action ¶ added in v0.4.0
type TableDesc_Action struct {
Action *ActionTableDesc `protobuf:"bytes,8,opt,name=action,proto3,oneof"`
}
type TableDesc_Bridge ¶
type TableDesc_Bridge struct {
Bridge *BridgeTableDesc `protobuf:"bytes,7,opt,name=bridge,proto3,oneof"`
}
type TableDesc_Exact ¶
type TableDesc_Exact struct {
Exact *ExactTableDesc `protobuf:"bytes,4,opt,name=exact,proto3,oneof"`
}
type TableDesc_Flow ¶
type TableDesc_Flow struct {
Flow *FlowTableDesc `protobuf:"bytes,6,opt,name=flow,proto3,oneof"`
}
type TableDesc_Prefix ¶
type TableDesc_Prefix struct {
Prefix *PrefixTableDesc `protobuf:"bytes,5,opt,name=prefix,proto3,oneof"`
}
type TableEntryAddReply ¶
type TableEntryAddReply struct {
// contains filtered or unexported fields
}
func (*TableEntryAddReply) Descriptor
deprecated
func (*TableEntryAddReply) Descriptor() ([]byte, []int)
Deprecated: Use TableEntryAddReply.ProtoReflect.Descriptor instead.
func (*TableEntryAddReply) ProtoMessage ¶
func (*TableEntryAddReply) ProtoMessage()
func (*TableEntryAddReply) ProtoReflect ¶
func (x *TableEntryAddReply) ProtoReflect() protoreflect.Message
func (*TableEntryAddReply) Reset ¶
func (x *TableEntryAddReply) Reset()
func (*TableEntryAddReply) String ¶
func (x *TableEntryAddReply) String() string
type TableEntryAddRequest ¶
type TableEntryAddRequest struct { TableId *TableId `protobuf:"bytes,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` ContextId *ContextId `protobuf:"bytes,4,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` Actions []*ActionDesc `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` EntryDesc *EntryDesc `protobuf:"bytes,3,opt,name=entry_desc,json=entryDesc,proto3" json:"entry_desc,omitempty"` Entries []*TableEntryAddRequest_Entry `protobuf:"bytes,5,rep,name=entries,proto3" json:"entries,omitempty"` ClearBeforeAdd bool `protobuf:"varint,6,opt,name=clear_before_add,json=clearBeforeAdd,proto3" json:"clear_before_add,omitempty"` // contains filtered or unexported fields }
func (*TableEntryAddRequest) Descriptor
deprecated
func (*TableEntryAddRequest) Descriptor() ([]byte, []int)
Deprecated: Use TableEntryAddRequest.ProtoReflect.Descriptor instead.
func (*TableEntryAddRequest) GetActions ¶
func (x *TableEntryAddRequest) GetActions() []*ActionDesc
func (*TableEntryAddRequest) GetClearBeforeAdd ¶
func (x *TableEntryAddRequest) GetClearBeforeAdd() bool
func (*TableEntryAddRequest) GetContextId ¶
func (x *TableEntryAddRequest) GetContextId() *ContextId
func (*TableEntryAddRequest) GetEntries ¶
func (x *TableEntryAddRequest) GetEntries() []*TableEntryAddRequest_Entry
func (*TableEntryAddRequest) GetEntryDesc ¶
func (x *TableEntryAddRequest) GetEntryDesc() *EntryDesc
func (*TableEntryAddRequest) GetTableId ¶
func (x *TableEntryAddRequest) GetTableId() *TableId
func (*TableEntryAddRequest) ProtoMessage ¶
func (*TableEntryAddRequest) ProtoMessage()
func (*TableEntryAddRequest) ProtoReflect ¶
func (x *TableEntryAddRequest) ProtoReflect() protoreflect.Message
func (*TableEntryAddRequest) Reset ¶
func (x *TableEntryAddRequest) Reset()
func (*TableEntryAddRequest) String ¶
func (x *TableEntryAddRequest) String() string
type TableEntryAddRequest_Entry ¶
type TableEntryAddRequest_Entry struct { Actions []*ActionDesc `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` EntryDesc *EntryDesc `protobuf:"bytes,2,opt,name=entry_desc,json=entryDesc,proto3" json:"entry_desc,omitempty"` // contains filtered or unexported fields }
func (*TableEntryAddRequest_Entry) Descriptor
deprecated
func (*TableEntryAddRequest_Entry) Descriptor() ([]byte, []int)
Deprecated: Use TableEntryAddRequest_Entry.ProtoReflect.Descriptor instead.
func (*TableEntryAddRequest_Entry) GetActions ¶
func (x *TableEntryAddRequest_Entry) GetActions() []*ActionDesc
func (*TableEntryAddRequest_Entry) GetEntryDesc ¶
func (x *TableEntryAddRequest_Entry) GetEntryDesc() *EntryDesc
func (*TableEntryAddRequest_Entry) ProtoMessage ¶
func (*TableEntryAddRequest_Entry) ProtoMessage()
func (*TableEntryAddRequest_Entry) ProtoReflect ¶
func (x *TableEntryAddRequest_Entry) ProtoReflect() protoreflect.Message
func (*TableEntryAddRequest_Entry) Reset ¶
func (x *TableEntryAddRequest_Entry) Reset()
func (*TableEntryAddRequest_Entry) String ¶
func (x *TableEntryAddRequest_Entry) String() string
type TableEntryRemoveReply ¶
type TableEntryRemoveReply struct {
// contains filtered or unexported fields
}
func (*TableEntryRemoveReply) Descriptor
deprecated
func (*TableEntryRemoveReply) Descriptor() ([]byte, []int)
Deprecated: Use TableEntryRemoveReply.ProtoReflect.Descriptor instead.
func (*TableEntryRemoveReply) ProtoMessage ¶
func (*TableEntryRemoveReply) ProtoMessage()
func (*TableEntryRemoveReply) ProtoReflect ¶
func (x *TableEntryRemoveReply) ProtoReflect() protoreflect.Message
func (*TableEntryRemoveReply) Reset ¶
func (x *TableEntryRemoveReply) Reset()
func (*TableEntryRemoveReply) String ¶
func (x *TableEntryRemoveReply) String() string
type TableEntryRemoveRequest ¶
type TableEntryRemoveRequest struct { TableId *TableId `protobuf:"bytes,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` ContextId *ContextId `protobuf:"bytes,3,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` EntryDesc *EntryDesc `protobuf:"bytes,2,opt,name=entry_desc,json=entryDesc,proto3" json:"entry_desc,omitempty"` Entries []*EntryDesc `protobuf:"bytes,4,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*TableEntryRemoveRequest) Descriptor
deprecated
func (*TableEntryRemoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use TableEntryRemoveRequest.ProtoReflect.Descriptor instead.
func (*TableEntryRemoveRequest) GetContextId ¶
func (x *TableEntryRemoveRequest) GetContextId() *ContextId
func (*TableEntryRemoveRequest) GetEntries ¶
func (x *TableEntryRemoveRequest) GetEntries() []*EntryDesc
func (*TableEntryRemoveRequest) GetEntryDesc ¶
func (x *TableEntryRemoveRequest) GetEntryDesc() *EntryDesc
func (*TableEntryRemoveRequest) GetTableId ¶
func (x *TableEntryRemoveRequest) GetTableId() *TableId
func (*TableEntryRemoveRequest) ProtoMessage ¶
func (*TableEntryRemoveRequest) ProtoMessage()
func (*TableEntryRemoveRequest) ProtoReflect ¶
func (x *TableEntryRemoveRequest) ProtoReflect() protoreflect.Message
func (*TableEntryRemoveRequest) Reset ¶
func (x *TableEntryRemoveRequest) Reset()
func (*TableEntryRemoveRequest) String ¶
func (x *TableEntryRemoveRequest) String() string
type TableId ¶
type TableId struct { ObjectId *ObjectId `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` // contains filtered or unexported fields }
func (*TableId) Descriptor
deprecated
func (*TableId) GetObjectId ¶
func (*TableId) ProtoMessage ¶
func (*TableId) ProtoMessage()
func (*TableId) ProtoReflect ¶
func (x *TableId) ProtoReflect() protoreflect.Message
type TableListReply ¶
type TableListReply struct { Entries []string `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*TableListReply) Descriptor
deprecated
func (*TableListReply) Descriptor() ([]byte, []int)
Deprecated: Use TableListReply.ProtoReflect.Descriptor instead.
func (*TableListReply) GetEntries ¶
func (x *TableListReply) GetEntries() []string
func (*TableListReply) ProtoMessage ¶
func (*TableListReply) ProtoMessage()
func (*TableListReply) ProtoReflect ¶
func (x *TableListReply) ProtoReflect() protoreflect.Message
func (*TableListReply) Reset ¶
func (x *TableListReply) Reset()
func (*TableListReply) String ¶
func (x *TableListReply) String() string
type TableListRequest ¶
type TableListRequest struct { TableId *TableId `protobuf:"bytes,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` ContextId *ContextId `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` // contains filtered or unexported fields }
func (*TableListRequest) Descriptor
deprecated
func (*TableListRequest) Descriptor() ([]byte, []int)
Deprecated: Use TableListRequest.ProtoReflect.Descriptor instead.
func (*TableListRequest) GetContextId ¶
func (x *TableListRequest) GetContextId() *ContextId
func (*TableListRequest) GetTableId ¶
func (x *TableListRequest) GetTableId() *TableId
func (*TableListRequest) ProtoMessage ¶
func (*TableListRequest) ProtoMessage()
func (*TableListRequest) ProtoReflect ¶
func (x *TableListRequest) ProtoReflect() protoreflect.Message
func (*TableListRequest) Reset ¶
func (x *TableListRequest) Reset()
func (*TableListRequest) String ¶
func (x *TableListRequest) String() string
type TableType ¶
type TableType int32
func (TableType) Descriptor ¶
func (TableType) Descriptor() protoreflect.EnumDescriptor
func (TableType) EnumDescriptor
deprecated
func (TableType) Number ¶
func (x TableType) Number() protoreflect.EnumNumber
func (TableType) Type ¶
func (TableType) Type() protoreflect.EnumType
type TestActionDesc ¶
type TestActionDesc struct { Int1 uint32 `protobuf:"varint,1,opt,name=int1,proto3" json:"int1,omitempty"` Bytes1 []byte `protobuf:"bytes,2,opt,name=bytes1,proto3" json:"bytes1,omitempty"` // contains filtered or unexported fields }
func (*TestActionDesc) Descriptor
deprecated
func (*TestActionDesc) Descriptor() ([]byte, []int)
Deprecated: Use TestActionDesc.ProtoReflect.Descriptor instead.
func (*TestActionDesc) GetBytes1 ¶
func (x *TestActionDesc) GetBytes1() []byte
func (*TestActionDesc) GetInt1 ¶
func (x *TestActionDesc) GetInt1() uint32
func (*TestActionDesc) ProtoMessage ¶
func (*TestActionDesc) ProtoMessage()
func (*TestActionDesc) ProtoReflect ¶
func (x *TestActionDesc) ProtoReflect() protoreflect.Message
func (*TestActionDesc) Reset ¶
func (x *TestActionDesc) Reset()
func (*TestActionDesc) String ¶
func (x *TestActionDesc) String() string
type TransmitActionDesc ¶
type TransmitActionDesc struct { PortId *PortId `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` Immediate bool `protobuf:"varint,2,opt,name=immediate,proto3" json:"immediate,omitempty"` // contains filtered or unexported fields }
func (*TransmitActionDesc) Descriptor
deprecated
func (*TransmitActionDesc) Descriptor() ([]byte, []int)
Deprecated: Use TransmitActionDesc.ProtoReflect.Descriptor instead.
func (*TransmitActionDesc) GetImmediate ¶
func (x *TransmitActionDesc) GetImmediate() bool
func (*TransmitActionDesc) GetPortId ¶
func (x *TransmitActionDesc) GetPortId() *PortId
func (*TransmitActionDesc) ProtoMessage ¶
func (*TransmitActionDesc) ProtoMessage()
func (*TransmitActionDesc) ProtoReflect ¶
func (x *TransmitActionDesc) ProtoReflect() protoreflect.Message
func (*TransmitActionDesc) Reset ¶
func (x *TransmitActionDesc) Reset()
func (*TransmitActionDesc) String ¶
func (x *TransmitActionDesc) String() string
type UnimplementedForwardingServer ¶ added in v0.4.0
type UnimplementedForwardingServer struct { }
UnimplementedForwardingServer can be embedded to have forward compatible implementations.
func (*UnimplementedForwardingServer) AttributeList ¶ added in v0.4.0
func (*UnimplementedForwardingServer) AttributeList(context.Context, *AttributeListRequest) (*AttributeListReply, error)
func (*UnimplementedForwardingServer) AttributeQuery ¶ added in v0.4.0
func (*UnimplementedForwardingServer) AttributeQuery(context.Context, *AttributeQueryRequest) (*AttributeQueryReply, error)
func (*UnimplementedForwardingServer) AttributeUpdate ¶ added in v0.4.0
func (*UnimplementedForwardingServer) AttributeUpdate(context.Context, *AttributeUpdateRequest) (*AttributeUpdateReply, error)
func (*UnimplementedForwardingServer) ContextCreate ¶ added in v0.4.0
func (*UnimplementedForwardingServer) ContextCreate(context.Context, *ContextCreateRequest) (*ContextCreateReply, error)
func (*UnimplementedForwardingServer) ContextDelete ¶ added in v0.4.0
func (*UnimplementedForwardingServer) ContextDelete(context.Context, *ContextDeleteRequest) (*ContextDeleteReply, error)
func (*UnimplementedForwardingServer) ContextList ¶ added in v0.4.0
func (*UnimplementedForwardingServer) ContextList(context.Context, *ContextListRequest) (*ContextListReply, error)
func (*UnimplementedForwardingServer) FlowCounterCreate ¶ added in v0.4.0
func (*UnimplementedForwardingServer) FlowCounterCreate(context.Context, *FlowCounterCreateRequest) (*FlowCounterCreateReply, error)
func (*UnimplementedForwardingServer) FlowCounterQuery ¶ added in v0.4.0
func (*UnimplementedForwardingServer) FlowCounterQuery(context.Context, *FlowCounterQueryRequest) (*FlowCounterQueryReply, error)
func (*UnimplementedForwardingServer) NotifySubscribe ¶ added in v0.4.0
func (*UnimplementedForwardingServer) NotifySubscribe(*NotifySubscribeRequest, Forwarding_NotifySubscribeServer) error
func (*UnimplementedForwardingServer) ObjectCounters ¶ added in v0.4.0
func (*UnimplementedForwardingServer) ObjectCounters(context.Context, *ObjectCountersRequest) (*ObjectCountersReply, error)
func (*UnimplementedForwardingServer) ObjectDelete ¶ added in v0.4.0
func (*UnimplementedForwardingServer) ObjectDelete(context.Context, *ObjectDeleteRequest) (*ObjectDeleteReply, error)
func (*UnimplementedForwardingServer) ObjectList ¶ added in v0.4.0
func (*UnimplementedForwardingServer) ObjectList(context.Context, *ObjectListRequest) (*ObjectListReply, error)
func (*UnimplementedForwardingServer) ObjectNID ¶ added in v0.4.0
func (*UnimplementedForwardingServer) ObjectNID(context.Context, *ObjectNIDRequest) (*ObjectNIDReply, error)
func (*UnimplementedForwardingServer) Operation ¶ added in v0.4.0
func (*UnimplementedForwardingServer) Operation(Forwarding_OperationServer) error
func (*UnimplementedForwardingServer) PacketInject ¶ added in v0.4.0
func (*UnimplementedForwardingServer) PacketInject(Forwarding_PacketInjectServer) error
func (*UnimplementedForwardingServer) PacketSinkSubscribe ¶ added in v0.4.0
func (*UnimplementedForwardingServer) PacketSinkSubscribe(*PacketSinkRequest, Forwarding_PacketSinkSubscribeServer) error
func (*UnimplementedForwardingServer) PortCreate ¶ added in v0.4.0
func (*UnimplementedForwardingServer) PortCreate(context.Context, *PortCreateRequest) (*PortCreateReply, error)
func (*UnimplementedForwardingServer) PortState ¶ added in v0.4.0
func (*UnimplementedForwardingServer) PortState(context.Context, *PortStateRequest) (*PortStateReply, error)
func (*UnimplementedForwardingServer) PortUpdate ¶ added in v0.4.0
func (*UnimplementedForwardingServer) PortUpdate(context.Context, *PortUpdateRequest) (*PortUpdateReply, error)
func (*UnimplementedForwardingServer) SetCreate ¶ added in v0.4.0
func (*UnimplementedForwardingServer) SetCreate(context.Context, *SetCreateRequest) (*SetCreateReply, error)
func (*UnimplementedForwardingServer) SetUpdate ¶ added in v0.4.0
func (*UnimplementedForwardingServer) SetUpdate(context.Context, *SetUpdateRequest) (*SetUpdateReply, error)
func (*UnimplementedForwardingServer) TableCreate ¶ added in v0.4.0
func (*UnimplementedForwardingServer) TableCreate(context.Context, *TableCreateRequest) (*TableCreateReply, error)
func (*UnimplementedForwardingServer) TableEntryAdd ¶ added in v0.4.0
func (*UnimplementedForwardingServer) TableEntryAdd(context.Context, *TableEntryAddRequest) (*TableEntryAddReply, error)
func (*UnimplementedForwardingServer) TableEntryRemove ¶ added in v0.4.0
func (*UnimplementedForwardingServer) TableEntryRemove(context.Context, *TableEntryRemoveRequest) (*TableEntryRemoveReply, error)
func (*UnimplementedForwardingServer) TableList ¶ added in v0.4.0
func (*UnimplementedForwardingServer) TableList(context.Context, *TableListRequest) (*TableListReply, error)
type UnimplementedInfoServer ¶
type UnimplementedInfoServer struct { }
UnimplementedInfoServer can be embedded to have forward compatible implementations.
func (*UnimplementedInfoServer) InfoElement ¶
func (*UnimplementedInfoServer) InfoElement(context.Context, *InfoElementRequest) (*InfoElementReply, error)
func (*UnimplementedInfoServer) InfoList ¶
func (*UnimplementedInfoServer) InfoList(context.Context, *InfoListRequest) (*InfoListReply, error)
type UpdateActionDesc ¶
type UpdateActionDesc struct { FieldId *PacketFieldId `protobuf:"bytes,1,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"` Type UpdateType `protobuf:"varint,2,opt,name=type,proto3,enum=forwarding.UpdateType" json:"type,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Field *PacketFieldId `protobuf:"bytes,4,opt,name=field,proto3" json:"field,omitempty"` BitOffset uint32 `protobuf:"varint,5,opt,name=bit_offset,json=bitOffset,proto3" json:"bit_offset,omitempty"` BitCount uint32 `protobuf:"varint,6,opt,name=bit_count,json=bitCount,proto3" json:"bit_count,omitempty"` // contains filtered or unexported fields }
func (*UpdateActionDesc) Descriptor
deprecated
func (*UpdateActionDesc) Descriptor() ([]byte, []int)
Deprecated: Use UpdateActionDesc.ProtoReflect.Descriptor instead.
func (*UpdateActionDesc) GetBitCount ¶
func (x *UpdateActionDesc) GetBitCount() uint32
func (*UpdateActionDesc) GetBitOffset ¶
func (x *UpdateActionDesc) GetBitOffset() uint32
func (*UpdateActionDesc) GetField ¶
func (x *UpdateActionDesc) GetField() *PacketFieldId
func (*UpdateActionDesc) GetFieldId ¶
func (x *UpdateActionDesc) GetFieldId() *PacketFieldId
func (*UpdateActionDesc) GetType ¶
func (x *UpdateActionDesc) GetType() UpdateType
func (*UpdateActionDesc) GetValue ¶
func (x *UpdateActionDesc) GetValue() []byte
func (*UpdateActionDesc) ProtoMessage ¶
func (*UpdateActionDesc) ProtoMessage()
func (*UpdateActionDesc) ProtoReflect ¶
func (x *UpdateActionDesc) ProtoReflect() protoreflect.Message
func (*UpdateActionDesc) Reset ¶
func (x *UpdateActionDesc) Reset()
func (*UpdateActionDesc) String ¶
func (x *UpdateActionDesc) String() string
type UpdateType ¶
type UpdateType int32
const ( UpdateType_UPDATE_TYPE_UNSPECIFIED UpdateType = 0 UpdateType_UPDATE_TYPE_SET UpdateType = 1 UpdateType_UPDATE_TYPE_INC UpdateType = 2 UpdateType_UPDATE_TYPE_DEC UpdateType = 3 UpdateType_UPDATE_TYPE_COPY UpdateType = 4 UpdateType_UPDATE_TYPE_BIT_WRITE UpdateType = 5 UpdateType_UPDATE_TYPE_BIT_AND UpdateType = 6 UpdateType_UPDATE_TYPE_BIT_OR UpdateType = 7 )
func (UpdateType) Descriptor ¶
func (UpdateType) Descriptor() protoreflect.EnumDescriptor
func (UpdateType) Enum ¶
func (x UpdateType) Enum() *UpdateType
func (UpdateType) EnumDescriptor
deprecated
func (UpdateType) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateType.Descriptor instead.
func (UpdateType) Number ¶
func (x UpdateType) Number() protoreflect.EnumNumber
func (UpdateType) String ¶
func (x UpdateType) String() string
func (UpdateType) Type ¶
func (UpdateType) Type() protoreflect.EnumType