forwarding

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_proto_forwarding_forwarding_action_proto protoreflect.FileDescriptor
View Source
var File_proto_forwarding_forwarding_attribute_proto protoreflect.FileDescriptor
View Source
var File_proto_forwarding_forwarding_common_proto protoreflect.FileDescriptor
View Source
var File_proto_forwarding_forwarding_info_proto protoreflect.FileDescriptor
View Source
var File_proto_forwarding_forwarding_notification_proto protoreflect.FileDescriptor
View Source
var File_proto_forwarding_forwarding_operation_proto protoreflect.FileDescriptor
View Source
var File_proto_forwarding_forwarding_packetsink_proto protoreflect.FileDescriptor
View Source
var File_proto_forwarding_forwarding_port_proto protoreflect.FileDescriptor
View Source
var File_proto_forwarding_forwarding_service_proto protoreflect.FileDescriptor
View Source
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) Enum added in v0.4.0

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 (ActionEntryDesc_InsertMethod) String added in v0.4.0

func (ActionEntryDesc_InsertMethod) Type added in v0.4.0

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

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) Enum

func (AggregateHashAlgorithm) EnumDescriptor deprecated

func (AggregateHashAlgorithm) EnumDescriptor() ([]byte, []int)

Deprecated: Use AggregateHashAlgorithm.Descriptor instead.

func (AggregateHashAlgorithm) Number

func (AggregateHashAlgorithm) String

func (x AggregateHashAlgorithm) String() string

func (AggregateHashAlgorithm) Type

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 (*AggregatePortAddMemberUpdateDesc) Reset

func (*AggregatePortAddMemberUpdateDesc) 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 (*AggregatePortAlgorithmUpdateDesc) ProtoMessage

func (*AggregatePortAlgorithmUpdateDesc) ProtoMessage()

func (*AggregatePortAlgorithmUpdateDesc) ProtoReflect

func (*AggregatePortAlgorithmUpdateDesc) Reset

func (*AggregatePortAlgorithmUpdateDesc) 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 (*AggregatePortRemoveMemberUpdateDesc) ProtoMessage

func (*AggregatePortRemoveMemberUpdateDesc) ProtoMessage()

func (*AggregatePortRemoveMemberUpdateDesc) ProtoReflect

func (*AggregatePortRemoveMemberUpdateDesc) Reset

func (*AggregatePortRemoveMemberUpdateDesc) 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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use ContextId.ProtoReflect.Descriptor instead.

func (*ContextId) GetId

func (x *ContextId) GetId() string

func (*ContextId) ProtoMessage

func (*ContextId) ProtoMessage()

func (*ContextId) ProtoReflect

func (x *ContextId) ProtoReflect() protoreflect.Message

func (*ContextId) Reset

func (x *ContextId) Reset()

func (*ContextId) String

func (x *ContextId) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Counter.ProtoReflect.Descriptor instead.

func (*Counter) GetId

func (x *Counter) GetId() CounterId

func (*Counter) GetValue

func (x *Counter) GetValue() uint64

func (*Counter) ProtoMessage

func (*Counter) ProtoMessage()

func (*Counter) ProtoReflect

func (x *Counter) ProtoReflect() protoreflect.Message

func (*Counter) Reset

func (x *Counter) Reset()

func (*Counter) String

func (x *Counter) String() string

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) Enum

func (x CounterId) Enum() *CounterId

func (CounterId) EnumDescriptor deprecated

func (CounterId) EnumDescriptor() ([]byte, []int)

Deprecated: Use CounterId.Descriptor instead.

func (CounterId) Number

func (x CounterId) Number() protoreflect.EnumNumber

func (CounterId) String

func (x CounterId) String() string

func (CounterId) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use EntryDesc.ProtoReflect.Descriptor instead.

func (*EntryDesc) GetAction added in v0.4.0

func (x *EntryDesc) GetAction() *ActionEntryDesc

func (*EntryDesc) GetBridge

func (x *EntryDesc) GetBridge() *BridgeTableDesc

func (*EntryDesc) GetEntry

func (m *EntryDesc) GetEntry() isEntryDesc_Entry

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

func (*EntryDesc) Reset

func (x *EntryDesc) Reset()

func (*EntryDesc) String

func (x *EntryDesc) String() string

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
const (
	Event_EVENT_UNSPECIFIED Event = 0
	Event_EVENT_PORT        Event = 1
)

func (Event) Descriptor

func (Event) Descriptor() protoreflect.EnumDescriptor

func (Event) Enum

func (x Event) Enum() *Event

func (Event) EnumDescriptor deprecated

func (Event) EnumDescriptor() ([]byte, []int)

Deprecated: Use Event.Descriptor instead.

func (Event) Number

func (x Event) Number() protoreflect.EnumNumber

func (Event) String

func (x Event) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use EventDesc.ProtoReflect.Descriptor instead.

func (*EventDesc) GetDesc

func (m *EventDesc) GetDesc() isEventDesc_Desc

func (*EventDesc) GetEvent

func (x *EventDesc) GetEvent() Event

func (*EventDesc) GetPort

func (x *EventDesc) GetPort() *PortEventDesc

func (*EventDesc) GetSequenceNumber

func (x *EventDesc) GetSequenceNumber() uint64

func (*EventDesc) ProtoMessage

func (*EventDesc) ProtoMessage()

func (*EventDesc) ProtoReflect

func (x *EventDesc) ProtoReflect() protoreflect.Message

func (*EventDesc) Reset

func (x *EventDesc) Reset()

func (*EventDesc) String

func (x *EventDesc) String() string

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 (*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
const (
	InfoType_INFO_TYPE_UNSPECIFIED InfoType = 0
	InfoType_INFO_TYPE_ALL         InfoType = 1
	InfoType_INFO_TYPE_LOOKUP      InfoType = 2
	InfoType_INFO_TYPE_PORT_INPUT  InfoType = 3
	InfoType_INFO_TYPE_PORT_OUTPUT InfoType = 4
)

func (InfoType) Descriptor

func (InfoType) Descriptor() protoreflect.EnumDescriptor

func (InfoType) Enum

func (x InfoType) Enum() *InfoType

func (InfoType) EnumDescriptor deprecated

func (InfoType) EnumDescriptor() ([]byte, []int)

Deprecated: Use InfoType.Descriptor instead.

func (InfoType) Number

func (x InfoType) Number() protoreflect.EnumNumber

func (InfoType) String

func (x InfoType) String() string

func (InfoType) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use ObjectId.ProtoReflect.Descriptor instead.

func (*ObjectId) GetId

func (x *ObjectId) GetId() string

func (*ObjectId) ProtoMessage

func (*ObjectId) ProtoMessage()

func (*ObjectId) ProtoReflect

func (x *ObjectId) ProtoReflect() protoreflect.Message

func (*ObjectId) Reset

func (x *ObjectId) Reset()

func (*ObjectId) String

func (x *ObjectId) String() string

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) Enum

func (x PacketFieldNum) Enum() *PacketFieldNum

func (PacketFieldNum) EnumDescriptor deprecated

func (PacketFieldNum) EnumDescriptor() ([]byte, []int)

Deprecated: Use PacketFieldNum.Descriptor instead.

func (PacketFieldNum) Number

func (PacketFieldNum) String

func (x PacketFieldNum) String() string

func (PacketFieldNum) Type

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) Enum

func (PacketHeaderGroup) EnumDescriptor deprecated

func (PacketHeaderGroup) EnumDescriptor() ([]byte, []int)

Deprecated: Use PacketHeaderGroup.Descriptor instead.

func (PacketHeaderGroup) Number

func (PacketHeaderGroup) String

func (x PacketHeaderGroup) String() string

func (PacketHeaderGroup) Type

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) Enum

func (x PacketHeaderId) Enum() *PacketHeaderId

func (PacketHeaderId) EnumDescriptor deprecated

func (PacketHeaderId) EnumDescriptor() ([]byte, []int)

Deprecated: Use PacketHeaderId.Descriptor instead.

func (PacketHeaderId) Number

func (PacketHeaderId) String

func (x PacketHeaderId) String() string

func (PacketHeaderId) Type

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

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) Descriptor() ([]byte, []int)

Deprecated: Use PortDesc.ProtoReflect.Descriptor instead.

func (*PortDesc) GetCpu

func (x *PortDesc) GetCpu() *CPUPortDesc

func (*PortDesc) GetFake added in v0.4.0

func (x *PortDesc) GetFake() *FakePortDesc
func (x *PortDesc) GetGenetlink() *GenetlinkPortDesc

func (*PortDesc) GetKernel

func (x *PortDesc) GetKernel() *KernelPortDesc

func (*PortDesc) GetPort

func (m *PortDesc) GetPort() isPortDesc_Port

func (*PortDesc) GetPortId

func (x *PortDesc) GetPortId() *PortId

func (*PortDesc) GetPortType

func (x *PortDesc) GetPortType() PortType

func (*PortDesc) GetTap

func (x *PortDesc) GetTap() *TAPPortDesc

func (*PortDesc) ProtoMessage

func (*PortDesc) ProtoMessage()

func (*PortDesc) ProtoReflect

func (x *PortDesc) ProtoReflect() protoreflect.Message

func (*PortDesc) Reset

func (x *PortDesc) Reset()

func (*PortDesc) String

func (x *PortDesc) String() string

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 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) Descriptor() ([]byte, []int)

Deprecated: Use PortId.ProtoReflect.Descriptor instead.

func (*PortId) GetObjectId

func (x *PortId) GetObjectId() *ObjectId

func (*PortId) ProtoMessage

func (*PortId) ProtoMessage()

func (*PortId) ProtoReflect

func (x *PortId) ProtoReflect() protoreflect.Message

func (*PortId) Reset

func (x *PortId) Reset()

func (*PortId) String

func (x *PortId) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use PortInfo.ProtoReflect.Descriptor instead.

func (*PortInfo) GetAdminStatus added in v0.4.0

func (x *PortInfo) GetAdminStatus() PortState

func (*PortInfo) GetOperStatus added in v0.4.0

func (x *PortInfo) GetOperStatus() PortState

func (*PortInfo) GetSpeed

func (x *PortInfo) GetSpeed() *PortSpeed

func (*PortInfo) ProtoMessage

func (*PortInfo) ProtoMessage()

func (*PortInfo) ProtoReflect

func (x *PortInfo) ProtoReflect() protoreflect.Message

func (*PortInfo) Reset

func (x *PortInfo) Reset()

func (*PortInfo) String

func (x *PortInfo) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use PortSpeed.ProtoReflect.Descriptor instead.

func (*PortSpeed) GetBehavior

func (x *PortSpeed) GetBehavior() PortSpeedBehavior

func (*PortSpeed) GetKbps

func (x *PortSpeed) GetKbps() uint64

func (*PortSpeed) ProtoMessage

func (*PortSpeed) ProtoMessage()

func (*PortSpeed) ProtoReflect

func (x *PortSpeed) ProtoReflect() protoreflect.Message

func (*PortSpeed) Reset

func (x *PortSpeed) Reset()

func (*PortSpeed) String

func (x *PortSpeed) String() string

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) Enum

func (PortSpeedBehavior) EnumDescriptor deprecated

func (PortSpeedBehavior) EnumDescriptor() ([]byte, []int)

Deprecated: Use PortSpeedBehavior.Descriptor instead.

func (PortSpeedBehavior) Number

func (PortSpeedBehavior) String

func (x PortSpeedBehavior) String() string

func (PortSpeedBehavior) Type

type PortState added in v0.4.0

type PortState int32
const (
	PortState_PORT_STATE_UNSPECIFIED   PortState = 0
	PortState_PORT_STATE_ENABLED_UP    PortState = 2
	PortState_PORT_STATE_DISABLED_DOWN PortState = 3
)

func (PortState) Descriptor added in v0.4.0

func (PortState) Descriptor() protoreflect.EnumDescriptor

func (PortState) Enum added in v0.4.0

func (x PortState) Enum() *PortState

func (PortState) EnumDescriptor deprecated added in v0.4.0

func (PortState) EnumDescriptor() ([]byte, []int)

Deprecated: Use PortState.Descriptor instead.

func (PortState) Number added in v0.4.0

func (x PortState) Number() protoreflect.EnumNumber

func (PortState) String added in v0.4.0

func (x PortState) String() string

func (PortState) Type added in v0.4.0

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
const (
	PortType_PORT_TYPE_UNSPECIFIED    PortType = 0
	PortType_PORT_TYPE_CPU_PORT       PortType = 1
	PortType_PORT_TYPE_AGGREGATE_PORT PortType = 2
	PortType_PORT_TYPE_KERNEL         PortType = 3
	PortType_PORT_TYPE_TAP            PortType = 4
	PortType_PORT_TYPE_FAKE           PortType = 5
	PortType_PORT_TYPE_GENETLINK      PortType = 6
)

func (PortType) Descriptor

func (PortType) Descriptor() protoreflect.EnumDescriptor

func (PortType) Enum

func (x PortType) Enum() *PortType

func (PortType) EnumDescriptor deprecated

func (PortType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PortType.Descriptor instead.

func (PortType) Number

func (x PortType) Number() protoreflect.EnumNumber

func (PortType) String

func (x PortType) String() string

func (PortType) Type

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 (*PortUpdateDesc) GetCpu

func (x *PortUpdateDesc) GetCpu() *CPUPortUpdateDesc
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 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 (*SelectActionListActionDesc) ProtoMessage

func (*SelectActionListActionDesc) ProtoMessage()

func (*SelectActionListActionDesc) ProtoReflect

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) Enum

func (SelectActionListActionDesc_SelectAlgorithm) EnumDescriptor deprecated

func (SelectActionListActionDesc_SelectAlgorithm) EnumDescriptor() ([]byte, []int)

Deprecated: Use SelectActionListActionDesc_SelectAlgorithm.Descriptor instead.

func (SelectActionListActionDesc_SelectAlgorithm) Number

func (SelectActionListActionDesc_SelectAlgorithm) String

func (SelectActionListActionDesc_SelectAlgorithm) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use SetId.ProtoReflect.Descriptor instead.

func (*SetId) GetObjectId

func (x *SetId) GetObjectId() *ObjectId

func (*SetId) ProtoMessage

func (*SetId) ProtoMessage()

func (*SetId) ProtoReflect

func (x *SetId) ProtoReflect() protoreflect.Message

func (*SetId) Reset

func (x *SetId) Reset()

func (*SetId) String

func (x *SetId) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use TableDesc.ProtoReflect.Descriptor instead.

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) GetTable

func (m *TableDesc) GetTable() isTableDesc_Table

func (*TableDesc) GetTableId

func (x *TableDesc) GetTableId() *TableId

func (*TableDesc) GetTableType

func (x *TableDesc) GetTableType() TableType

func (*TableDesc) ProtoMessage

func (*TableDesc) ProtoMessage()

func (*TableDesc) ProtoReflect

func (x *TableDesc) ProtoReflect() protoreflect.Message

func (*TableDesc) Reset

func (x *TableDesc) Reset()

func (*TableDesc) String

func (x *TableDesc) String() string

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 (*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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use TableId.ProtoReflect.Descriptor instead.

func (*TableId) GetObjectId

func (x *TableId) GetObjectId() *ObjectId

func (*TableId) ProtoMessage

func (*TableId) ProtoMessage()

func (*TableId) ProtoReflect

func (x *TableId) ProtoReflect() protoreflect.Message

func (*TableId) Reset

func (x *TableId) Reset()

func (*TableId) String

func (x *TableId) String() string

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
const (
	TableType_TABLE_TYPE_UNSPECIFIED TableType = 0
	TableType_TABLE_TYPE_EXACT       TableType = 1
	TableType_TABLE_TYPE_PREFIX      TableType = 2
	TableType_TABLE_TYPE_FLOW        TableType = 3
	TableType_TABLE_TYPE_BRIDGE      TableType = 4
	TableType_TABLE_TYPE_ACTION      TableType = 5
)

func (TableType) Descriptor

func (TableType) Descriptor() protoreflect.EnumDescriptor

func (TableType) Enum

func (x TableType) Enum() *TableType

func (TableType) EnumDescriptor deprecated

func (TableType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TableType.Descriptor instead.

func (TableType) Number

func (x TableType) Number() protoreflect.EnumNumber

func (TableType) String

func (x TableType) String() string

func (TableType) Type

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) AttributeQuery added in v0.4.0

func (*UnimplementedForwardingServer) AttributeUpdate added in v0.4.0

func (*UnimplementedForwardingServer) ContextCreate added in v0.4.0

func (*UnimplementedForwardingServer) ContextDelete added in v0.4.0

func (*UnimplementedForwardingServer) ContextList added in v0.4.0

func (*UnimplementedForwardingServer) FlowCounterCreate added in v0.4.0

func (*UnimplementedForwardingServer) FlowCounterQuery added in v0.4.0

func (*UnimplementedForwardingServer) NotifySubscribe added in v0.4.0

func (*UnimplementedForwardingServer) ObjectCounters added in v0.4.0

func (*UnimplementedForwardingServer) ObjectDelete added in v0.4.0

func (*UnimplementedForwardingServer) ObjectList added in v0.4.0

func (*UnimplementedForwardingServer) ObjectNID added in v0.4.0

func (*UnimplementedForwardingServer) Operation added in v0.4.0

func (*UnimplementedForwardingServer) PacketInject added in v0.4.0

func (*UnimplementedForwardingServer) PacketSinkSubscribe added in v0.4.0

func (*UnimplementedForwardingServer) PortCreate added in v0.4.0

func (*UnimplementedForwardingServer) PortState added in v0.4.0

func (*UnimplementedForwardingServer) PortUpdate added in v0.4.0

func (*UnimplementedForwardingServer) SetCreate added in v0.4.0

func (*UnimplementedForwardingServer) SetUpdate added in v0.4.0

func (*UnimplementedForwardingServer) TableCreate added in v0.4.0

func (*UnimplementedForwardingServer) TableEntryAdd added in v0.4.0

func (*UnimplementedForwardingServer) TableEntryRemove added in v0.4.0

func (*UnimplementedForwardingServer) TableList added in v0.4.0

type UnimplementedInfoServer

type UnimplementedInfoServer struct {
}

UnimplementedInfoServer can be embedded to have forward compatible implementations.

func (*UnimplementedInfoServer) InfoElement

func (*UnimplementedInfoServer) InfoList

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL