openflow_13

package
v5.7.4 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OfpPortNo_name = map[int32]string{
		0:          "OFPP_INVALID",
		2147483392: "OFPP_MAX",
		2147483640: "OFPP_IN_PORT",
		2147483641: "OFPP_TABLE",
		2147483642: "OFPP_NORMAL",
		2147483643: "OFPP_FLOOD",
		2147483644: "OFPP_ALL",
		2147483645: "OFPP_CONTROLLER",
		2147483646: "OFPP_LOCAL",
		2147483647: "OFPP_ANY",
	}
	OfpPortNo_value = map[string]int32{
		"OFPP_INVALID":    0,
		"OFPP_MAX":        2147483392,
		"OFPP_IN_PORT":    2147483640,
		"OFPP_TABLE":      2147483641,
		"OFPP_NORMAL":     2147483642,
		"OFPP_FLOOD":      2147483643,
		"OFPP_ALL":        2147483644,
		"OFPP_CONTROLLER": 2147483645,
		"OFPP_LOCAL":      2147483646,
		"OFPP_ANY":        2147483647,
	}
)

Enum value maps for OfpPortNo.

View Source
var (
	OfpType_name = map[int32]string{
		0:  "OFPT_HELLO",
		1:  "OFPT_ERROR",
		2:  "OFPT_ECHO_REQUEST",
		3:  "OFPT_ECHO_REPLY",
		4:  "OFPT_EXPERIMENTER",
		5:  "OFPT_FEATURES_REQUEST",
		6:  "OFPT_FEATURES_REPLY",
		7:  "OFPT_GET_CONFIG_REQUEST",
		8:  "OFPT_GET_CONFIG_REPLY",
		9:  "OFPT_SET_CONFIG",
		10: "OFPT_PACKET_IN",
		11: "OFPT_FLOW_REMOVED",
		12: "OFPT_PORT_STATUS",
		13: "OFPT_PACKET_OUT",
		14: "OFPT_FLOW_MOD",
		15: "OFPT_GROUP_MOD",
		16: "OFPT_PORT_MOD",
		17: "OFPT_TABLE_MOD",
		18: "OFPT_MULTIPART_REQUEST",
		19: "OFPT_MULTIPART_REPLY",
		20: "OFPT_BARRIER_REQUEST",
		21: "OFPT_BARRIER_REPLY",
		22: "OFPT_QUEUE_GET_CONFIG_REQUEST",
		23: "OFPT_QUEUE_GET_CONFIG_REPLY",
		24: "OFPT_ROLE_REQUEST",
		25: "OFPT_ROLE_REPLY",
		26: "OFPT_GET_ASYNC_REQUEST",
		27: "OFPT_GET_ASYNC_REPLY",
		28: "OFPT_SET_ASYNC",
		29: "OFPT_METER_MOD",
	}
	OfpType_value = map[string]int32{
		"OFPT_HELLO":                    0,
		"OFPT_ERROR":                    1,
		"OFPT_ECHO_REQUEST":             2,
		"OFPT_ECHO_REPLY":               3,
		"OFPT_EXPERIMENTER":             4,
		"OFPT_FEATURES_REQUEST":         5,
		"OFPT_FEATURES_REPLY":           6,
		"OFPT_GET_CONFIG_REQUEST":       7,
		"OFPT_GET_CONFIG_REPLY":         8,
		"OFPT_SET_CONFIG":               9,
		"OFPT_PACKET_IN":                10,
		"OFPT_FLOW_REMOVED":             11,
		"OFPT_PORT_STATUS":              12,
		"OFPT_PACKET_OUT":               13,
		"OFPT_FLOW_MOD":                 14,
		"OFPT_GROUP_MOD":                15,
		"OFPT_PORT_MOD":                 16,
		"OFPT_TABLE_MOD":                17,
		"OFPT_MULTIPART_REQUEST":        18,
		"OFPT_MULTIPART_REPLY":          19,
		"OFPT_BARRIER_REQUEST":          20,
		"OFPT_BARRIER_REPLY":            21,
		"OFPT_QUEUE_GET_CONFIG_REQUEST": 22,
		"OFPT_QUEUE_GET_CONFIG_REPLY":   23,
		"OFPT_ROLE_REQUEST":             24,
		"OFPT_ROLE_REPLY":               25,
		"OFPT_GET_ASYNC_REQUEST":        26,
		"OFPT_GET_ASYNC_REPLY":          27,
		"OFPT_SET_ASYNC":                28,
		"OFPT_METER_MOD":                29,
	}
)

Enum value maps for OfpType.

View Source
var (
	OfpHelloElemType_name = map[int32]string{
		0: "OFPHET_INVALID",
		1: "OFPHET_VERSIONBITMAP",
	}
	OfpHelloElemType_value = map[string]int32{
		"OFPHET_INVALID":       0,
		"OFPHET_VERSIONBITMAP": 1,
	}
)

Enum value maps for OfpHelloElemType.

View Source
var (
	OfpConfigFlags_name = map[int32]string{
		0: "OFPC_FRAG_NORMAL",
		1: "OFPC_FRAG_DROP",
		2: "OFPC_FRAG_REASM",
		3: "OFPC_FRAG_MASK",
	}
	OfpConfigFlags_value = map[string]int32{
		"OFPC_FRAG_NORMAL": 0,
		"OFPC_FRAG_DROP":   1,
		"OFPC_FRAG_REASM":  2,
		"OFPC_FRAG_MASK":   3,
	}
)

Enum value maps for OfpConfigFlags.

View Source
var (
	OfpTableConfig_name = map[int32]string{
		0: "OFPTC_INVALID",
		3: "OFPTC_DEPRECATED_MASK",
	}
	OfpTableConfig_value = map[string]int32{
		"OFPTC_INVALID":         0,
		"OFPTC_DEPRECATED_MASK": 3,
	}
)

Enum value maps for OfpTableConfig.

View Source
var (
	OfpTable_name = map[int32]string{
		0:   "OFPTT_INVALID",
		254: "OFPTT_MAX",
		255: "OFPTT_ALL",
	}
	OfpTable_value = map[string]int32{
		"OFPTT_INVALID": 0,
		"OFPTT_MAX":     254,
		"OFPTT_ALL":     255,
	}
)

Enum value maps for OfpTable.

View Source
var (
	OfpCapabilities_name = map[int32]string{
		0:   "OFPC_INVALID",
		1:   "OFPC_FLOW_STATS",
		2:   "OFPC_TABLE_STATS",
		4:   "OFPC_PORT_STATS",
		8:   "OFPC_GROUP_STATS",
		32:  "OFPC_IP_REASM",
		64:  "OFPC_QUEUE_STATS",
		256: "OFPC_PORT_BLOCKED",
	}
	OfpCapabilities_value = map[string]int32{
		"OFPC_INVALID":      0,
		"OFPC_FLOW_STATS":   1,
		"OFPC_TABLE_STATS":  2,
		"OFPC_PORT_STATS":   4,
		"OFPC_GROUP_STATS":  8,
		"OFPC_IP_REASM":     32,
		"OFPC_QUEUE_STATS":  64,
		"OFPC_PORT_BLOCKED": 256,
	}
)

Enum value maps for OfpCapabilities.

View Source
var (
	OfpPortConfig_name = map[int32]string{
		0:  "OFPPC_INVALID",
		1:  "OFPPC_PORT_DOWN",
		4:  "OFPPC_NO_RECV",
		32: "OFPPC_NO_FWD",
		64: "OFPPC_NO_PACKET_IN",
	}
	OfpPortConfig_value = map[string]int32{
		"OFPPC_INVALID":      0,
		"OFPPC_PORT_DOWN":    1,
		"OFPPC_NO_RECV":      4,
		"OFPPC_NO_FWD":       32,
		"OFPPC_NO_PACKET_IN": 64,
	}
)

Enum value maps for OfpPortConfig.

View Source
var (
	OfpPortState_name = map[int32]string{
		0: "OFPPS_INVALID",
		1: "OFPPS_LINK_DOWN",
		2: "OFPPS_BLOCKED",
		4: "OFPPS_LIVE",
	}
	OfpPortState_value = map[string]int32{
		"OFPPS_INVALID":   0,
		"OFPPS_LINK_DOWN": 1,
		"OFPPS_BLOCKED":   2,
		"OFPPS_LIVE":      4,
	}
)

Enum value maps for OfpPortState.

View Source
var (
	OfpPortFeatures_name = map[int32]string{
		0:     "OFPPF_INVALID",
		1:     "OFPPF_10MB_HD",
		2:     "OFPPF_10MB_FD",
		4:     "OFPPF_100MB_HD",
		8:     "OFPPF_100MB_FD",
		16:    "OFPPF_1GB_HD",
		32:    "OFPPF_1GB_FD",
		64:    "OFPPF_10GB_FD",
		128:   "OFPPF_40GB_FD",
		256:   "OFPPF_100GB_FD",
		512:   "OFPPF_1TB_FD",
		1024:  "OFPPF_OTHER",
		2048:  "OFPPF_COPPER",
		4096:  "OFPPF_FIBER",
		8192:  "OFPPF_AUTONEG",
		16384: "OFPPF_PAUSE",
		32768: "OFPPF_PAUSE_ASYM",
	}
	OfpPortFeatures_value = map[string]int32{
		"OFPPF_INVALID":    0,
		"OFPPF_10MB_HD":    1,
		"OFPPF_10MB_FD":    2,
		"OFPPF_100MB_HD":   4,
		"OFPPF_100MB_FD":   8,
		"OFPPF_1GB_HD":     16,
		"OFPPF_1GB_FD":     32,
		"OFPPF_10GB_FD":    64,
		"OFPPF_40GB_FD":    128,
		"OFPPF_100GB_FD":   256,
		"OFPPF_1TB_FD":     512,
		"OFPPF_OTHER":      1024,
		"OFPPF_COPPER":     2048,
		"OFPPF_FIBER":      4096,
		"OFPPF_AUTONEG":    8192,
		"OFPPF_PAUSE":      16384,
		"OFPPF_PAUSE_ASYM": 32768,
	}
)

Enum value maps for OfpPortFeatures.

View Source
var (
	OfpPortReason_name = map[int32]string{
		0: "OFPPR_ADD",
		1: "OFPPR_DELETE",
		2: "OFPPR_MODIFY",
	}
	OfpPortReason_value = map[string]int32{
		"OFPPR_ADD":    0,
		"OFPPR_DELETE": 1,
		"OFPPR_MODIFY": 2,
	}
)

Enum value maps for OfpPortReason.

View Source
var (
	OfpDeviceConnection_name = map[int32]string{
		0: "OFPDEV_CONNECTED",
		1: "OFPDEV_DISCONNECTED",
	}
	OfpDeviceConnection_value = map[string]int32{
		"OFPDEV_CONNECTED":    0,
		"OFPDEV_DISCONNECTED": 1,
	}
)

Enum value maps for OfpDeviceConnection.

View Source
var (
	OfpMatchType_name = map[int32]string{
		0: "OFPMT_STANDARD",
		1: "OFPMT_OXM",
	}
	OfpMatchType_value = map[string]int32{
		"OFPMT_STANDARD": 0,
		"OFPMT_OXM":      1,
	}
)

Enum value maps for OfpMatchType.

View Source
var (
	OfpOxmClass_name = map[int32]string{
		0:     "OFPXMC_NXM_0",
		1:     "OFPXMC_NXM_1",
		32768: "OFPXMC_OPENFLOW_BASIC",
		65535: "OFPXMC_EXPERIMENTER",
	}
	OfpOxmClass_value = map[string]int32{
		"OFPXMC_NXM_0":          0,
		"OFPXMC_NXM_1":          1,
		"OFPXMC_OPENFLOW_BASIC": 32768,
		"OFPXMC_EXPERIMENTER":   65535,
	}
)

Enum value maps for OfpOxmClass.

View Source
var (
	OxmOfbFieldTypes_name = map[int32]string{
		0:  "OFPXMT_OFB_IN_PORT",
		1:  "OFPXMT_OFB_IN_PHY_PORT",
		2:  "OFPXMT_OFB_METADATA",
		3:  "OFPXMT_OFB_ETH_DST",
		4:  "OFPXMT_OFB_ETH_SRC",
		5:  "OFPXMT_OFB_ETH_TYPE",
		6:  "OFPXMT_OFB_VLAN_VID",
		7:  "OFPXMT_OFB_VLAN_PCP",
		8:  "OFPXMT_OFB_IP_DSCP",
		9:  "OFPXMT_OFB_IP_ECN",
		10: "OFPXMT_OFB_IP_PROTO",
		11: "OFPXMT_OFB_IPV4_SRC",
		12: "OFPXMT_OFB_IPV4_DST",
		13: "OFPXMT_OFB_TCP_SRC",
		14: "OFPXMT_OFB_TCP_DST",
		15: "OFPXMT_OFB_UDP_SRC",
		16: "OFPXMT_OFB_UDP_DST",
		17: "OFPXMT_OFB_SCTP_SRC",
		18: "OFPXMT_OFB_SCTP_DST",
		19: "OFPXMT_OFB_ICMPV4_TYPE",
		20: "OFPXMT_OFB_ICMPV4_CODE",
		21: "OFPXMT_OFB_ARP_OP",
		22: "OFPXMT_OFB_ARP_SPA",
		23: "OFPXMT_OFB_ARP_TPA",
		24: "OFPXMT_OFB_ARP_SHA",
		25: "OFPXMT_OFB_ARP_THA",
		26: "OFPXMT_OFB_IPV6_SRC",
		27: "OFPXMT_OFB_IPV6_DST",
		28: "OFPXMT_OFB_IPV6_FLABEL",
		29: "OFPXMT_OFB_ICMPV6_TYPE",
		30: "OFPXMT_OFB_ICMPV6_CODE",
		31: "OFPXMT_OFB_IPV6_ND_TARGET",
		32: "OFPXMT_OFB_IPV6_ND_SLL",
		33: "OFPXMT_OFB_IPV6_ND_TLL",
		34: "OFPXMT_OFB_MPLS_LABEL",
		35: "OFPXMT_OFB_MPLS_TC",
		36: "OFPXMT_OFB_MPLS_BOS",
		37: "OFPXMT_OFB_PBB_ISID",
		38: "OFPXMT_OFB_TUNNEL_ID",
		39: "OFPXMT_OFB_IPV6_EXTHDR",
	}
	OxmOfbFieldTypes_value = map[string]int32{
		"OFPXMT_OFB_IN_PORT":        0,
		"OFPXMT_OFB_IN_PHY_PORT":    1,
		"OFPXMT_OFB_METADATA":       2,
		"OFPXMT_OFB_ETH_DST":        3,
		"OFPXMT_OFB_ETH_SRC":        4,
		"OFPXMT_OFB_ETH_TYPE":       5,
		"OFPXMT_OFB_VLAN_VID":       6,
		"OFPXMT_OFB_VLAN_PCP":       7,
		"OFPXMT_OFB_IP_DSCP":        8,
		"OFPXMT_OFB_IP_ECN":         9,
		"OFPXMT_OFB_IP_PROTO":       10,
		"OFPXMT_OFB_IPV4_SRC":       11,
		"OFPXMT_OFB_IPV4_DST":       12,
		"OFPXMT_OFB_TCP_SRC":        13,
		"OFPXMT_OFB_TCP_DST":        14,
		"OFPXMT_OFB_UDP_SRC":        15,
		"OFPXMT_OFB_UDP_DST":        16,
		"OFPXMT_OFB_SCTP_SRC":       17,
		"OFPXMT_OFB_SCTP_DST":       18,
		"OFPXMT_OFB_ICMPV4_TYPE":    19,
		"OFPXMT_OFB_ICMPV4_CODE":    20,
		"OFPXMT_OFB_ARP_OP":         21,
		"OFPXMT_OFB_ARP_SPA":        22,
		"OFPXMT_OFB_ARP_TPA":        23,
		"OFPXMT_OFB_ARP_SHA":        24,
		"OFPXMT_OFB_ARP_THA":        25,
		"OFPXMT_OFB_IPV6_SRC":       26,
		"OFPXMT_OFB_IPV6_DST":       27,
		"OFPXMT_OFB_IPV6_FLABEL":    28,
		"OFPXMT_OFB_ICMPV6_TYPE":    29,
		"OFPXMT_OFB_ICMPV6_CODE":    30,
		"OFPXMT_OFB_IPV6_ND_TARGET": 31,
		"OFPXMT_OFB_IPV6_ND_SLL":    32,
		"OFPXMT_OFB_IPV6_ND_TLL":    33,
		"OFPXMT_OFB_MPLS_LABEL":     34,
		"OFPXMT_OFB_MPLS_TC":        35,
		"OFPXMT_OFB_MPLS_BOS":       36,
		"OFPXMT_OFB_PBB_ISID":       37,
		"OFPXMT_OFB_TUNNEL_ID":      38,
		"OFPXMT_OFB_IPV6_EXTHDR":    39,
	}
)

Enum value maps for OxmOfbFieldTypes.

View Source
var (
	OfpVlanId_name = map[int32]string{
		0:    "OFPVID_NONE",
		4096: "OFPVID_PRESENT",
	}
	OfpVlanId_value = map[string]int32{
		"OFPVID_NONE":    0,
		"OFPVID_PRESENT": 4096,
	}
)

Enum value maps for OfpVlanId.

View Source
var (
	OfpIpv6ExthdrFlags_name = map[int32]string{
		0:   "OFPIEH_INVALID",
		1:   "OFPIEH_NONEXT",
		2:   "OFPIEH_ESP",
		4:   "OFPIEH_AUTH",
		8:   "OFPIEH_DEST",
		16:  "OFPIEH_FRAG",
		32:  "OFPIEH_ROUTER",
		64:  "OFPIEH_HOP",
		128: "OFPIEH_UNREP",
		256: "OFPIEH_UNSEQ",
	}
	OfpIpv6ExthdrFlags_value = map[string]int32{
		"OFPIEH_INVALID": 0,
		"OFPIEH_NONEXT":  1,
		"OFPIEH_ESP":     2,
		"OFPIEH_AUTH":    4,
		"OFPIEH_DEST":    8,
		"OFPIEH_FRAG":    16,
		"OFPIEH_ROUTER":  32,
		"OFPIEH_HOP":     64,
		"OFPIEH_UNREP":   128,
		"OFPIEH_UNSEQ":   256,
	}
)

Enum value maps for OfpIpv6ExthdrFlags.

View Source
var (
	OfpActionType_name = map[int32]string{
		0:     "OFPAT_OUTPUT",
		11:    "OFPAT_COPY_TTL_OUT",
		12:    "OFPAT_COPY_TTL_IN",
		15:    "OFPAT_SET_MPLS_TTL",
		16:    "OFPAT_DEC_MPLS_TTL",
		17:    "OFPAT_PUSH_VLAN",
		18:    "OFPAT_POP_VLAN",
		19:    "OFPAT_PUSH_MPLS",
		20:    "OFPAT_POP_MPLS",
		21:    "OFPAT_SET_QUEUE",
		22:    "OFPAT_GROUP",
		23:    "OFPAT_SET_NW_TTL",
		24:    "OFPAT_DEC_NW_TTL",
		25:    "OFPAT_SET_FIELD",
		26:    "OFPAT_PUSH_PBB",
		27:    "OFPAT_POP_PBB",
		65535: "OFPAT_EXPERIMENTER",
	}
	OfpActionType_value = map[string]int32{
		"OFPAT_OUTPUT":       0,
		"OFPAT_COPY_TTL_OUT": 11,
		"OFPAT_COPY_TTL_IN":  12,
		"OFPAT_SET_MPLS_TTL": 15,
		"OFPAT_DEC_MPLS_TTL": 16,
		"OFPAT_PUSH_VLAN":    17,
		"OFPAT_POP_VLAN":     18,
		"OFPAT_PUSH_MPLS":    19,
		"OFPAT_POP_MPLS":     20,
		"OFPAT_SET_QUEUE":    21,
		"OFPAT_GROUP":        22,
		"OFPAT_SET_NW_TTL":   23,
		"OFPAT_DEC_NW_TTL":   24,
		"OFPAT_SET_FIELD":    25,
		"OFPAT_PUSH_PBB":     26,
		"OFPAT_POP_PBB":      27,
		"OFPAT_EXPERIMENTER": 65535,
	}
)

Enum value maps for OfpActionType.

View Source
var (
	OfpControllerMaxLen_name = map[int32]string{
		0:     "OFPCML_INVALID",
		65509: "OFPCML_MAX",
		65535: "OFPCML_NO_BUFFER",
	}
	OfpControllerMaxLen_value = map[string]int32{
		"OFPCML_INVALID":   0,
		"OFPCML_MAX":       65509,
		"OFPCML_NO_BUFFER": 65535,
	}
)

Enum value maps for OfpControllerMaxLen.

View Source
var (
	OfpInstructionType_name = map[int32]string{
		0:     "OFPIT_INVALID",
		1:     "OFPIT_GOTO_TABLE",
		2:     "OFPIT_WRITE_METADATA",
		3:     "OFPIT_WRITE_ACTIONS",
		4:     "OFPIT_APPLY_ACTIONS",
		5:     "OFPIT_CLEAR_ACTIONS",
		6:     "OFPIT_METER",
		65535: "OFPIT_EXPERIMENTER",
	}
	OfpInstructionType_value = map[string]int32{
		"OFPIT_INVALID":        0,
		"OFPIT_GOTO_TABLE":     1,
		"OFPIT_WRITE_METADATA": 2,
		"OFPIT_WRITE_ACTIONS":  3,
		"OFPIT_APPLY_ACTIONS":  4,
		"OFPIT_CLEAR_ACTIONS":  5,
		"OFPIT_METER":          6,
		"OFPIT_EXPERIMENTER":   65535,
	}
)

Enum value maps for OfpInstructionType.

View Source
var (
	OfpFlowModCommand_name = map[int32]string{
		0: "OFPFC_ADD",
		1: "OFPFC_MODIFY",
		2: "OFPFC_MODIFY_STRICT",
		3: "OFPFC_DELETE",
		4: "OFPFC_DELETE_STRICT",
	}
	OfpFlowModCommand_value = map[string]int32{
		"OFPFC_ADD":           0,
		"OFPFC_MODIFY":        1,
		"OFPFC_MODIFY_STRICT": 2,
		"OFPFC_DELETE":        3,
		"OFPFC_DELETE_STRICT": 4,
	}
)

Enum value maps for OfpFlowModCommand.

View Source
var (
	OfpFlowModFlags_name = map[int32]string{
		0:  "OFPFF_INVALID",
		1:  "OFPFF_SEND_FLOW_REM",
		2:  "OFPFF_CHECK_OVERLAP",
		4:  "OFPFF_RESET_COUNTS",
		8:  "OFPFF_NO_PKT_COUNTS",
		16: "OFPFF_NO_BYT_COUNTS",
	}
	OfpFlowModFlags_value = map[string]int32{
		"OFPFF_INVALID":       0,
		"OFPFF_SEND_FLOW_REM": 1,
		"OFPFF_CHECK_OVERLAP": 2,
		"OFPFF_RESET_COUNTS":  4,
		"OFPFF_NO_PKT_COUNTS": 8,
		"OFPFF_NO_BYT_COUNTS": 16,
	}
)

Enum value maps for OfpFlowModFlags.

View Source
var (
	OfpGroup_name = map[int32]string{
		0:          "OFPG_INVALID",
		2147483392: "OFPG_MAX",
		2147483644: "OFPG_ALL",
		2147483647: "OFPG_ANY",
	}
	OfpGroup_value = map[string]int32{
		"OFPG_INVALID": 0,
		"OFPG_MAX":     2147483392,
		"OFPG_ALL":     2147483644,
		"OFPG_ANY":     2147483647,
	}
)

Enum value maps for OfpGroup.

View Source
var (
	OfpGroupModCommand_name = map[int32]string{
		0: "OFPGC_ADD",
		1: "OFPGC_MODIFY",
		2: "OFPGC_DELETE",
	}
	OfpGroupModCommand_value = map[string]int32{
		"OFPGC_ADD":    0,
		"OFPGC_MODIFY": 1,
		"OFPGC_DELETE": 2,
	}
)

Enum value maps for OfpGroupModCommand.

View Source
var (
	OfpGroupType_name = map[int32]string{
		0: "OFPGT_ALL",
		1: "OFPGT_SELECT",
		2: "OFPGT_INDIRECT",
		3: "OFPGT_FF",
	}
	OfpGroupType_value = map[string]int32{
		"OFPGT_ALL":      0,
		"OFPGT_SELECT":   1,
		"OFPGT_INDIRECT": 2,
		"OFPGT_FF":       3,
	}
)

Enum value maps for OfpGroupType.

View Source
var (
	OfpPacketInReason_name = map[int32]string{
		0: "OFPR_NO_MATCH",
		1: "OFPR_ACTION",
		2: "OFPR_INVALID_TTL",
	}
	OfpPacketInReason_value = map[string]int32{
		"OFPR_NO_MATCH":    0,
		"OFPR_ACTION":      1,
		"OFPR_INVALID_TTL": 2,
	}
)

Enum value maps for OfpPacketInReason.

View Source
var (
	OfpFlowRemovedReason_name = map[int32]string{
		0: "OFPRR_IDLE_TIMEOUT",
		1: "OFPRR_HARD_TIMEOUT",
		2: "OFPRR_DELETE",
		3: "OFPRR_GROUP_DELETE",
		4: "OFPRR_METER_DELETE",
	}
	OfpFlowRemovedReason_value = map[string]int32{
		"OFPRR_IDLE_TIMEOUT": 0,
		"OFPRR_HARD_TIMEOUT": 1,
		"OFPRR_DELETE":       2,
		"OFPRR_GROUP_DELETE": 3,
		"OFPRR_METER_DELETE": 4,
	}
)

Enum value maps for OfpFlowRemovedReason.

View Source
var (
	OfpMeter_name = map[int32]string{
		0:          "OFPM_ZERO",
		2147418112: "OFPM_MAX",
		2147483645: "OFPM_SLOWPATH",
		2147483646: "OFPM_CONTROLLER",
		2147483647: "OFPM_ALL",
	}
	OfpMeter_value = map[string]int32{
		"OFPM_ZERO":       0,
		"OFPM_MAX":        2147418112,
		"OFPM_SLOWPATH":   2147483645,
		"OFPM_CONTROLLER": 2147483646,
		"OFPM_ALL":        2147483647,
	}
)

Enum value maps for OfpMeter.

View Source
var (
	OfpMeterBandType_name = map[int32]string{
		0:     "OFPMBT_INVALID",
		1:     "OFPMBT_DROP",
		2:     "OFPMBT_DSCP_REMARK",
		65535: "OFPMBT_EXPERIMENTER",
	}
	OfpMeterBandType_value = map[string]int32{
		"OFPMBT_INVALID":      0,
		"OFPMBT_DROP":         1,
		"OFPMBT_DSCP_REMARK":  2,
		"OFPMBT_EXPERIMENTER": 65535,
	}
)

Enum value maps for OfpMeterBandType.

View Source
var (
	OfpMeterModCommand_name = map[int32]string{
		0: "OFPMC_ADD",
		1: "OFPMC_MODIFY",
		2: "OFPMC_DELETE",
	}
	OfpMeterModCommand_value = map[string]int32{
		"OFPMC_ADD":    0,
		"OFPMC_MODIFY": 1,
		"OFPMC_DELETE": 2,
	}
)

Enum value maps for OfpMeterModCommand.

View Source
var (
	OfpMeterFlags_name = map[int32]string{
		0: "OFPMF_INVALID",
		1: "OFPMF_KBPS",
		2: "OFPMF_PKTPS",
		4: "OFPMF_BURST",
		8: "OFPMF_STATS",
	}
	OfpMeterFlags_value = map[string]int32{
		"OFPMF_INVALID": 0,
		"OFPMF_KBPS":    1,
		"OFPMF_PKTPS":   2,
		"OFPMF_BURST":   4,
		"OFPMF_STATS":   8,
	}
)

Enum value maps for OfpMeterFlags.

View Source
var (
	OfpErrorType_name = map[int32]string{
		0:     "OFPET_HELLO_FAILED",
		1:     "OFPET_BAD_REQUEST",
		2:     "OFPET_BAD_ACTION",
		3:     "OFPET_BAD_INSTRUCTION",
		4:     "OFPET_BAD_MATCH",
		5:     "OFPET_FLOW_MOD_FAILED",
		6:     "OFPET_GROUP_MOD_FAILED",
		7:     "OFPET_PORT_MOD_FAILED",
		8:     "OFPET_TABLE_MOD_FAILED",
		9:     "OFPET_QUEUE_OP_FAILED",
		10:    "OFPET_SWITCH_CONFIG_FAILED",
		11:    "OFPET_ROLE_REQUEST_FAILED",
		12:    "OFPET_METER_MOD_FAILED",
		13:    "OFPET_TABLE_FEATURES_FAILED",
		65535: "OFPET_EXPERIMENTER",
	}
	OfpErrorType_value = map[string]int32{
		"OFPET_HELLO_FAILED":          0,
		"OFPET_BAD_REQUEST":           1,
		"OFPET_BAD_ACTION":            2,
		"OFPET_BAD_INSTRUCTION":       3,
		"OFPET_BAD_MATCH":             4,
		"OFPET_FLOW_MOD_FAILED":       5,
		"OFPET_GROUP_MOD_FAILED":      6,
		"OFPET_PORT_MOD_FAILED":       7,
		"OFPET_TABLE_MOD_FAILED":      8,
		"OFPET_QUEUE_OP_FAILED":       9,
		"OFPET_SWITCH_CONFIG_FAILED":  10,
		"OFPET_ROLE_REQUEST_FAILED":   11,
		"OFPET_METER_MOD_FAILED":      12,
		"OFPET_TABLE_FEATURES_FAILED": 13,
		"OFPET_EXPERIMENTER":          65535,
	}
)

Enum value maps for OfpErrorType.

View Source
var (
	OfpHelloFailedCode_name = map[int32]string{
		0: "OFPHFC_INCOMPATIBLE",
		1: "OFPHFC_EPERM",
	}
	OfpHelloFailedCode_value = map[string]int32{
		"OFPHFC_INCOMPATIBLE": 0,
		"OFPHFC_EPERM":        1,
	}
)

Enum value maps for OfpHelloFailedCode.

View Source
var (
	OfpBadRequestCode_name = map[int32]string{
		0:  "OFPBRC_BAD_VERSION",
		1:  "OFPBRC_BAD_TYPE",
		2:  "OFPBRC_BAD_MULTIPART",
		3:  "OFPBRC_BAD_EXPERIMENTER",
		4:  "OFPBRC_BAD_EXP_TYPE",
		5:  "OFPBRC_EPERM",
		6:  "OFPBRC_BAD_LEN",
		7:  "OFPBRC_BUFFER_EMPTY",
		8:  "OFPBRC_BUFFER_UNKNOWN",
		9:  "OFPBRC_BAD_TABLE_ID",
		10: "OFPBRC_IS_SLAVE",
		11: "OFPBRC_BAD_PORT",
		12: "OFPBRC_BAD_PACKET",
		13: "OFPBRC_MULTIPART_BUFFER_OVERFLOW",
	}
	OfpBadRequestCode_value = map[string]int32{
		"OFPBRC_BAD_VERSION":               0,
		"OFPBRC_BAD_TYPE":                  1,
		"OFPBRC_BAD_MULTIPART":             2,
		"OFPBRC_BAD_EXPERIMENTER":          3,
		"OFPBRC_BAD_EXP_TYPE":              4,
		"OFPBRC_EPERM":                     5,
		"OFPBRC_BAD_LEN":                   6,
		"OFPBRC_BUFFER_EMPTY":              7,
		"OFPBRC_BUFFER_UNKNOWN":            8,
		"OFPBRC_BAD_TABLE_ID":              9,
		"OFPBRC_IS_SLAVE":                  10,
		"OFPBRC_BAD_PORT":                  11,
		"OFPBRC_BAD_PACKET":                12,
		"OFPBRC_MULTIPART_BUFFER_OVERFLOW": 13,
	}
)

Enum value maps for OfpBadRequestCode.

View Source
var (
	OfpBadActionCode_name = map[int32]string{
		0:  "OFPBAC_BAD_TYPE",
		1:  "OFPBAC_BAD_LEN",
		2:  "OFPBAC_BAD_EXPERIMENTER",
		3:  "OFPBAC_BAD_EXP_TYPE",
		4:  "OFPBAC_BAD_OUT_PORT",
		5:  "OFPBAC_BAD_ARGUMENT",
		6:  "OFPBAC_EPERM",
		7:  "OFPBAC_TOO_MANY",
		8:  "OFPBAC_BAD_QUEUE",
		9:  "OFPBAC_BAD_OUT_GROUP",
		10: "OFPBAC_MATCH_INCONSISTENT",
		11: "OFPBAC_UNSUPPORTED_ORDER",
		12: "OFPBAC_BAD_TAG",
		13: "OFPBAC_BAD_SET_TYPE",
		14: "OFPBAC_BAD_SET_LEN",
		15: "OFPBAC_BAD_SET_ARGUMENT",
	}
	OfpBadActionCode_value = map[string]int32{
		"OFPBAC_BAD_TYPE":           0,
		"OFPBAC_BAD_LEN":            1,
		"OFPBAC_BAD_EXPERIMENTER":   2,
		"OFPBAC_BAD_EXP_TYPE":       3,
		"OFPBAC_BAD_OUT_PORT":       4,
		"OFPBAC_BAD_ARGUMENT":       5,
		"OFPBAC_EPERM":              6,
		"OFPBAC_TOO_MANY":           7,
		"OFPBAC_BAD_QUEUE":          8,
		"OFPBAC_BAD_OUT_GROUP":      9,
		"OFPBAC_MATCH_INCONSISTENT": 10,
		"OFPBAC_UNSUPPORTED_ORDER":  11,
		"OFPBAC_BAD_TAG":            12,
		"OFPBAC_BAD_SET_TYPE":       13,
		"OFPBAC_BAD_SET_LEN":        14,
		"OFPBAC_BAD_SET_ARGUMENT":   15,
	}
)

Enum value maps for OfpBadActionCode.

View Source
var (
	OfpBadInstructionCode_name = map[int32]string{
		0: "OFPBIC_UNKNOWN_INST",
		1: "OFPBIC_UNSUP_INST",
		2: "OFPBIC_BAD_TABLE_ID",
		3: "OFPBIC_UNSUP_METADATA",
		4: "OFPBIC_UNSUP_METADATA_MASK",
		5: "OFPBIC_BAD_EXPERIMENTER",
		6: "OFPBIC_BAD_EXP_TYPE",
		7: "OFPBIC_BAD_LEN",
		8: "OFPBIC_EPERM",
	}
	OfpBadInstructionCode_value = map[string]int32{
		"OFPBIC_UNKNOWN_INST":        0,
		"OFPBIC_UNSUP_INST":          1,
		"OFPBIC_BAD_TABLE_ID":        2,
		"OFPBIC_UNSUP_METADATA":      3,
		"OFPBIC_UNSUP_METADATA_MASK": 4,
		"OFPBIC_BAD_EXPERIMENTER":    5,
		"OFPBIC_BAD_EXP_TYPE":        6,
		"OFPBIC_BAD_LEN":             7,
		"OFPBIC_EPERM":               8,
	}
)

Enum value maps for OfpBadInstructionCode.

View Source
var (
	OfpBadMatchCode_name = map[int32]string{
		0:  "OFPBMC_BAD_TYPE",
		1:  "OFPBMC_BAD_LEN",
		2:  "OFPBMC_BAD_TAG",
		3:  "OFPBMC_BAD_DL_ADDR_MASK",
		4:  "OFPBMC_BAD_NW_ADDR_MASK",
		5:  "OFPBMC_BAD_WILDCARDS",
		6:  "OFPBMC_BAD_FIELD",
		7:  "OFPBMC_BAD_VALUE",
		8:  "OFPBMC_BAD_MASK",
		9:  "OFPBMC_BAD_PREREQ",
		10: "OFPBMC_DUP_FIELD",
		11: "OFPBMC_EPERM",
	}
	OfpBadMatchCode_value = map[string]int32{
		"OFPBMC_BAD_TYPE":         0,
		"OFPBMC_BAD_LEN":          1,
		"OFPBMC_BAD_TAG":          2,
		"OFPBMC_BAD_DL_ADDR_MASK": 3,
		"OFPBMC_BAD_NW_ADDR_MASK": 4,
		"OFPBMC_BAD_WILDCARDS":    5,
		"OFPBMC_BAD_FIELD":        6,
		"OFPBMC_BAD_VALUE":        7,
		"OFPBMC_BAD_MASK":         8,
		"OFPBMC_BAD_PREREQ":       9,
		"OFPBMC_DUP_FIELD":        10,
		"OFPBMC_EPERM":            11,
	}
)

Enum value maps for OfpBadMatchCode.

View Source
var (
	OfpFlowModFailedCode_name = map[int32]string{
		0: "OFPFMFC_UNKNOWN",
		1: "OFPFMFC_TABLE_FULL",
		2: "OFPFMFC_BAD_TABLE_ID",
		3: "OFPFMFC_OVERLAP",
		4: "OFPFMFC_EPERM",
		5: "OFPFMFC_BAD_TIMEOUT",
		6: "OFPFMFC_BAD_COMMAND",
		7: "OFPFMFC_BAD_FLAGS",
	}
	OfpFlowModFailedCode_value = map[string]int32{
		"OFPFMFC_UNKNOWN":      0,
		"OFPFMFC_TABLE_FULL":   1,
		"OFPFMFC_BAD_TABLE_ID": 2,
		"OFPFMFC_OVERLAP":      3,
		"OFPFMFC_EPERM":        4,
		"OFPFMFC_BAD_TIMEOUT":  5,
		"OFPFMFC_BAD_COMMAND":  6,
		"OFPFMFC_BAD_FLAGS":    7,
	}
)

Enum value maps for OfpFlowModFailedCode.

View Source
var (
	OfpGroupModFailedCode_name = map[int32]string{
		0:  "OFPGMFC_GROUP_EXISTS",
		1:  "OFPGMFC_INVALID_GROUP",
		2:  "OFPGMFC_WEIGHT_UNSUPPORTED",
		3:  "OFPGMFC_OUT_OF_GROUPS",
		4:  "OFPGMFC_OUT_OF_BUCKETS",
		5:  "OFPGMFC_CHAINING_UNSUPPORTED",
		6:  "OFPGMFC_WATCH_UNSUPPORTED",
		7:  "OFPGMFC_LOOP",
		8:  "OFPGMFC_UNKNOWN_GROUP",
		9:  "OFPGMFC_CHAINED_GROUP",
		10: "OFPGMFC_BAD_TYPE",
		11: "OFPGMFC_BAD_COMMAND",
		12: "OFPGMFC_BAD_BUCKET",
		13: "OFPGMFC_BAD_WATCH",
		14: "OFPGMFC_EPERM",
	}
	OfpGroupModFailedCode_value = map[string]int32{
		"OFPGMFC_GROUP_EXISTS":         0,
		"OFPGMFC_INVALID_GROUP":        1,
		"OFPGMFC_WEIGHT_UNSUPPORTED":   2,
		"OFPGMFC_OUT_OF_GROUPS":        3,
		"OFPGMFC_OUT_OF_BUCKETS":       4,
		"OFPGMFC_CHAINING_UNSUPPORTED": 5,
		"OFPGMFC_WATCH_UNSUPPORTED":    6,
		"OFPGMFC_LOOP":                 7,
		"OFPGMFC_UNKNOWN_GROUP":        8,
		"OFPGMFC_CHAINED_GROUP":        9,
		"OFPGMFC_BAD_TYPE":             10,
		"OFPGMFC_BAD_COMMAND":          11,
		"OFPGMFC_BAD_BUCKET":           12,
		"OFPGMFC_BAD_WATCH":            13,
		"OFPGMFC_EPERM":                14,
	}
)

Enum value maps for OfpGroupModFailedCode.

View Source
var (
	OfpPortModFailedCode_name = map[int32]string{
		0: "OFPPMFC_BAD_PORT",
		1: "OFPPMFC_BAD_HW_ADDR",
		2: "OFPPMFC_BAD_CONFIG",
		3: "OFPPMFC_BAD_ADVERTISE",
		4: "OFPPMFC_EPERM",
	}
	OfpPortModFailedCode_value = map[string]int32{
		"OFPPMFC_BAD_PORT":      0,
		"OFPPMFC_BAD_HW_ADDR":   1,
		"OFPPMFC_BAD_CONFIG":    2,
		"OFPPMFC_BAD_ADVERTISE": 3,
		"OFPPMFC_EPERM":         4,
	}
)

Enum value maps for OfpPortModFailedCode.

View Source
var (
	OfpTableModFailedCode_name = map[int32]string{
		0: "OFPTMFC_BAD_TABLE",
		1: "OFPTMFC_BAD_CONFIG",
		2: "OFPTMFC_EPERM",
	}
	OfpTableModFailedCode_value = map[string]int32{
		"OFPTMFC_BAD_TABLE":  0,
		"OFPTMFC_BAD_CONFIG": 1,
		"OFPTMFC_EPERM":      2,
	}
)

Enum value maps for OfpTableModFailedCode.

View Source
var (
	OfpQueueOpFailedCode_name = map[int32]string{
		0: "OFPQOFC_BAD_PORT",
		1: "OFPQOFC_BAD_QUEUE",
		2: "OFPQOFC_EPERM",
	}
	OfpQueueOpFailedCode_value = map[string]int32{
		"OFPQOFC_BAD_PORT":  0,
		"OFPQOFC_BAD_QUEUE": 1,
		"OFPQOFC_EPERM":     2,
	}
)

Enum value maps for OfpQueueOpFailedCode.

View Source
var (
	OfpSwitchConfigFailedCode_name = map[int32]string{
		0: "OFPSCFC_BAD_FLAGS",
		1: "OFPSCFC_BAD_LEN",
		2: "OFPSCFC_EPERM",
	}
	OfpSwitchConfigFailedCode_value = map[string]int32{
		"OFPSCFC_BAD_FLAGS": 0,
		"OFPSCFC_BAD_LEN":   1,
		"OFPSCFC_EPERM":     2,
	}
)

Enum value maps for OfpSwitchConfigFailedCode.

View Source
var (
	OfpRoleRequestFailedCode_name = map[int32]string{
		0: "OFPRRFC_STALE",
		1: "OFPRRFC_UNSUP",
		2: "OFPRRFC_BAD_ROLE",
	}
	OfpRoleRequestFailedCode_value = map[string]int32{
		"OFPRRFC_STALE":    0,
		"OFPRRFC_UNSUP":    1,
		"OFPRRFC_BAD_ROLE": 2,
	}
)

Enum value maps for OfpRoleRequestFailedCode.

View Source
var (
	OfpMeterModFailedCode_name = map[int32]string{
		0:  "OFPMMFC_UNKNOWN",
		1:  "OFPMMFC_METER_EXISTS",
		2:  "OFPMMFC_INVALID_METER",
		3:  "OFPMMFC_UNKNOWN_METER",
		4:  "OFPMMFC_BAD_COMMAND",
		5:  "OFPMMFC_BAD_FLAGS",
		6:  "OFPMMFC_BAD_RATE",
		7:  "OFPMMFC_BAD_BURST",
		8:  "OFPMMFC_BAD_BAND",
		9:  "OFPMMFC_BAD_BAND_DETAIL",
		10: "OFPMMFC_OUT_OF_METERS",
		11: "OFPMMFC_OUT_OF_BANDS",
	}
	OfpMeterModFailedCode_value = map[string]int32{
		"OFPMMFC_UNKNOWN":         0,
		"OFPMMFC_METER_EXISTS":    1,
		"OFPMMFC_INVALID_METER":   2,
		"OFPMMFC_UNKNOWN_METER":   3,
		"OFPMMFC_BAD_COMMAND":     4,
		"OFPMMFC_BAD_FLAGS":       5,
		"OFPMMFC_BAD_RATE":        6,
		"OFPMMFC_BAD_BURST":       7,
		"OFPMMFC_BAD_BAND":        8,
		"OFPMMFC_BAD_BAND_DETAIL": 9,
		"OFPMMFC_OUT_OF_METERS":   10,
		"OFPMMFC_OUT_OF_BANDS":    11,
	}
)

Enum value maps for OfpMeterModFailedCode.

View Source
var (
	OfpTableFeaturesFailedCode_name = map[int32]string{
		0: "OFPTFFC_BAD_TABLE",
		1: "OFPTFFC_BAD_METADATA",
		2: "OFPTFFC_BAD_TYPE",
		3: "OFPTFFC_BAD_LEN",
		4: "OFPTFFC_BAD_ARGUMENT",
		5: "OFPTFFC_EPERM",
	}
	OfpTableFeaturesFailedCode_value = map[string]int32{
		"OFPTFFC_BAD_TABLE":    0,
		"OFPTFFC_BAD_METADATA": 1,
		"OFPTFFC_BAD_TYPE":     2,
		"OFPTFFC_BAD_LEN":      3,
		"OFPTFFC_BAD_ARGUMENT": 4,
		"OFPTFFC_EPERM":        5,
	}
)

Enum value maps for OfpTableFeaturesFailedCode.

View Source
var (
	OfpMultipartType_name = map[int32]string{
		0:     "OFPMP_DESC",
		1:     "OFPMP_FLOW",
		2:     "OFPMP_AGGREGATE",
		3:     "OFPMP_TABLE",
		4:     "OFPMP_PORT_STATS",
		5:     "OFPMP_QUEUE",
		6:     "OFPMP_GROUP",
		7:     "OFPMP_GROUP_DESC",
		8:     "OFPMP_GROUP_FEATURES",
		9:     "OFPMP_METER",
		10:    "OFPMP_METER_CONFIG",
		11:    "OFPMP_METER_FEATURES",
		12:    "OFPMP_TABLE_FEATURES",
		13:    "OFPMP_PORT_DESC",
		65535: "OFPMP_EXPERIMENTER",
	}
	OfpMultipartType_value = map[string]int32{
		"OFPMP_DESC":           0,
		"OFPMP_FLOW":           1,
		"OFPMP_AGGREGATE":      2,
		"OFPMP_TABLE":          3,
		"OFPMP_PORT_STATS":     4,
		"OFPMP_QUEUE":          5,
		"OFPMP_GROUP":          6,
		"OFPMP_GROUP_DESC":     7,
		"OFPMP_GROUP_FEATURES": 8,
		"OFPMP_METER":          9,
		"OFPMP_METER_CONFIG":   10,
		"OFPMP_METER_FEATURES": 11,
		"OFPMP_TABLE_FEATURES": 12,
		"OFPMP_PORT_DESC":      13,
		"OFPMP_EXPERIMENTER":   65535,
	}
)

Enum value maps for OfpMultipartType.

View Source
var (
	OfpMultipartRequestFlags_name = map[int32]string{
		0: "OFPMPF_REQ_INVALID",
		1: "OFPMPF_REQ_MORE",
	}
	OfpMultipartRequestFlags_value = map[string]int32{
		"OFPMPF_REQ_INVALID": 0,
		"OFPMPF_REQ_MORE":    1,
	}
)

Enum value maps for OfpMultipartRequestFlags.

View Source
var (
	OfpMultipartReplyFlags_name = map[int32]string{
		0: "OFPMPF_REPLY_INVALID",
		1: "OFPMPF_REPLY_MORE",
	}
	OfpMultipartReplyFlags_value = map[string]int32{
		"OFPMPF_REPLY_INVALID": 0,
		"OFPMPF_REPLY_MORE":    1,
	}
)

Enum value maps for OfpMultipartReplyFlags.

View Source
var (
	OfpTableFeaturePropType_name = map[int32]string{
		0:     "OFPTFPT_INSTRUCTIONS",
		1:     "OFPTFPT_INSTRUCTIONS_MISS",
		2:     "OFPTFPT_NEXT_TABLES",
		3:     "OFPTFPT_NEXT_TABLES_MISS",
		4:     "OFPTFPT_WRITE_ACTIONS",
		5:     "OFPTFPT_WRITE_ACTIONS_MISS",
		6:     "OFPTFPT_APPLY_ACTIONS",
		7:     "OFPTFPT_APPLY_ACTIONS_MISS",
		8:     "OFPTFPT_MATCH",
		10:    "OFPTFPT_WILDCARDS",
		12:    "OFPTFPT_WRITE_SETFIELD",
		13:    "OFPTFPT_WRITE_SETFIELD_MISS",
		14:    "OFPTFPT_APPLY_SETFIELD",
		15:    "OFPTFPT_APPLY_SETFIELD_MISS",
		65534: "OFPTFPT_EXPERIMENTER",
		65535: "OFPTFPT_EXPERIMENTER_MISS",
	}
	OfpTableFeaturePropType_value = map[string]int32{
		"OFPTFPT_INSTRUCTIONS":        0,
		"OFPTFPT_INSTRUCTIONS_MISS":   1,
		"OFPTFPT_NEXT_TABLES":         2,
		"OFPTFPT_NEXT_TABLES_MISS":    3,
		"OFPTFPT_WRITE_ACTIONS":       4,
		"OFPTFPT_WRITE_ACTIONS_MISS":  5,
		"OFPTFPT_APPLY_ACTIONS":       6,
		"OFPTFPT_APPLY_ACTIONS_MISS":  7,
		"OFPTFPT_MATCH":               8,
		"OFPTFPT_WILDCARDS":           10,
		"OFPTFPT_WRITE_SETFIELD":      12,
		"OFPTFPT_WRITE_SETFIELD_MISS": 13,
		"OFPTFPT_APPLY_SETFIELD":      14,
		"OFPTFPT_APPLY_SETFIELD_MISS": 15,
		"OFPTFPT_EXPERIMENTER":        65534,
		"OFPTFPT_EXPERIMENTER_MISS":   65535,
	}
)

Enum value maps for OfpTableFeaturePropType.

View Source
var (
	OfpGroupCapabilities_name = map[int32]string{
		0: "OFPGFC_INVALID",
		1: "OFPGFC_SELECT_WEIGHT",
		2: "OFPGFC_SELECT_LIVENESS",
		4: "OFPGFC_CHAINING",
		8: "OFPGFC_CHAINING_CHECKS",
	}
	OfpGroupCapabilities_value = map[string]int32{
		"OFPGFC_INVALID":         0,
		"OFPGFC_SELECT_WEIGHT":   1,
		"OFPGFC_SELECT_LIVENESS": 2,
		"OFPGFC_CHAINING":        4,
		"OFPGFC_CHAINING_CHECKS": 8,
	}
)

Enum value maps for OfpGroupCapabilities.

View Source
var (
	OfpQueueProperties_name = map[int32]string{
		0:     "OFPQT_INVALID",
		1:     "OFPQT_MIN_RATE",
		2:     "OFPQT_MAX_RATE",
		65535: "OFPQT_EXPERIMENTER",
	}
	OfpQueueProperties_value = map[string]int32{
		"OFPQT_INVALID":      0,
		"OFPQT_MIN_RATE":     1,
		"OFPQT_MAX_RATE":     2,
		"OFPQT_EXPERIMENTER": 65535,
	}
)

Enum value maps for OfpQueueProperties.

View Source
var (
	OfpControllerRole_name = map[int32]string{
		0: "OFPCR_ROLE_NOCHANGE",
		1: "OFPCR_ROLE_EQUAL",
		2: "OFPCR_ROLE_MASTER",
		3: "OFPCR_ROLE_SLAVE",
	}
	OfpControllerRole_value = map[string]int32{
		"OFPCR_ROLE_NOCHANGE": 0,
		"OFPCR_ROLE_EQUAL":    1,
		"OFPCR_ROLE_MASTER":   2,
		"OFPCR_ROLE_SLAVE":    3,
	}
)

Enum value maps for OfpControllerRole.

View Source
var File_voltha_protos_openflow_13_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ChangeEvent

type ChangeEvent struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // LogicalDevice.id
	// Types that are valid to be assigned to Event:
	//
	//	*ChangeEvent_PortStatus
	//	*ChangeEvent_Error
	//	*ChangeEvent_DeviceStatus
	Event isChangeEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

func (*ChangeEvent) Descriptor deprecated

func (*ChangeEvent) Descriptor() ([]byte, []int)

Deprecated: Use ChangeEvent.ProtoReflect.Descriptor instead.

func (*ChangeEvent) GetDeviceStatus

func (x *ChangeEvent) GetDeviceStatus() *OfpDeviceStatus

func (*ChangeEvent) GetError

func (x *ChangeEvent) GetError() *OfpErrorMsg

func (*ChangeEvent) GetEvent

func (x *ChangeEvent) GetEvent() isChangeEvent_Event

func (*ChangeEvent) GetId

func (x *ChangeEvent) GetId() string

func (*ChangeEvent) GetPortStatus

func (x *ChangeEvent) GetPortStatus() *OfpPortStatus

func (*ChangeEvent) ProtoMessage

func (*ChangeEvent) ProtoMessage()

func (*ChangeEvent) ProtoReflect added in v5.7.1

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

func (*ChangeEvent) Reset

func (x *ChangeEvent) Reset()

func (*ChangeEvent) String

func (x *ChangeEvent) String() string

type ChangeEvent_DeviceStatus

type ChangeEvent_DeviceStatus struct {
	DeviceStatus *OfpDeviceStatus `protobuf:"bytes,4,opt,name=device_status,json=deviceStatus,proto3,oneof"`
}

type ChangeEvent_Error

type ChangeEvent_Error struct {
	Error *OfpErrorMsg `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

type ChangeEvent_PortStatus

type ChangeEvent_PortStatus struct {
	PortStatus *OfpPortStatus `protobuf:"bytes,2,opt,name=port_status,json=portStatus,proto3,oneof"`
}

type FlowChanges

type FlowChanges struct {
	ToAdd    *Flows `protobuf:"bytes,1,opt,name=to_add,json=toAdd,proto3" json:"to_add,omitempty"`
	ToRemove *Flows `protobuf:"bytes,2,opt,name=to_remove,json=toRemove,proto3" json:"to_remove,omitempty"`
	// contains filtered or unexported fields
}

func (*FlowChanges) Descriptor deprecated

func (*FlowChanges) Descriptor() ([]byte, []int)

Deprecated: Use FlowChanges.ProtoReflect.Descriptor instead.

func (*FlowChanges) GetToAdd

func (x *FlowChanges) GetToAdd() *Flows

func (*FlowChanges) GetToRemove

func (x *FlowChanges) GetToRemove() *Flows

func (*FlowChanges) ProtoMessage

func (*FlowChanges) ProtoMessage()

func (*FlowChanges) ProtoReflect added in v5.7.1

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

func (*FlowChanges) Reset

func (x *FlowChanges) Reset()

func (*FlowChanges) String

func (x *FlowChanges) String() string

type FlowGroupChanges

type FlowGroupChanges struct {
	ToAdd    *FlowGroups `protobuf:"bytes,1,opt,name=to_add,json=toAdd,proto3" json:"to_add,omitempty"`
	ToRemove *FlowGroups `protobuf:"bytes,2,opt,name=to_remove,json=toRemove,proto3" json:"to_remove,omitempty"`
	ToUpdate *FlowGroups `protobuf:"bytes,3,opt,name=to_update,json=toUpdate,proto3" json:"to_update,omitempty"`
	// contains filtered or unexported fields
}

func (*FlowGroupChanges) Descriptor deprecated

func (*FlowGroupChanges) Descriptor() ([]byte, []int)

Deprecated: Use FlowGroupChanges.ProtoReflect.Descriptor instead.

func (*FlowGroupChanges) GetToAdd

func (x *FlowGroupChanges) GetToAdd() *FlowGroups

func (*FlowGroupChanges) GetToRemove

func (x *FlowGroupChanges) GetToRemove() *FlowGroups

func (*FlowGroupChanges) GetToUpdate

func (x *FlowGroupChanges) GetToUpdate() *FlowGroups

func (*FlowGroupChanges) ProtoMessage

func (*FlowGroupChanges) ProtoMessage()

func (*FlowGroupChanges) ProtoReflect added in v5.7.1

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

func (*FlowGroupChanges) Reset

func (x *FlowGroupChanges) Reset()

func (*FlowGroupChanges) String

func (x *FlowGroupChanges) String() string

type FlowGroupTableUpdate

type FlowGroupTableUpdate struct {
	Id       string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Device.id or LogicalDevice.id
	GroupMod *OfpGroupMod `protobuf:"bytes,2,opt,name=group_mod,json=groupMod,proto3" json:"group_mod,omitempty"`
	Xid      uint32       `protobuf:"varint,3,opt,name=xid,proto3" json:"xid,omitempty"` //Transaction id associated with this request.
	// contains filtered or unexported fields
}

func (*FlowGroupTableUpdate) Descriptor deprecated

func (*FlowGroupTableUpdate) Descriptor() ([]byte, []int)

Deprecated: Use FlowGroupTableUpdate.ProtoReflect.Descriptor instead.

func (*FlowGroupTableUpdate) GetGroupMod

func (x *FlowGroupTableUpdate) GetGroupMod() *OfpGroupMod

func (*FlowGroupTableUpdate) GetId

func (x *FlowGroupTableUpdate) GetId() string

func (*FlowGroupTableUpdate) GetXid

func (x *FlowGroupTableUpdate) GetXid() uint32

func (*FlowGroupTableUpdate) ProtoMessage

func (*FlowGroupTableUpdate) ProtoMessage()

func (*FlowGroupTableUpdate) ProtoReflect added in v5.7.1

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

func (*FlowGroupTableUpdate) Reset

func (x *FlowGroupTableUpdate) Reset()

func (*FlowGroupTableUpdate) String

func (x *FlowGroupTableUpdate) String() string

type FlowGroups

type FlowGroups struct {
	Items []*OfpGroupEntry `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*FlowGroups) Descriptor deprecated

func (*FlowGroups) Descriptor() ([]byte, []int)

Deprecated: Use FlowGroups.ProtoReflect.Descriptor instead.

func (*FlowGroups) GetItems

func (x *FlowGroups) GetItems() []*OfpGroupEntry

func (*FlowGroups) ProtoMessage

func (*FlowGroups) ProtoMessage()

func (*FlowGroups) ProtoReflect added in v5.7.1

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

func (*FlowGroups) Reset

func (x *FlowGroups) Reset()

func (*FlowGroups) String

func (x *FlowGroups) String() string

type FlowMetadata

type FlowMetadata struct {

	// Meters associated with flow-update to adapter
	Meters []*OfpMeterConfig `protobuf:"bytes,1,rep,name=meters,proto3" json:"meters,omitempty"`
	// contains filtered or unexported fields
}

Additional information required to process flow at device adapters

func (*FlowMetadata) Descriptor deprecated

func (*FlowMetadata) Descriptor() ([]byte, []int)

Deprecated: Use FlowMetadata.ProtoReflect.Descriptor instead.

func (*FlowMetadata) GetMeters

func (x *FlowMetadata) GetMeters() []*OfpMeterConfig

func (*FlowMetadata) ProtoMessage

func (*FlowMetadata) ProtoMessage()

func (*FlowMetadata) ProtoReflect added in v5.7.1

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

func (*FlowMetadata) Reset

func (x *FlowMetadata) Reset()

func (*FlowMetadata) String

func (x *FlowMetadata) String() string

type FlowTableUpdate

type FlowTableUpdate struct {
	Id      string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Device.id or LogicalDevice.id
	FlowMod *OfpFlowMod `protobuf:"bytes,2,opt,name=flow_mod,json=flowMod,proto3" json:"flow_mod,omitempty"`
	Xid     uint32      `protobuf:"varint,3,opt,name=xid,proto3" json:"xid,omitempty"` //Transaction id associated with this request.
	// contains filtered or unexported fields
}

func (*FlowTableUpdate) Descriptor deprecated

func (*FlowTableUpdate) Descriptor() ([]byte, []int)

Deprecated: Use FlowTableUpdate.ProtoReflect.Descriptor instead.

func (*FlowTableUpdate) GetFlowMod

func (x *FlowTableUpdate) GetFlowMod() *OfpFlowMod

func (*FlowTableUpdate) GetId

func (x *FlowTableUpdate) GetId() string

func (*FlowTableUpdate) GetXid

func (x *FlowTableUpdate) GetXid() uint32

func (*FlowTableUpdate) ProtoMessage

func (*FlowTableUpdate) ProtoMessage()

func (*FlowTableUpdate) ProtoReflect added in v5.7.1

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

func (*FlowTableUpdate) Reset

func (x *FlowTableUpdate) Reset()

func (*FlowTableUpdate) String

func (x *FlowTableUpdate) String() string

type Flows

type Flows struct {
	Items []*OfpFlowStats `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*Flows) Descriptor deprecated

func (*Flows) Descriptor() ([]byte, []int)

Deprecated: Use Flows.ProtoReflect.Descriptor instead.

func (*Flows) GetItems

func (x *Flows) GetItems() []*OfpFlowStats

func (*Flows) ProtoMessage

func (*Flows) ProtoMessage()

func (*Flows) ProtoReflect added in v5.7.1

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

func (*Flows) Reset

func (x *Flows) Reset()

func (*Flows) String

func (x *Flows) String() string

type MeterModUpdate

type MeterModUpdate struct {
	Id       string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Device.id or LogicalDevice.id
	MeterMod *OfpMeterMod `protobuf:"bytes,2,opt,name=meter_mod,json=meterMod,proto3" json:"meter_mod,omitempty"`
	Xid      uint32       `protobuf:"varint,3,opt,name=xid,proto3" json:"xid,omitempty"` //Transaction id associated with this request.
	// contains filtered or unexported fields
}

func (*MeterModUpdate) Descriptor deprecated

func (*MeterModUpdate) Descriptor() ([]byte, []int)

Deprecated: Use MeterModUpdate.ProtoReflect.Descriptor instead.

func (*MeterModUpdate) GetId

func (x *MeterModUpdate) GetId() string

func (*MeterModUpdate) GetMeterMod

func (x *MeterModUpdate) GetMeterMod() *OfpMeterMod

func (*MeterModUpdate) GetXid

func (x *MeterModUpdate) GetXid() uint32

func (*MeterModUpdate) ProtoMessage

func (*MeterModUpdate) ProtoMessage()

func (*MeterModUpdate) ProtoReflect added in v5.7.1

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

func (*MeterModUpdate) Reset

func (x *MeterModUpdate) Reset()

func (*MeterModUpdate) String

func (x *MeterModUpdate) String() string

type MeterStatsReply

type MeterStatsReply struct {
	MeterStats []*OfpMeterStats `protobuf:"bytes,1,rep,name=meter_stats,json=meterStats,proto3" json:"meter_stats,omitempty"`
	// contains filtered or unexported fields
}

func (*MeterStatsReply) Descriptor deprecated

func (*MeterStatsReply) Descriptor() ([]byte, []int)

Deprecated: Use MeterStatsReply.ProtoReflect.Descriptor instead.

func (*MeterStatsReply) GetMeterStats

func (x *MeterStatsReply) GetMeterStats() []*OfpMeterStats

func (*MeterStatsReply) ProtoMessage

func (*MeterStatsReply) ProtoMessage()

func (*MeterStatsReply) ProtoReflect added in v5.7.1

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

func (*MeterStatsReply) Reset

func (x *MeterStatsReply) Reset()

func (*MeterStatsReply) String

func (x *MeterStatsReply) String() string

type Meters

type Meters struct {
	Items []*OfpMeterEntry `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*Meters) Descriptor deprecated

func (*Meters) Descriptor() ([]byte, []int)

Deprecated: Use Meters.ProtoReflect.Descriptor instead.

func (*Meters) GetItems

func (x *Meters) GetItems() []*OfpMeterEntry

func (*Meters) ProtoMessage

func (*Meters) ProtoMessage()

func (*Meters) ProtoReflect added in v5.7.1

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

func (*Meters) Reset

func (x *Meters) Reset()

func (*Meters) String

func (x *Meters) String() string

type OfpAction

type OfpAction struct {
	Type OfpActionType `protobuf:"varint,1,opt,name=type,proto3,enum=openflow_13.OfpActionType" json:"type,omitempty"` // One of OFPAT_*.
	// Types that are valid to be assigned to Action:
	//
	//	*OfpAction_Output
	//	*OfpAction_MplsTtl
	//	*OfpAction_Push
	//	*OfpAction_PopMpls
	//	*OfpAction_Group
	//	*OfpAction_NwTtl
	//	*OfpAction_SetField
	//	*OfpAction_Experimenter
	Action isOfpAction_Action `protobuf_oneof:"action"`
	// contains filtered or unexported fields
}

Action header that is common to all actions. The length includes the header and any padding used to make the action 64-bit aligned. NB: The length of an action *must* always be a multiple of eight.

func (*OfpAction) Descriptor deprecated

func (*OfpAction) Descriptor() ([]byte, []int)

Deprecated: Use OfpAction.ProtoReflect.Descriptor instead.

func (*OfpAction) GetAction

func (x *OfpAction) GetAction() isOfpAction_Action

func (*OfpAction) GetExperimenter

func (x *OfpAction) GetExperimenter() *OfpActionExperimenter

func (*OfpAction) GetGroup

func (x *OfpAction) GetGroup() *OfpActionGroup

func (*OfpAction) GetMplsTtl

func (x *OfpAction) GetMplsTtl() *OfpActionMplsTtl

func (*OfpAction) GetNwTtl

func (x *OfpAction) GetNwTtl() *OfpActionNwTtl

func (*OfpAction) GetOutput

func (x *OfpAction) GetOutput() *OfpActionOutput

func (*OfpAction) GetPopMpls

func (x *OfpAction) GetPopMpls() *OfpActionPopMpls

func (*OfpAction) GetPush

func (x *OfpAction) GetPush() *OfpActionPush

func (*OfpAction) GetSetField

func (x *OfpAction) GetSetField() *OfpActionSetField

func (*OfpAction) GetType

func (x *OfpAction) GetType() OfpActionType

func (*OfpAction) ProtoMessage

func (*OfpAction) ProtoMessage()

func (*OfpAction) ProtoReflect added in v5.7.1

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

func (*OfpAction) Reset

func (x *OfpAction) Reset()

func (*OfpAction) String

func (x *OfpAction) String() string

type OfpActionExperimenter

type OfpActionExperimenter struct {
	Experimenter uint32 `protobuf:"varint,1,opt,name=experimenter,proto3" json:"experimenter,omitempty"`
	Data         []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Action header for OFPAT_EXPERIMENTER. The rest of the body is experimenter-defined.

func (*OfpActionExperimenter) Descriptor deprecated

func (*OfpActionExperimenter) Descriptor() ([]byte, []int)

Deprecated: Use OfpActionExperimenter.ProtoReflect.Descriptor instead.

func (*OfpActionExperimenter) GetData

func (x *OfpActionExperimenter) GetData() []byte

func (*OfpActionExperimenter) GetExperimenter

func (x *OfpActionExperimenter) GetExperimenter() uint32

func (*OfpActionExperimenter) ProtoMessage

func (*OfpActionExperimenter) ProtoMessage()

func (*OfpActionExperimenter) ProtoReflect added in v5.7.1

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

func (*OfpActionExperimenter) Reset

func (x *OfpActionExperimenter) Reset()

func (*OfpActionExperimenter) String

func (x *OfpActionExperimenter) String() string

type OfpActionGroup

type OfpActionGroup struct {
	GroupId uint32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // Group identifier.
	// contains filtered or unexported fields
}

Action structure for OFPAT_GROUP.

func (*OfpActionGroup) Descriptor deprecated

func (*OfpActionGroup) Descriptor() ([]byte, []int)

Deprecated: Use OfpActionGroup.ProtoReflect.Descriptor instead.

func (*OfpActionGroup) GetGroupId

func (x *OfpActionGroup) GetGroupId() uint32

func (*OfpActionGroup) ProtoMessage

func (*OfpActionGroup) ProtoMessage()

func (*OfpActionGroup) ProtoReflect added in v5.7.1

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

func (*OfpActionGroup) Reset

func (x *OfpActionGroup) Reset()

func (*OfpActionGroup) String

func (x *OfpActionGroup) String() string

type OfpActionMplsTtl

type OfpActionMplsTtl struct {
	MplsTtl uint32 `protobuf:"varint,1,opt,name=mpls_ttl,json=mplsTtl,proto3" json:"mpls_ttl,omitempty"` // MPLS TTL
	// contains filtered or unexported fields
}

Action structure for OFPAT_SET_MPLS_TTL.

func (*OfpActionMplsTtl) Descriptor deprecated

func (*OfpActionMplsTtl) Descriptor() ([]byte, []int)

Deprecated: Use OfpActionMplsTtl.ProtoReflect.Descriptor instead.

func (*OfpActionMplsTtl) GetMplsTtl

func (x *OfpActionMplsTtl) GetMplsTtl() uint32

func (*OfpActionMplsTtl) ProtoMessage

func (*OfpActionMplsTtl) ProtoMessage()

func (*OfpActionMplsTtl) ProtoReflect added in v5.7.1

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

func (*OfpActionMplsTtl) Reset

func (x *OfpActionMplsTtl) Reset()

func (*OfpActionMplsTtl) String

func (x *OfpActionMplsTtl) String() string

type OfpActionNwTtl

type OfpActionNwTtl struct {
	NwTtl uint32 `protobuf:"varint,1,opt,name=nw_ttl,json=nwTtl,proto3" json:"nw_ttl,omitempty"` // IP TTL
	// contains filtered or unexported fields
}

Action structure for OFPAT_SET_NW_TTL.

func (*OfpActionNwTtl) Descriptor deprecated

func (*OfpActionNwTtl) Descriptor() ([]byte, []int)

Deprecated: Use OfpActionNwTtl.ProtoReflect.Descriptor instead.

func (*OfpActionNwTtl) GetNwTtl

func (x *OfpActionNwTtl) GetNwTtl() uint32

func (*OfpActionNwTtl) ProtoMessage

func (*OfpActionNwTtl) ProtoMessage()

func (*OfpActionNwTtl) ProtoReflect added in v5.7.1

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

func (*OfpActionNwTtl) Reset

func (x *OfpActionNwTtl) Reset()

func (*OfpActionNwTtl) String

func (x *OfpActionNwTtl) String() string

type OfpActionOutput

type OfpActionOutput struct {
	Port   uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`                   // Output port.
	MaxLen uint32 `protobuf:"varint,2,opt,name=max_len,json=maxLen,proto3" json:"max_len,omitempty"` // Max length to send to controller.
	// contains filtered or unexported fields
}

Action structure for OFPAT_OUTPUT, which sends packets out 'port'. When the 'port' is the OFPP_CONTROLLER, 'max_len' indicates the max number of bytes to send. A 'max_len' of zero means no bytes of the packet should be sent. A 'max_len' of OFPCML_NO_BUFFER means that the packet is not buffered and the complete packet is to be sent to the controller.

func (*OfpActionOutput) Descriptor deprecated

func (*OfpActionOutput) Descriptor() ([]byte, []int)

Deprecated: Use OfpActionOutput.ProtoReflect.Descriptor instead.

func (*OfpActionOutput) GetMaxLen

func (x *OfpActionOutput) GetMaxLen() uint32

func (*OfpActionOutput) GetPort

func (x *OfpActionOutput) GetPort() uint32

func (*OfpActionOutput) ProtoMessage

func (*OfpActionOutput) ProtoMessage()

func (*OfpActionOutput) ProtoReflect added in v5.7.1

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

func (*OfpActionOutput) Reset

func (x *OfpActionOutput) Reset()

func (*OfpActionOutput) String

func (x *OfpActionOutput) String() string

type OfpActionPopMpls

type OfpActionPopMpls struct {
	Ethertype uint32 `protobuf:"varint,1,opt,name=ethertype,proto3" json:"ethertype,omitempty"` // Ethertype
	// contains filtered or unexported fields
}

Action structure for OFPAT_POP_MPLS.

func (*OfpActionPopMpls) Descriptor deprecated

func (*OfpActionPopMpls) Descriptor() ([]byte, []int)

Deprecated: Use OfpActionPopMpls.ProtoReflect.Descriptor instead.

func (*OfpActionPopMpls) GetEthertype

func (x *OfpActionPopMpls) GetEthertype() uint32

func (*OfpActionPopMpls) ProtoMessage

func (*OfpActionPopMpls) ProtoMessage()

func (*OfpActionPopMpls) ProtoReflect added in v5.7.1

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

func (*OfpActionPopMpls) Reset

func (x *OfpActionPopMpls) Reset()

func (*OfpActionPopMpls) String

func (x *OfpActionPopMpls) String() string

type OfpActionPush

type OfpActionPush struct {
	Ethertype uint32 `protobuf:"varint,1,opt,name=ethertype,proto3" json:"ethertype,omitempty"` // Ethertype
	// contains filtered or unexported fields
}

Action structure for OFPAT_PUSH_VLAN/MPLS/PBB.

func (*OfpActionPush) Descriptor deprecated

func (*OfpActionPush) Descriptor() ([]byte, []int)

Deprecated: Use OfpActionPush.ProtoReflect.Descriptor instead.

func (*OfpActionPush) GetEthertype

func (x *OfpActionPush) GetEthertype() uint32

func (*OfpActionPush) ProtoMessage

func (*OfpActionPush) ProtoMessage()

func (*OfpActionPush) ProtoReflect added in v5.7.1

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

func (*OfpActionPush) Reset

func (x *OfpActionPush) Reset()

func (*OfpActionPush) String

func (x *OfpActionPush) String() string

type OfpActionSetField

type OfpActionSetField struct {
	Field *OfpOxmField `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	// contains filtered or unexported fields
}

Action structure for OFPAT_SET_FIELD.

func (*OfpActionSetField) Descriptor deprecated

func (*OfpActionSetField) Descriptor() ([]byte, []int)

Deprecated: Use OfpActionSetField.ProtoReflect.Descriptor instead.

func (*OfpActionSetField) GetField

func (x *OfpActionSetField) GetField() *OfpOxmField

func (*OfpActionSetField) ProtoMessage

func (*OfpActionSetField) ProtoMessage()

func (*OfpActionSetField) ProtoReflect added in v5.7.1

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

func (*OfpActionSetField) Reset

func (x *OfpActionSetField) Reset()

func (*OfpActionSetField) String

func (x *OfpActionSetField) String() string

type OfpActionSetQueue

type OfpActionSetQueue struct {
	Type    uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`                      // OFPAT_SET_QUEUE.
	QueueId uint32 `protobuf:"varint,3,opt,name=queue_id,json=queueId,proto3" json:"queue_id,omitempty"` // Queue id for the packets.
	// contains filtered or unexported fields
}

OFPAT_SET_QUEUE action struct: send packets to given queue on port.

func (*OfpActionSetQueue) Descriptor deprecated

func (*OfpActionSetQueue) Descriptor() ([]byte, []int)

Deprecated: Use OfpActionSetQueue.ProtoReflect.Descriptor instead.

func (*OfpActionSetQueue) GetQueueId

func (x *OfpActionSetQueue) GetQueueId() uint32

func (*OfpActionSetQueue) GetType

func (x *OfpActionSetQueue) GetType() uint32

func (*OfpActionSetQueue) ProtoMessage

func (*OfpActionSetQueue) ProtoMessage()

func (*OfpActionSetQueue) ProtoReflect added in v5.7.1

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

func (*OfpActionSetQueue) Reset

func (x *OfpActionSetQueue) Reset()

func (*OfpActionSetQueue) String

func (x *OfpActionSetQueue) String() string

type OfpActionType

type OfpActionType int32
const (
	OfpActionType_OFPAT_OUTPUT       OfpActionType = 0 // Output to switch port.
	OfpActionType_OFPAT_COPY_TTL_OUT OfpActionType = 11
	OfpActionType_OFPAT_COPY_TTL_IN  OfpActionType = 12
	OfpActionType_OFPAT_SET_MPLS_TTL OfpActionType = 15 // MPLS TTL
	OfpActionType_OFPAT_DEC_MPLS_TTL OfpActionType = 16 // Decrement MPLS TTL
	OfpActionType_OFPAT_PUSH_VLAN    OfpActionType = 17 // Push a new VLAN tag
	OfpActionType_OFPAT_POP_VLAN     OfpActionType = 18 // Pop the outer VLAN tag
	OfpActionType_OFPAT_PUSH_MPLS    OfpActionType = 19 // Push a new MPLS tag
	OfpActionType_OFPAT_POP_MPLS     OfpActionType = 20 // Pop the outer MPLS tag
	OfpActionType_OFPAT_SET_QUEUE    OfpActionType = 21 // Set queue id when outputting to a port
	OfpActionType_OFPAT_GROUP        OfpActionType = 22 // Apply group.
	OfpActionType_OFPAT_SET_NW_TTL   OfpActionType = 23 // IP TTL.
	OfpActionType_OFPAT_DEC_NW_TTL   OfpActionType = 24 // Decrement IP TTL.
	OfpActionType_OFPAT_SET_FIELD    OfpActionType = 25 // Set a header field using OXM TLV format.
	OfpActionType_OFPAT_PUSH_PBB     OfpActionType = 26 // Push a new PBB service tag (I-TAG)
	OfpActionType_OFPAT_POP_PBB      OfpActionType = 27 // Pop the outer PBB service tag (I-TAG)
	OfpActionType_OFPAT_EXPERIMENTER OfpActionType = 65535
)

func (OfpActionType) Descriptor added in v5.7.1

func (OfpActionType) Enum added in v5.7.1

func (x OfpActionType) Enum() *OfpActionType

func (OfpActionType) EnumDescriptor deprecated

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

Deprecated: Use OfpActionType.Descriptor instead.

func (OfpActionType) Number added in v5.7.1

func (OfpActionType) String

func (x OfpActionType) String() string

func (OfpActionType) Type added in v5.7.1

type OfpAction_Experimenter

type OfpAction_Experimenter struct {
	Experimenter *OfpActionExperimenter `protobuf:"bytes,9,opt,name=experimenter,proto3,oneof"`
}

type OfpAction_Group

type OfpAction_Group struct {
	Group *OfpActionGroup `protobuf:"bytes,6,opt,name=group,proto3,oneof"`
}

type OfpAction_MplsTtl

type OfpAction_MplsTtl struct {
	MplsTtl *OfpActionMplsTtl `protobuf:"bytes,3,opt,name=mpls_ttl,json=mplsTtl,proto3,oneof"`
}

type OfpAction_NwTtl

type OfpAction_NwTtl struct {
	NwTtl *OfpActionNwTtl `protobuf:"bytes,7,opt,name=nw_ttl,json=nwTtl,proto3,oneof"`
}

type OfpAction_Output

type OfpAction_Output struct {
	Output *OfpActionOutput `protobuf:"bytes,2,opt,name=output,proto3,oneof"`
}

type OfpAction_PopMpls

type OfpAction_PopMpls struct {
	PopMpls *OfpActionPopMpls `protobuf:"bytes,5,opt,name=pop_mpls,json=popMpls,proto3,oneof"`
}

type OfpAction_Push

type OfpAction_Push struct {
	Push *OfpActionPush `protobuf:"bytes,4,opt,name=push,proto3,oneof"`
}

type OfpAction_SetField

type OfpAction_SetField struct {
	SetField *OfpActionSetField `protobuf:"bytes,8,opt,name=set_field,json=setField,proto3,oneof"`
}

type OfpAggregateStatsReply

type OfpAggregateStatsReply struct {
	PacketCount uint64 `protobuf:"varint,1,opt,name=packet_count,json=packetCount,proto3" json:"packet_count,omitempty"` // Number of packets in flows.
	ByteCount   uint64 `protobuf:"varint,2,opt,name=byte_count,json=byteCount,proto3" json:"byte_count,omitempty"`       // Number of bytes in flows.
	FlowCount   uint32 `protobuf:"varint,3,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`       // Number of flows.
	// contains filtered or unexported fields
}

Body of reply to OFPMP_AGGREGATE request.

func (*OfpAggregateStatsReply) Descriptor deprecated

func (*OfpAggregateStatsReply) Descriptor() ([]byte, []int)

Deprecated: Use OfpAggregateStatsReply.ProtoReflect.Descriptor instead.

func (*OfpAggregateStatsReply) GetByteCount

func (x *OfpAggregateStatsReply) GetByteCount() uint64

func (*OfpAggregateStatsReply) GetFlowCount

func (x *OfpAggregateStatsReply) GetFlowCount() uint32

func (*OfpAggregateStatsReply) GetPacketCount

func (x *OfpAggregateStatsReply) GetPacketCount() uint64

func (*OfpAggregateStatsReply) ProtoMessage

func (*OfpAggregateStatsReply) ProtoMessage()

func (*OfpAggregateStatsReply) ProtoReflect added in v5.7.1

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

func (*OfpAggregateStatsReply) Reset

func (x *OfpAggregateStatsReply) Reset()

func (*OfpAggregateStatsReply) String

func (x *OfpAggregateStatsReply) String() string

type OfpAggregateStatsRequest

type OfpAggregateStatsRequest struct {
	TableId    uint32    `protobuf:"varint,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
	OutPort    uint32    `protobuf:"varint,2,opt,name=out_port,json=outPort,proto3" json:"out_port,omitempty"`
	OutGroup   uint32    `protobuf:"varint,3,opt,name=out_group,json=outGroup,proto3" json:"out_group,omitempty"`
	Cookie     uint64    `protobuf:"varint,4,opt,name=cookie,proto3" json:"cookie,omitempty"`
	CookieMask uint64    `protobuf:"varint,5,opt,name=cookie_mask,json=cookieMask,proto3" json:"cookie_mask,omitempty"`
	Match      *OfpMatch `protobuf:"bytes,6,opt,name=match,proto3" json:"match,omitempty"` // Fields to match. Variable size.
	// contains filtered or unexported fields
}

Body for ofp_multipart_request of type OFPMP_AGGREGATE.

func (*OfpAggregateStatsRequest) Descriptor deprecated

func (*OfpAggregateStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use OfpAggregateStatsRequest.ProtoReflect.Descriptor instead.

func (*OfpAggregateStatsRequest) GetCookie

func (x *OfpAggregateStatsRequest) GetCookie() uint64

func (*OfpAggregateStatsRequest) GetCookieMask

func (x *OfpAggregateStatsRequest) GetCookieMask() uint64

func (*OfpAggregateStatsRequest) GetMatch

func (x *OfpAggregateStatsRequest) GetMatch() *OfpMatch

func (*OfpAggregateStatsRequest) GetOutGroup

func (x *OfpAggregateStatsRequest) GetOutGroup() uint32

func (*OfpAggregateStatsRequest) GetOutPort

func (x *OfpAggregateStatsRequest) GetOutPort() uint32

func (*OfpAggregateStatsRequest) GetTableId

func (x *OfpAggregateStatsRequest) GetTableId() uint32

func (*OfpAggregateStatsRequest) ProtoMessage

func (*OfpAggregateStatsRequest) ProtoMessage()

func (*OfpAggregateStatsRequest) ProtoReflect added in v5.7.1

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

func (*OfpAggregateStatsRequest) Reset

func (x *OfpAggregateStatsRequest) Reset()

func (*OfpAggregateStatsRequest) String

func (x *OfpAggregateStatsRequest) String() string

type OfpAsyncConfig

type OfpAsyncConfig struct {

	// ofp_header header;    /* OFPT_GET_ASYNC_REPLY or OFPT_SET_ASYNC. */
	PacketInMask    []uint32 `protobuf:"varint,1,rep,packed,name=packet_in_mask,json=packetInMask,proto3" json:"packet_in_mask,omitempty"`          // Bitmasks of OFPR_* values.
	PortStatusMask  []uint32 `protobuf:"varint,2,rep,packed,name=port_status_mask,json=portStatusMask,proto3" json:"port_status_mask,omitempty"`    // Bitmasks of OFPPR_* values.
	FlowRemovedMask []uint32 `protobuf:"varint,3,rep,packed,name=flow_removed_mask,json=flowRemovedMask,proto3" json:"flow_removed_mask,omitempty"` // Bitmasks of OFPRR_* values.
	// contains filtered or unexported fields
}

Asynchronous message configuration.

func (*OfpAsyncConfig) Descriptor deprecated

func (*OfpAsyncConfig) Descriptor() ([]byte, []int)

Deprecated: Use OfpAsyncConfig.ProtoReflect.Descriptor instead.

func (*OfpAsyncConfig) GetFlowRemovedMask

func (x *OfpAsyncConfig) GetFlowRemovedMask() []uint32

func (*OfpAsyncConfig) GetPacketInMask

func (x *OfpAsyncConfig) GetPacketInMask() []uint32

func (*OfpAsyncConfig) GetPortStatusMask

func (x *OfpAsyncConfig) GetPortStatusMask() []uint32

func (*OfpAsyncConfig) ProtoMessage

func (*OfpAsyncConfig) ProtoMessage()

func (*OfpAsyncConfig) ProtoReflect added in v5.7.1

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

func (*OfpAsyncConfig) Reset

func (x *OfpAsyncConfig) Reset()

func (*OfpAsyncConfig) String

func (x *OfpAsyncConfig) String() string

type OfpBadActionCode

type OfpBadActionCode int32

ofp_error_msg 'code' values for OFPET_BAD_ACTION. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpBadActionCode_OFPBAC_BAD_TYPE           OfpBadActionCode = 0 // Unknown or unsupported action type.
	OfpBadActionCode_OFPBAC_BAD_LEN            OfpBadActionCode = 1 // Length problem in actions.
	OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER   OfpBadActionCode = 2 // Unknown experimenter id specified.
	OfpBadActionCode_OFPBAC_BAD_EXP_TYPE       OfpBadActionCode = 3 // Unknown action for experimenter id.
	OfpBadActionCode_OFPBAC_BAD_OUT_PORT       OfpBadActionCode = 4 // Problem validating output port.
	OfpBadActionCode_OFPBAC_BAD_ARGUMENT       OfpBadActionCode = 5 // Bad action argument.
	OfpBadActionCode_OFPBAC_EPERM              OfpBadActionCode = 6 // Permissions error.
	OfpBadActionCode_OFPBAC_TOO_MANY           OfpBadActionCode = 7 // Can't handle this many actions.
	OfpBadActionCode_OFPBAC_BAD_QUEUE          OfpBadActionCode = 8 // Problem validating output queue.
	OfpBadActionCode_OFPBAC_BAD_OUT_GROUP      OfpBadActionCode = 9 // Invalid group id in forward action.
	OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT OfpBadActionCode = 10
	OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER  OfpBadActionCode = 11
	OfpBadActionCode_OFPBAC_BAD_TAG            OfpBadActionCode = 12
	OfpBadActionCode_OFPBAC_BAD_SET_TYPE       OfpBadActionCode = 13 // Unsupported type in SET_FIELD action.
	OfpBadActionCode_OFPBAC_BAD_SET_LEN        OfpBadActionCode = 14 // Length problem in SET_FIELD action.
	OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT   OfpBadActionCode = 15 // Bad argument in SET_FIELD action.
)

func (OfpBadActionCode) Descriptor added in v5.7.1

func (OfpBadActionCode) Enum added in v5.7.1

func (OfpBadActionCode) EnumDescriptor deprecated

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

Deprecated: Use OfpBadActionCode.Descriptor instead.

func (OfpBadActionCode) Number added in v5.7.1

func (OfpBadActionCode) String

func (x OfpBadActionCode) String() string

func (OfpBadActionCode) Type added in v5.7.1

type OfpBadInstructionCode

type OfpBadInstructionCode int32

ofp_error_msg 'code' values for OFPET_BAD_INSTRUCTION. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpBadInstructionCode_OFPBIC_UNKNOWN_INST        OfpBadInstructionCode = 0 // Unknown instruction.
	OfpBadInstructionCode_OFPBIC_UNSUP_INST          OfpBadInstructionCode = 1
	OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID        OfpBadInstructionCode = 2 // Invalid Table-ID specified.
	OfpBadInstructionCode_OFPBIC_UNSUP_METADATA      OfpBadInstructionCode = 3 // Metadata value unsupported by datapath.
	OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK OfpBadInstructionCode = 4
	OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER    OfpBadInstructionCode = 5 // Unknown experimenter id specified.
	OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE        OfpBadInstructionCode = 6 // Unknown instruction for experimenter id.
	OfpBadInstructionCode_OFPBIC_BAD_LEN             OfpBadInstructionCode = 7 // Length problem in instructions.
	OfpBadInstructionCode_OFPBIC_EPERM               OfpBadInstructionCode = 8 // Permissions error.
)

func (OfpBadInstructionCode) Descriptor added in v5.7.1

func (OfpBadInstructionCode) Enum added in v5.7.1

func (OfpBadInstructionCode) EnumDescriptor deprecated

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

Deprecated: Use OfpBadInstructionCode.Descriptor instead.

func (OfpBadInstructionCode) Number added in v5.7.1

func (OfpBadInstructionCode) String

func (x OfpBadInstructionCode) String() string

func (OfpBadInstructionCode) Type added in v5.7.1

type OfpBadMatchCode

type OfpBadMatchCode int32

ofp_error_msg 'code' values for OFPET_BAD_MATCH. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpBadMatchCode_OFPBMC_BAD_TYPE         OfpBadMatchCode = 0
	OfpBadMatchCode_OFPBMC_BAD_LEN          OfpBadMatchCode = 1 // Length problem in match.
	OfpBadMatchCode_OFPBMC_BAD_TAG          OfpBadMatchCode = 2 // Match uses an unsupported tag/encap.
	OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK OfpBadMatchCode = 3
	OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK OfpBadMatchCode = 4
	OfpBadMatchCode_OFPBMC_BAD_WILDCARDS    OfpBadMatchCode = 5
	OfpBadMatchCode_OFPBMC_BAD_FIELD        OfpBadMatchCode = 6 // Unsupported field type in the match.
	OfpBadMatchCode_OFPBMC_BAD_VALUE        OfpBadMatchCode = 7 // Unsupported value in a match field.
	OfpBadMatchCode_OFPBMC_BAD_MASK         OfpBadMatchCode = 8
	OfpBadMatchCode_OFPBMC_BAD_PREREQ       OfpBadMatchCode = 9  // A prerequisite was not met.
	OfpBadMatchCode_OFPBMC_DUP_FIELD        OfpBadMatchCode = 10 // A field type was duplicated.
	OfpBadMatchCode_OFPBMC_EPERM            OfpBadMatchCode = 11 // Permissions error.
)

func (OfpBadMatchCode) Descriptor added in v5.7.1

func (OfpBadMatchCode) Enum added in v5.7.1

func (x OfpBadMatchCode) Enum() *OfpBadMatchCode

func (OfpBadMatchCode) EnumDescriptor deprecated

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

Deprecated: Use OfpBadMatchCode.Descriptor instead.

func (OfpBadMatchCode) Number added in v5.7.1

func (OfpBadMatchCode) String

func (x OfpBadMatchCode) String() string

func (OfpBadMatchCode) Type added in v5.7.1

type OfpBadRequestCode

type OfpBadRequestCode int32

ofp_error_msg 'code' values for OFPET_BAD_REQUEST. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpBadRequestCode_OFPBRC_BAD_VERSION               OfpBadRequestCode = 0 // ofp_header.version not supported.
	OfpBadRequestCode_OFPBRC_BAD_TYPE                  OfpBadRequestCode = 1 // ofp_header.type not supported.
	OfpBadRequestCode_OFPBRC_BAD_MULTIPART             OfpBadRequestCode = 2 // ofp_multipart_request.type not supported.
	OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER          OfpBadRequestCode = 3
	OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE              OfpBadRequestCode = 4 // Experimenter type not supported.
	OfpBadRequestCode_OFPBRC_EPERM                     OfpBadRequestCode = 5 // Permissions error.
	OfpBadRequestCode_OFPBRC_BAD_LEN                   OfpBadRequestCode = 6 // Wrong request length for type.
	OfpBadRequestCode_OFPBRC_BUFFER_EMPTY              OfpBadRequestCode = 7 // Specified buffer has already been used.
	OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN            OfpBadRequestCode = 8 // Specified buffer does not exist.
	OfpBadRequestCode_OFPBRC_BAD_TABLE_ID              OfpBadRequestCode = 9
	OfpBadRequestCode_OFPBRC_IS_SLAVE                  OfpBadRequestCode = 10 // Denied because controller is slave.
	OfpBadRequestCode_OFPBRC_BAD_PORT                  OfpBadRequestCode = 11 // Invalid port.
	OfpBadRequestCode_OFPBRC_BAD_PACKET                OfpBadRequestCode = 12 // Invalid packet in packet-out.
	OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW OfpBadRequestCode = 13
)

func (OfpBadRequestCode) Descriptor added in v5.7.1

func (OfpBadRequestCode) Enum added in v5.7.1

func (OfpBadRequestCode) EnumDescriptor deprecated

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

Deprecated: Use OfpBadRequestCode.Descriptor instead.

func (OfpBadRequestCode) Number added in v5.7.1

func (OfpBadRequestCode) String

func (x OfpBadRequestCode) String() string

func (OfpBadRequestCode) Type added in v5.7.1

type OfpBucket

type OfpBucket struct {
	Weight     uint32       `protobuf:"varint,1,opt,name=weight,proto3" json:"weight,omitempty"`
	WatchPort  uint32       `protobuf:"varint,2,opt,name=watch_port,json=watchPort,proto3" json:"watch_port,omitempty"`
	WatchGroup uint32       `protobuf:"varint,3,opt,name=watch_group,json=watchGroup,proto3" json:"watch_group,omitempty"`
	Actions    []*OfpAction `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

Bucket for use in groups.

func (*OfpBucket) Descriptor deprecated

func (*OfpBucket) Descriptor() ([]byte, []int)

Deprecated: Use OfpBucket.ProtoReflect.Descriptor instead.

func (*OfpBucket) GetActions

func (x *OfpBucket) GetActions() []*OfpAction

func (*OfpBucket) GetWatchGroup

func (x *OfpBucket) GetWatchGroup() uint32

func (*OfpBucket) GetWatchPort

func (x *OfpBucket) GetWatchPort() uint32

func (*OfpBucket) GetWeight

func (x *OfpBucket) GetWeight() uint32

func (*OfpBucket) ProtoMessage

func (*OfpBucket) ProtoMessage()

func (*OfpBucket) ProtoReflect added in v5.7.1

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

func (*OfpBucket) Reset

func (x *OfpBucket) Reset()

func (*OfpBucket) String

func (x *OfpBucket) String() string

type OfpBucketCounter

type OfpBucketCounter struct {
	PacketCount uint64 `protobuf:"varint,1,opt,name=packet_count,json=packetCount,proto3" json:"packet_count,omitempty"` // Number of packets processed by bucket.
	ByteCount   uint64 `protobuf:"varint,2,opt,name=byte_count,json=byteCount,proto3" json:"byte_count,omitempty"`       // Number of bytes processed by bucket.
	// contains filtered or unexported fields
}

Used in group stats replies.

func (*OfpBucketCounter) Descriptor deprecated

func (*OfpBucketCounter) Descriptor() ([]byte, []int)

Deprecated: Use OfpBucketCounter.ProtoReflect.Descriptor instead.

func (*OfpBucketCounter) GetByteCount

func (x *OfpBucketCounter) GetByteCount() uint64

func (*OfpBucketCounter) GetPacketCount

func (x *OfpBucketCounter) GetPacketCount() uint64

func (*OfpBucketCounter) ProtoMessage

func (*OfpBucketCounter) ProtoMessage()

func (*OfpBucketCounter) ProtoReflect added in v5.7.1

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

func (*OfpBucketCounter) Reset

func (x *OfpBucketCounter) Reset()

func (*OfpBucketCounter) String

func (x *OfpBucketCounter) String() string

type OfpCapabilities

type OfpCapabilities int32

Capabilities supported by the datapath.

const (
	OfpCapabilities_OFPC_INVALID      OfpCapabilities = 0
	OfpCapabilities_OFPC_FLOW_STATS   OfpCapabilities = 1   // Flow statistics.
	OfpCapabilities_OFPC_TABLE_STATS  OfpCapabilities = 2   // Table statistics.
	OfpCapabilities_OFPC_PORT_STATS   OfpCapabilities = 4   // Port statistics.
	OfpCapabilities_OFPC_GROUP_STATS  OfpCapabilities = 8   // Group statistics.
	OfpCapabilities_OFPC_IP_REASM     OfpCapabilities = 32  // Can reassemble IP fragments.
	OfpCapabilities_OFPC_QUEUE_STATS  OfpCapabilities = 64  // Queue statistics.
	OfpCapabilities_OFPC_PORT_BLOCKED OfpCapabilities = 256 // Switch will block looping ports.
)

func (OfpCapabilities) Descriptor added in v5.7.1

func (OfpCapabilities) Enum added in v5.7.1

func (x OfpCapabilities) Enum() *OfpCapabilities

func (OfpCapabilities) EnumDescriptor deprecated

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

Deprecated: Use OfpCapabilities.Descriptor instead.

func (OfpCapabilities) Number added in v5.7.1

func (OfpCapabilities) String

func (x OfpCapabilities) String() string

func (OfpCapabilities) Type added in v5.7.1

type OfpConfigFlags

type OfpConfigFlags int32
const (
	// Handling of IP fragments.
	OfpConfigFlags_OFPC_FRAG_NORMAL OfpConfigFlags = 0 // No special handling for fragments.
	OfpConfigFlags_OFPC_FRAG_DROP   OfpConfigFlags = 1 // Drop fragments.
	OfpConfigFlags_OFPC_FRAG_REASM  OfpConfigFlags = 2 // Reassemble (only if OFPC_IP_REASM set).
	OfpConfigFlags_OFPC_FRAG_MASK   OfpConfigFlags = 3 // Bitmask of flags dealing with frag.
)

func (OfpConfigFlags) Descriptor added in v5.7.1

func (OfpConfigFlags) Enum added in v5.7.1

func (x OfpConfigFlags) Enum() *OfpConfigFlags

func (OfpConfigFlags) EnumDescriptor deprecated

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

Deprecated: Use OfpConfigFlags.Descriptor instead.

func (OfpConfigFlags) Number added in v5.7.1

func (OfpConfigFlags) String

func (x OfpConfigFlags) String() string

func (OfpConfigFlags) Type added in v5.7.1

type OfpControllerMaxLen

type OfpControllerMaxLen int32
const (
	OfpControllerMaxLen_OFPCML_INVALID   OfpControllerMaxLen = 0
	OfpControllerMaxLen_OFPCML_MAX       OfpControllerMaxLen = 65509
	OfpControllerMaxLen_OFPCML_NO_BUFFER OfpControllerMaxLen = 65535
)

func (OfpControllerMaxLen) Descriptor added in v5.7.1

func (OfpControllerMaxLen) Enum added in v5.7.1

func (OfpControllerMaxLen) EnumDescriptor deprecated

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

Deprecated: Use OfpControllerMaxLen.Descriptor instead.

func (OfpControllerMaxLen) Number added in v5.7.1

func (OfpControllerMaxLen) String

func (x OfpControllerMaxLen) String() string

func (OfpControllerMaxLen) Type added in v5.7.1

type OfpControllerRole

type OfpControllerRole int32

Controller roles.

const (
	OfpControllerRole_OFPCR_ROLE_NOCHANGE OfpControllerRole = 0 // Don't change current role.
	OfpControllerRole_OFPCR_ROLE_EQUAL    OfpControllerRole = 1 // Default role, full access.
	OfpControllerRole_OFPCR_ROLE_MASTER   OfpControllerRole = 2 // Full access, at most one master.
	OfpControllerRole_OFPCR_ROLE_SLAVE    OfpControllerRole = 3 // Read-only access.
)

func (OfpControllerRole) Descriptor added in v5.7.1

func (OfpControllerRole) Enum added in v5.7.1

func (OfpControllerRole) EnumDescriptor deprecated

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

Deprecated: Use OfpControllerRole.Descriptor instead.

func (OfpControllerRole) Number added in v5.7.1

func (OfpControllerRole) String

func (x OfpControllerRole) String() string

func (OfpControllerRole) Type added in v5.7.1

type OfpDesc

type OfpDesc struct {
	MfrDesc   string `protobuf:"bytes,1,opt,name=mfr_desc,json=mfrDesc,proto3" json:"mfr_desc,omitempty"`       // Manufacturer description.
	HwDesc    string `protobuf:"bytes,2,opt,name=hw_desc,json=hwDesc,proto3" json:"hw_desc,omitempty"`          // Hardware description.
	SwDesc    string `protobuf:"bytes,3,opt,name=sw_desc,json=swDesc,proto3" json:"sw_desc,omitempty"`          // Software description.
	SerialNum string `protobuf:"bytes,4,opt,name=serial_num,json=serialNum,proto3" json:"serial_num,omitempty"` // Serial number.
	DpDesc    string `protobuf:"bytes,5,opt,name=dp_desc,json=dpDesc,proto3" json:"dp_desc,omitempty"`          // Human readable description of datapath.
	// contains filtered or unexported fields
}

Body of reply to OFPMP_DESC request. Each entry is a NULL-terminated ASCII string.

func (*OfpDesc) Descriptor deprecated

func (*OfpDesc) Descriptor() ([]byte, []int)

Deprecated: Use OfpDesc.ProtoReflect.Descriptor instead.

func (*OfpDesc) GetDpDesc

func (x *OfpDesc) GetDpDesc() string

func (*OfpDesc) GetHwDesc

func (x *OfpDesc) GetHwDesc() string

func (*OfpDesc) GetMfrDesc

func (x *OfpDesc) GetMfrDesc() string

func (*OfpDesc) GetSerialNum

func (x *OfpDesc) GetSerialNum() string

func (*OfpDesc) GetSwDesc

func (x *OfpDesc) GetSwDesc() string

func (*OfpDesc) ProtoMessage

func (*OfpDesc) ProtoMessage()

func (*OfpDesc) ProtoReflect added in v5.7.1

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

func (*OfpDesc) Reset

func (x *OfpDesc) Reset()

func (*OfpDesc) String

func (x *OfpDesc) String() string

type OfpDeviceConnection

type OfpDeviceConnection int32

What changed about the physical device

const (
	OfpDeviceConnection_OFPDEV_CONNECTED    OfpDeviceConnection = 0 // The device connected.
	OfpDeviceConnection_OFPDEV_DISCONNECTED OfpDeviceConnection = 1 // The device disconnected.
)

func (OfpDeviceConnection) Descriptor added in v5.7.1

func (OfpDeviceConnection) Enum added in v5.7.1

func (OfpDeviceConnection) EnumDescriptor deprecated

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

Deprecated: Use OfpDeviceConnection.Descriptor instead.

func (OfpDeviceConnection) Number added in v5.7.1

func (OfpDeviceConnection) String

func (x OfpDeviceConnection) String() string

func (OfpDeviceConnection) Type added in v5.7.1

type OfpDeviceStatus

type OfpDeviceStatus struct {

	// ofp_header header;
	Status OfpDeviceConnection `protobuf:"varint,1,opt,name=status,proto3,enum=openflow_13.OfpDeviceConnection" json:"status,omitempty"` // One of OFPDEV_*.
	// contains filtered or unexported fields
}

A physical device has changed in the datapath

func (*OfpDeviceStatus) Descriptor deprecated

func (*OfpDeviceStatus) Descriptor() ([]byte, []int)

Deprecated: Use OfpDeviceStatus.ProtoReflect.Descriptor instead.

func (*OfpDeviceStatus) GetStatus

func (x *OfpDeviceStatus) GetStatus() OfpDeviceConnection

func (*OfpDeviceStatus) ProtoMessage

func (*OfpDeviceStatus) ProtoMessage()

func (*OfpDeviceStatus) ProtoReflect added in v5.7.1

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

func (*OfpDeviceStatus) Reset

func (x *OfpDeviceStatus) Reset()

func (*OfpDeviceStatus) String

func (x *OfpDeviceStatus) String() string

type OfpErrorExperimenterMsg

type OfpErrorExperimenterMsg struct {
	Type         uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`                      // OFPET_EXPERIMENTER.
	ExpType      uint32 `protobuf:"varint,2,opt,name=exp_type,json=expType,proto3" json:"exp_type,omitempty"` // Experimenter defined.
	Experimenter uint32 `protobuf:"varint,3,opt,name=experimenter,proto3" json:"experimenter,omitempty"`
	Data         []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

OFPET_EXPERIMENTER: Error message (datapath -> controller).

func (*OfpErrorExperimenterMsg) Descriptor deprecated

func (*OfpErrorExperimenterMsg) Descriptor() ([]byte, []int)

Deprecated: Use OfpErrorExperimenterMsg.ProtoReflect.Descriptor instead.

func (*OfpErrorExperimenterMsg) GetData

func (x *OfpErrorExperimenterMsg) GetData() []byte

func (*OfpErrorExperimenterMsg) GetExpType

func (x *OfpErrorExperimenterMsg) GetExpType() uint32

func (*OfpErrorExperimenterMsg) GetExperimenter

func (x *OfpErrorExperimenterMsg) GetExperimenter() uint32

func (*OfpErrorExperimenterMsg) GetType

func (x *OfpErrorExperimenterMsg) GetType() uint32

func (*OfpErrorExperimenterMsg) ProtoMessage

func (*OfpErrorExperimenterMsg) ProtoMessage()

func (*OfpErrorExperimenterMsg) ProtoReflect added in v5.7.1

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

func (*OfpErrorExperimenterMsg) Reset

func (x *OfpErrorExperimenterMsg) Reset()

func (*OfpErrorExperimenterMsg) String

func (x *OfpErrorExperimenterMsg) String() string

type OfpErrorMsg

type OfpErrorMsg struct {
	Header *OfpHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Type   uint32     `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
	Code   uint32     `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"`
	Data   []byte     `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

OFPT_ERROR: Error message (datapath -> controller).

func (*OfpErrorMsg) Descriptor deprecated

func (*OfpErrorMsg) Descriptor() ([]byte, []int)

Deprecated: Use OfpErrorMsg.ProtoReflect.Descriptor instead.

func (*OfpErrorMsg) GetCode

func (x *OfpErrorMsg) GetCode() uint32

func (*OfpErrorMsg) GetData

func (x *OfpErrorMsg) GetData() []byte

func (*OfpErrorMsg) GetHeader

func (x *OfpErrorMsg) GetHeader() *OfpHeader

func (*OfpErrorMsg) GetType

func (x *OfpErrorMsg) GetType() uint32

func (*OfpErrorMsg) ProtoMessage

func (*OfpErrorMsg) ProtoMessage()

func (*OfpErrorMsg) ProtoReflect added in v5.7.1

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

func (*OfpErrorMsg) Reset

func (x *OfpErrorMsg) Reset()

func (*OfpErrorMsg) String

func (x *OfpErrorMsg) String() string

type OfpErrorType

type OfpErrorType int32

Values for 'type' in ofp_error_message. These values are immutable: they will not change in future versions of the protocol (although new values may be added).

const (
	OfpErrorType_OFPET_HELLO_FAILED          OfpErrorType = 0     // Hello protocol failed.
	OfpErrorType_OFPET_BAD_REQUEST           OfpErrorType = 1     // Request was not understood.
	OfpErrorType_OFPET_BAD_ACTION            OfpErrorType = 2     // Error in action description.
	OfpErrorType_OFPET_BAD_INSTRUCTION       OfpErrorType = 3     // Error in instruction list.
	OfpErrorType_OFPET_BAD_MATCH             OfpErrorType = 4     // Error in match.
	OfpErrorType_OFPET_FLOW_MOD_FAILED       OfpErrorType = 5     // Problem modifying flow entry.
	OfpErrorType_OFPET_GROUP_MOD_FAILED      OfpErrorType = 6     // Problem modifying group entry.
	OfpErrorType_OFPET_PORT_MOD_FAILED       OfpErrorType = 7     // Port mod request failed.
	OfpErrorType_OFPET_TABLE_MOD_FAILED      OfpErrorType = 8     // Table mod request failed.
	OfpErrorType_OFPET_QUEUE_OP_FAILED       OfpErrorType = 9     // Queue operation failed.
	OfpErrorType_OFPET_SWITCH_CONFIG_FAILED  OfpErrorType = 10    // Switch config request failed.
	OfpErrorType_OFPET_ROLE_REQUEST_FAILED   OfpErrorType = 11    // Controller Role request failed.
	OfpErrorType_OFPET_METER_MOD_FAILED      OfpErrorType = 12    // Error in meter.
	OfpErrorType_OFPET_TABLE_FEATURES_FAILED OfpErrorType = 13    // Setting table features failed.
	OfpErrorType_OFPET_EXPERIMENTER          OfpErrorType = 65535 // Experimenter error messages.
)

func (OfpErrorType) Descriptor added in v5.7.1

func (OfpErrorType) Enum added in v5.7.1

func (x OfpErrorType) Enum() *OfpErrorType

func (OfpErrorType) EnumDescriptor deprecated

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

Deprecated: Use OfpErrorType.Descriptor instead.

func (OfpErrorType) Number added in v5.7.1

func (OfpErrorType) String

func (x OfpErrorType) String() string

func (OfpErrorType) Type added in v5.7.1

type OfpExperimenterHeader

type OfpExperimenterHeader struct {

	// ofp_header header;  /* Type OFPT_EXPERIMENTER. */
	Experimenter uint32 `protobuf:"varint,1,opt,name=experimenter,proto3" json:"experimenter,omitempty"`
	ExpType      uint32 `protobuf:"varint,2,opt,name=exp_type,json=expType,proto3" json:"exp_type,omitempty"` // Experimenter defined.
	Data         []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`                       // Experimenter-defined arbitrary additional data.
	// contains filtered or unexported fields
}

Experimenter extension.

func (*OfpExperimenterHeader) Descriptor deprecated

func (*OfpExperimenterHeader) Descriptor() ([]byte, []int)

Deprecated: Use OfpExperimenterHeader.ProtoReflect.Descriptor instead.

func (*OfpExperimenterHeader) GetData

func (x *OfpExperimenterHeader) GetData() []byte

func (*OfpExperimenterHeader) GetExpType

func (x *OfpExperimenterHeader) GetExpType() uint32

func (*OfpExperimenterHeader) GetExperimenter

func (x *OfpExperimenterHeader) GetExperimenter() uint32

func (*OfpExperimenterHeader) ProtoMessage

func (*OfpExperimenterHeader) ProtoMessage()

func (*OfpExperimenterHeader) ProtoReflect added in v5.7.1

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

func (*OfpExperimenterHeader) Reset

func (x *OfpExperimenterHeader) Reset()

func (*OfpExperimenterHeader) String

func (x *OfpExperimenterHeader) String() string

type OfpExperimenterMultipartHeader

type OfpExperimenterMultipartHeader struct {
	Experimenter uint32 `protobuf:"varint,1,opt,name=experimenter,proto3" json:"experimenter,omitempty"`
	ExpType      uint32 `protobuf:"varint,2,opt,name=exp_type,json=expType,proto3" json:"exp_type,omitempty"` // Experimenter defined.
	Data         []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`                       // Experimenter-defined arbitrary additional data.
	// contains filtered or unexported fields
}

Body for ofp_multipart_request/reply of type OFPMP_EXPERIMENTER.

func (*OfpExperimenterMultipartHeader) Descriptor deprecated

func (*OfpExperimenterMultipartHeader) Descriptor() ([]byte, []int)

Deprecated: Use OfpExperimenterMultipartHeader.ProtoReflect.Descriptor instead.

func (*OfpExperimenterMultipartHeader) GetData

func (x *OfpExperimenterMultipartHeader) GetData() []byte

func (*OfpExperimenterMultipartHeader) GetExpType

func (x *OfpExperimenterMultipartHeader) GetExpType() uint32

func (*OfpExperimenterMultipartHeader) GetExperimenter

func (x *OfpExperimenterMultipartHeader) GetExperimenter() uint32

func (*OfpExperimenterMultipartHeader) ProtoMessage

func (*OfpExperimenterMultipartHeader) ProtoMessage()

func (*OfpExperimenterMultipartHeader) ProtoReflect added in v5.7.1

func (*OfpExperimenterMultipartHeader) Reset

func (x *OfpExperimenterMultipartHeader) Reset()

func (*OfpExperimenterMultipartHeader) String

type OfpFlowMod

type OfpFlowMod struct {

	// ofp_header header;
	Cookie       uint64            `protobuf:"varint,1,opt,name=cookie,proto3" json:"cookie,omitempty"` // Opaque controller-issued identifier.
	CookieMask   uint64            `protobuf:"varint,2,opt,name=cookie_mask,json=cookieMask,proto3" json:"cookie_mask,omitempty"`
	TableId      uint32            `protobuf:"varint,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
	Command      OfpFlowModCommand `protobuf:"varint,4,opt,name=command,proto3,enum=openflow_13.OfpFlowModCommand" json:"command,omitempty"` // One of OFPFC_*.
	IdleTimeout  uint32            `protobuf:"varint,5,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`         // Idle time before discarding (seconds).
	HardTimeout  uint32            `protobuf:"varint,6,opt,name=hard_timeout,json=hardTimeout,proto3" json:"hard_timeout,omitempty"`         // Max time before discarding (seconds).
	Priority     uint32            `protobuf:"varint,7,opt,name=priority,proto3" json:"priority,omitempty"`                                  // Priority level of flow entry.
	BufferId     uint32            `protobuf:"varint,8,opt,name=buffer_id,json=bufferId,proto3" json:"buffer_id,omitempty"`
	OutPort      uint32            `protobuf:"varint,9,opt,name=out_port,json=outPort,proto3" json:"out_port,omitempty"`
	OutGroup     uint32            `protobuf:"varint,10,opt,name=out_group,json=outGroup,proto3" json:"out_group,omitempty"`
	Flags        uint32            `protobuf:"varint,11,opt,name=flags,proto3" json:"flags,omitempty"`              // Bitmap of OFPFF_* flags.
	Match        *OfpMatch         `protobuf:"bytes,12,opt,name=match,proto3" json:"match,omitempty"`               // Fields to match. Variable size.
	Instructions []*OfpInstruction `protobuf:"bytes,13,rep,name=instructions,proto3" json:"instructions,omitempty"` // 0 or more.
	// contains filtered or unexported fields
}

Flow setup and teardown (controller -> datapath).

func (*OfpFlowMod) Descriptor deprecated

func (*OfpFlowMod) Descriptor() ([]byte, []int)

Deprecated: Use OfpFlowMod.ProtoReflect.Descriptor instead.

func (*OfpFlowMod) GetBufferId

func (x *OfpFlowMod) GetBufferId() uint32

func (*OfpFlowMod) GetCommand

func (x *OfpFlowMod) GetCommand() OfpFlowModCommand

func (*OfpFlowMod) GetCookie

func (x *OfpFlowMod) GetCookie() uint64

func (*OfpFlowMod) GetCookieMask

func (x *OfpFlowMod) GetCookieMask() uint64

func (*OfpFlowMod) GetFlags

func (x *OfpFlowMod) GetFlags() uint32

func (*OfpFlowMod) GetHardTimeout

func (x *OfpFlowMod) GetHardTimeout() uint32

func (*OfpFlowMod) GetIdleTimeout

func (x *OfpFlowMod) GetIdleTimeout() uint32

func (*OfpFlowMod) GetInstructions

func (x *OfpFlowMod) GetInstructions() []*OfpInstruction

func (*OfpFlowMod) GetMatch

func (x *OfpFlowMod) GetMatch() *OfpMatch

func (*OfpFlowMod) GetOutGroup

func (x *OfpFlowMod) GetOutGroup() uint32

func (*OfpFlowMod) GetOutPort

func (x *OfpFlowMod) GetOutPort() uint32

func (*OfpFlowMod) GetPriority

func (x *OfpFlowMod) GetPriority() uint32

func (*OfpFlowMod) GetTableId

func (x *OfpFlowMod) GetTableId() uint32

func (*OfpFlowMod) ProtoMessage

func (*OfpFlowMod) ProtoMessage()

func (*OfpFlowMod) ProtoReflect added in v5.7.1

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

func (*OfpFlowMod) Reset

func (x *OfpFlowMod) Reset()

func (*OfpFlowMod) String

func (x *OfpFlowMod) String() string

type OfpFlowModCommand

type OfpFlowModCommand int32
const (
	OfpFlowModCommand_OFPFC_ADD           OfpFlowModCommand = 0 // New flow.
	OfpFlowModCommand_OFPFC_MODIFY        OfpFlowModCommand = 1 // Modify all matching flows.
	OfpFlowModCommand_OFPFC_MODIFY_STRICT OfpFlowModCommand = 2
	OfpFlowModCommand_OFPFC_DELETE        OfpFlowModCommand = 3 // Delete all matching flows.
	OfpFlowModCommand_OFPFC_DELETE_STRICT OfpFlowModCommand = 4
)

func (OfpFlowModCommand) Descriptor added in v5.7.1

func (OfpFlowModCommand) Enum added in v5.7.1

func (OfpFlowModCommand) EnumDescriptor deprecated

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

Deprecated: Use OfpFlowModCommand.Descriptor instead.

func (OfpFlowModCommand) Number added in v5.7.1

func (OfpFlowModCommand) String

func (x OfpFlowModCommand) String() string

func (OfpFlowModCommand) Type added in v5.7.1

type OfpFlowModFailedCode

type OfpFlowModFailedCode int32

ofp_error_msg 'code' values for OFPET_FLOW_MOD_FAILED. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpFlowModFailedCode_OFPFMFC_UNKNOWN      OfpFlowModFailedCode = 0 // Unspecified error.
	OfpFlowModFailedCode_OFPFMFC_TABLE_FULL   OfpFlowModFailedCode = 1 // Flow not added because table was full.
	OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID OfpFlowModFailedCode = 2 // Table does not exist
	OfpFlowModFailedCode_OFPFMFC_OVERLAP      OfpFlowModFailedCode = 3
	OfpFlowModFailedCode_OFPFMFC_EPERM        OfpFlowModFailedCode = 4 // Permissions error.
	OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT  OfpFlowModFailedCode = 5
	OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND  OfpFlowModFailedCode = 6 // Unsupported or unknown command.
	OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS    OfpFlowModFailedCode = 7 // Unsupported or unknown flags.
)

func (OfpFlowModFailedCode) Descriptor added in v5.7.1

func (OfpFlowModFailedCode) Enum added in v5.7.1

func (OfpFlowModFailedCode) EnumDescriptor deprecated

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

Deprecated: Use OfpFlowModFailedCode.Descriptor instead.

func (OfpFlowModFailedCode) Number added in v5.7.1

func (OfpFlowModFailedCode) String

func (x OfpFlowModFailedCode) String() string

func (OfpFlowModFailedCode) Type added in v5.7.1

type OfpFlowModFlags

type OfpFlowModFlags int32
const (
	OfpFlowModFlags_OFPFF_INVALID       OfpFlowModFlags = 0
	OfpFlowModFlags_OFPFF_SEND_FLOW_REM OfpFlowModFlags = 1
	OfpFlowModFlags_OFPFF_CHECK_OVERLAP OfpFlowModFlags = 2  // Check for overlapping entries first.
	OfpFlowModFlags_OFPFF_RESET_COUNTS  OfpFlowModFlags = 4  // Reset flow packet and byte counts.
	OfpFlowModFlags_OFPFF_NO_PKT_COUNTS OfpFlowModFlags = 8  // Don't keep track of packet count.
	OfpFlowModFlags_OFPFF_NO_BYT_COUNTS OfpFlowModFlags = 16 // Don't keep track of byte count.
)

func (OfpFlowModFlags) Descriptor added in v5.7.1

func (OfpFlowModFlags) Enum added in v5.7.1

func (x OfpFlowModFlags) Enum() *OfpFlowModFlags

func (OfpFlowModFlags) EnumDescriptor deprecated

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

Deprecated: Use OfpFlowModFlags.Descriptor instead.

func (OfpFlowModFlags) Number added in v5.7.1

func (OfpFlowModFlags) String

func (x OfpFlowModFlags) String() string

func (OfpFlowModFlags) Type added in v5.7.1

type OfpFlowRemoved

type OfpFlowRemoved struct {

	// ofp_header header;
	Cookie       uint64               `protobuf:"varint,1,opt,name=cookie,proto3" json:"cookie,omitempty"`                                       // Opaque controller-issued identifier.
	Priority     uint32               `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`                                   // Priority level of flow entry.
	Reason       OfpFlowRemovedReason `protobuf:"varint,3,opt,name=reason,proto3,enum=openflow_13.OfpFlowRemovedReason" json:"reason,omitempty"` // One of OFPRR_*.
	TableId      uint32               `protobuf:"varint,4,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`                      // ID of the table
	DurationSec  uint32               `protobuf:"varint,5,opt,name=duration_sec,json=durationSec,proto3" json:"duration_sec,omitempty"`          // Time flow was alive in seconds.
	DurationNsec uint32               `protobuf:"varint,6,opt,name=duration_nsec,json=durationNsec,proto3" json:"duration_nsec,omitempty"`
	IdleTimeout  uint32               `protobuf:"varint,7,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"` // Idle timeout from original flow mod.
	HardTimeout  uint32               `protobuf:"varint,8,opt,name=hard_timeout,json=hardTimeout,proto3" json:"hard_timeout,omitempty"` // Hard timeout from original flow mod.
	PacketCount  uint64               `protobuf:"varint,9,opt,name=packet_count,json=packetCount,proto3" json:"packet_count,omitempty"`
	ByteCount    uint64               `protobuf:"varint,10,opt,name=byte_count,json=byteCount,proto3" json:"byte_count,omitempty"`
	Match        *OfpMatch            `protobuf:"bytes,121,opt,name=match,proto3" json:"match,omitempty"` // Description of fields. Variable size.
	// contains filtered or unexported fields
}

Flow removed (datapath -> controller).

func (*OfpFlowRemoved) Descriptor deprecated

func (*OfpFlowRemoved) Descriptor() ([]byte, []int)

Deprecated: Use OfpFlowRemoved.ProtoReflect.Descriptor instead.

func (*OfpFlowRemoved) GetByteCount

func (x *OfpFlowRemoved) GetByteCount() uint64

func (*OfpFlowRemoved) GetCookie

func (x *OfpFlowRemoved) GetCookie() uint64

func (*OfpFlowRemoved) GetDurationNsec

func (x *OfpFlowRemoved) GetDurationNsec() uint32

func (*OfpFlowRemoved) GetDurationSec

func (x *OfpFlowRemoved) GetDurationSec() uint32

func (*OfpFlowRemoved) GetHardTimeout

func (x *OfpFlowRemoved) GetHardTimeout() uint32

func (*OfpFlowRemoved) GetIdleTimeout

func (x *OfpFlowRemoved) GetIdleTimeout() uint32

func (*OfpFlowRemoved) GetMatch

func (x *OfpFlowRemoved) GetMatch() *OfpMatch

func (*OfpFlowRemoved) GetPacketCount

func (x *OfpFlowRemoved) GetPacketCount() uint64

func (*OfpFlowRemoved) GetPriority

func (x *OfpFlowRemoved) GetPriority() uint32

func (*OfpFlowRemoved) GetReason

func (x *OfpFlowRemoved) GetReason() OfpFlowRemovedReason

func (*OfpFlowRemoved) GetTableId

func (x *OfpFlowRemoved) GetTableId() uint32

func (*OfpFlowRemoved) ProtoMessage

func (*OfpFlowRemoved) ProtoMessage()

func (*OfpFlowRemoved) ProtoReflect added in v5.7.1

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

func (*OfpFlowRemoved) Reset

func (x *OfpFlowRemoved) Reset()

func (*OfpFlowRemoved) String

func (x *OfpFlowRemoved) String() string

type OfpFlowRemovedReason

type OfpFlowRemovedReason int32

Why was this flow removed?

const (
	OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT OfpFlowRemovedReason = 0 // Flow idle time exceeded idle_timeout.
	OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT OfpFlowRemovedReason = 1 // Time exceeded hard_timeout.
	OfpFlowRemovedReason_OFPRR_DELETE       OfpFlowRemovedReason = 2 // Evicted by a DELETE flow mod.
	OfpFlowRemovedReason_OFPRR_GROUP_DELETE OfpFlowRemovedReason = 3 // Group was removed.
	OfpFlowRemovedReason_OFPRR_METER_DELETE OfpFlowRemovedReason = 4 // Meter was removed
)

func (OfpFlowRemovedReason) Descriptor added in v5.7.1

func (OfpFlowRemovedReason) Enum added in v5.7.1

func (OfpFlowRemovedReason) EnumDescriptor deprecated

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

Deprecated: Use OfpFlowRemovedReason.Descriptor instead.

func (OfpFlowRemovedReason) Number added in v5.7.1

func (OfpFlowRemovedReason) String

func (x OfpFlowRemovedReason) String() string

func (OfpFlowRemovedReason) Type added in v5.7.1

type OfpFlowStats

type OfpFlowStats struct {
	Id           uint64            `protobuf:"varint,14,opt,name=id,proto3" json:"id,omitempty"`                                     // Unique ID of flow within device.
	TableId      uint32            `protobuf:"varint,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`             // ID of table flow came from.
	DurationSec  uint32            `protobuf:"varint,2,opt,name=duration_sec,json=durationSec,proto3" json:"duration_sec,omitempty"` // Time flow has been alive in seconds.
	DurationNsec uint32            `protobuf:"varint,3,opt,name=duration_nsec,json=durationNsec,proto3" json:"duration_nsec,omitempty"`
	Priority     uint32            `protobuf:"varint,4,opt,name=priority,proto3" json:"priority,omitempty"`                          // Priority of the entry.
	IdleTimeout  uint32            `protobuf:"varint,5,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"` // Number of seconds idle before expiration.
	HardTimeout  uint32            `protobuf:"varint,6,opt,name=hard_timeout,json=hardTimeout,proto3" json:"hard_timeout,omitempty"` // Number of seconds before expiration.
	Flags        uint32            `protobuf:"varint,7,opt,name=flags,proto3" json:"flags,omitempty"`                                // Bitmap of OFPFF_* flags.
	Cookie       uint64            `protobuf:"varint,8,opt,name=cookie,proto3" json:"cookie,omitempty"`                              // Opaque controller-issued identifier.
	PacketCount  uint64            `protobuf:"varint,9,opt,name=packet_count,json=packetCount,proto3" json:"packet_count,omitempty"` // Number of packets in flow.
	ByteCount    uint64            `protobuf:"varint,10,opt,name=byte_count,json=byteCount,proto3" json:"byte_count,omitempty"`      // Number of bytes in flow.
	Match        *OfpMatch         `protobuf:"bytes,12,opt,name=match,proto3" json:"match,omitempty"`                                // Description of fields. Variable size.
	Instructions []*OfpInstruction `protobuf:"bytes,13,rep,name=instructions,proto3" json:"instructions,omitempty"`
	// contains filtered or unexported fields
}

Body of reply to OFPMP_FLOW request.

func (*OfpFlowStats) Descriptor deprecated

func (*OfpFlowStats) Descriptor() ([]byte, []int)

Deprecated: Use OfpFlowStats.ProtoReflect.Descriptor instead.

func (*OfpFlowStats) GetByteCount

func (x *OfpFlowStats) GetByteCount() uint64

func (*OfpFlowStats) GetCookie

func (x *OfpFlowStats) GetCookie() uint64

func (*OfpFlowStats) GetDurationNsec

func (x *OfpFlowStats) GetDurationNsec() uint32

func (*OfpFlowStats) GetDurationSec

func (x *OfpFlowStats) GetDurationSec() uint32

func (*OfpFlowStats) GetFlags

func (x *OfpFlowStats) GetFlags() uint32

func (*OfpFlowStats) GetHardTimeout

func (x *OfpFlowStats) GetHardTimeout() uint32

func (*OfpFlowStats) GetId

func (x *OfpFlowStats) GetId() uint64

func (*OfpFlowStats) GetIdleTimeout

func (x *OfpFlowStats) GetIdleTimeout() uint32

func (*OfpFlowStats) GetInstructions

func (x *OfpFlowStats) GetInstructions() []*OfpInstruction

func (*OfpFlowStats) GetMatch

func (x *OfpFlowStats) GetMatch() *OfpMatch

func (*OfpFlowStats) GetPacketCount

func (x *OfpFlowStats) GetPacketCount() uint64

func (*OfpFlowStats) GetPriority

func (x *OfpFlowStats) GetPriority() uint32

func (*OfpFlowStats) GetTableId

func (x *OfpFlowStats) GetTableId() uint32

func (*OfpFlowStats) ProtoMessage

func (*OfpFlowStats) ProtoMessage()

func (*OfpFlowStats) ProtoReflect added in v5.7.1

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

func (*OfpFlowStats) Reset

func (x *OfpFlowStats) Reset()

func (*OfpFlowStats) String

func (x *OfpFlowStats) String() string

type OfpFlowStatsRequest

type OfpFlowStatsRequest struct {
	TableId    uint32    `protobuf:"varint,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
	OutPort    uint32    `protobuf:"varint,2,opt,name=out_port,json=outPort,proto3" json:"out_port,omitempty"`
	OutGroup   uint32    `protobuf:"varint,3,opt,name=out_group,json=outGroup,proto3" json:"out_group,omitempty"`
	Cookie     uint64    `protobuf:"varint,4,opt,name=cookie,proto3" json:"cookie,omitempty"`
	CookieMask uint64    `protobuf:"varint,5,opt,name=cookie_mask,json=cookieMask,proto3" json:"cookie_mask,omitempty"`
	Match      *OfpMatch `protobuf:"bytes,6,opt,name=match,proto3" json:"match,omitempty"` // Fields to match. Variable size.
	// contains filtered or unexported fields
}

Body for ofp_multipart_request of type OFPMP_FLOW.

func (*OfpFlowStatsRequest) Descriptor deprecated

func (*OfpFlowStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use OfpFlowStatsRequest.ProtoReflect.Descriptor instead.

func (*OfpFlowStatsRequest) GetCookie

func (x *OfpFlowStatsRequest) GetCookie() uint64

func (*OfpFlowStatsRequest) GetCookieMask

func (x *OfpFlowStatsRequest) GetCookieMask() uint64

func (*OfpFlowStatsRequest) GetMatch

func (x *OfpFlowStatsRequest) GetMatch() *OfpMatch

func (*OfpFlowStatsRequest) GetOutGroup

func (x *OfpFlowStatsRequest) GetOutGroup() uint32

func (*OfpFlowStatsRequest) GetOutPort

func (x *OfpFlowStatsRequest) GetOutPort() uint32

func (*OfpFlowStatsRequest) GetTableId

func (x *OfpFlowStatsRequest) GetTableId() uint32

func (*OfpFlowStatsRequest) ProtoMessage

func (*OfpFlowStatsRequest) ProtoMessage()

func (*OfpFlowStatsRequest) ProtoReflect added in v5.7.1

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

func (*OfpFlowStatsRequest) Reset

func (x *OfpFlowStatsRequest) Reset()

func (*OfpFlowStatsRequest) String

func (x *OfpFlowStatsRequest) String() string

type OfpGroup

type OfpGroup int32

Group numbering. Groups can use any number up to OFPG_MAX.

const (
	OfpGroup_OFPG_INVALID OfpGroup = 0
	// Last usable group number.
	OfpGroup_OFPG_MAX OfpGroup = 2147483392
	// Fake groups.
	OfpGroup_OFPG_ALL OfpGroup = 2147483644
	OfpGroup_OFPG_ANY OfpGroup = 2147483647 // Special wildcard: no group specified.
)

func (OfpGroup) Descriptor added in v5.7.1

func (OfpGroup) Descriptor() protoreflect.EnumDescriptor

func (OfpGroup) Enum added in v5.7.1

func (x OfpGroup) Enum() *OfpGroup

func (OfpGroup) EnumDescriptor deprecated

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

Deprecated: Use OfpGroup.Descriptor instead.

func (OfpGroup) Number added in v5.7.1

func (x OfpGroup) Number() protoreflect.EnumNumber

func (OfpGroup) String

func (x OfpGroup) String() string

func (OfpGroup) Type added in v5.7.1

type OfpGroupCapabilities

type OfpGroupCapabilities int32

Group configuration flags

const (
	OfpGroupCapabilities_OFPGFC_INVALID         OfpGroupCapabilities = 0
	OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT   OfpGroupCapabilities = 1 // Support weight for select groups
	OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS OfpGroupCapabilities = 2 // Support liveness for select groups
	OfpGroupCapabilities_OFPGFC_CHAINING        OfpGroupCapabilities = 4 // Support chaining groups
	OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS OfpGroupCapabilities = 8 // Check chaining for loops and delete
)

func (OfpGroupCapabilities) Descriptor added in v5.7.1

func (OfpGroupCapabilities) Enum added in v5.7.1

func (OfpGroupCapabilities) EnumDescriptor deprecated

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

Deprecated: Use OfpGroupCapabilities.Descriptor instead.

func (OfpGroupCapabilities) Number added in v5.7.1

func (OfpGroupCapabilities) String

func (x OfpGroupCapabilities) String() string

func (OfpGroupCapabilities) Type added in v5.7.1

type OfpGroupDesc

type OfpGroupDesc struct {
	Type    OfpGroupType `protobuf:"varint,1,opt,name=type,proto3,enum=openflow_13.OfpGroupType" json:"type,omitempty"` // One of OFPGT_*.
	GroupId uint32       `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`          // Group identifier.
	Buckets []*OfpBucket `protobuf:"bytes,3,rep,name=buckets,proto3" json:"buckets,omitempty"`                          // List of buckets - 0 or more.
	// contains filtered or unexported fields
}

Body of reply to OFPMP_GROUP_DESC request.

func (*OfpGroupDesc) Descriptor deprecated

func (*OfpGroupDesc) Descriptor() ([]byte, []int)

Deprecated: Use OfpGroupDesc.ProtoReflect.Descriptor instead.

func (*OfpGroupDesc) GetBuckets

func (x *OfpGroupDesc) GetBuckets() []*OfpBucket

func (*OfpGroupDesc) GetGroupId

func (x *OfpGroupDesc) GetGroupId() uint32

func (*OfpGroupDesc) GetType

func (x *OfpGroupDesc) GetType() OfpGroupType

func (*OfpGroupDesc) ProtoMessage

func (*OfpGroupDesc) ProtoMessage()

func (*OfpGroupDesc) ProtoReflect added in v5.7.1

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

func (*OfpGroupDesc) Reset

func (x *OfpGroupDesc) Reset()

func (*OfpGroupDesc) String

func (x *OfpGroupDesc) String() string

type OfpGroupEntry

type OfpGroupEntry struct {
	Desc  *OfpGroupDesc  `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"`
	Stats *OfpGroupStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

func (*OfpGroupEntry) Descriptor deprecated

func (*OfpGroupEntry) Descriptor() ([]byte, []int)

Deprecated: Use OfpGroupEntry.ProtoReflect.Descriptor instead.

func (*OfpGroupEntry) GetDesc

func (x *OfpGroupEntry) GetDesc() *OfpGroupDesc

func (*OfpGroupEntry) GetStats

func (x *OfpGroupEntry) GetStats() *OfpGroupStats

func (*OfpGroupEntry) ProtoMessage

func (*OfpGroupEntry) ProtoMessage()

func (*OfpGroupEntry) ProtoReflect added in v5.7.1

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

func (*OfpGroupEntry) Reset

func (x *OfpGroupEntry) Reset()

func (*OfpGroupEntry) String

func (x *OfpGroupEntry) String() string

type OfpGroupFeatures

type OfpGroupFeatures struct {
	Types        uint32   `protobuf:"varint,1,opt,name=types,proto3" json:"types,omitempty"`                                 // Bitmap of (1 << OFPGT_*) values supported.
	Capabilities uint32   `protobuf:"varint,2,opt,name=capabilities,proto3" json:"capabilities,omitempty"`                   // Bitmap of OFPGFC_* capability supported.
	MaxGroups    []uint32 `protobuf:"varint,3,rep,packed,name=max_groups,json=maxGroups,proto3" json:"max_groups,omitempty"` // Maximum number of groups for each type.
	Actions      []uint32 `protobuf:"varint,4,rep,packed,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

Body of reply to OFPMP_GROUP_FEATURES request. Group features.

func (*OfpGroupFeatures) Descriptor deprecated

func (*OfpGroupFeatures) Descriptor() ([]byte, []int)

Deprecated: Use OfpGroupFeatures.ProtoReflect.Descriptor instead.

func (*OfpGroupFeatures) GetActions

func (x *OfpGroupFeatures) GetActions() []uint32

func (*OfpGroupFeatures) GetCapabilities

func (x *OfpGroupFeatures) GetCapabilities() uint32

func (*OfpGroupFeatures) GetMaxGroups

func (x *OfpGroupFeatures) GetMaxGroups() []uint32

func (*OfpGroupFeatures) GetTypes

func (x *OfpGroupFeatures) GetTypes() uint32

func (*OfpGroupFeatures) ProtoMessage

func (*OfpGroupFeatures) ProtoMessage()

func (*OfpGroupFeatures) ProtoReflect added in v5.7.1

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

func (*OfpGroupFeatures) Reset

func (x *OfpGroupFeatures) Reset()

func (*OfpGroupFeatures) String

func (x *OfpGroupFeatures) String() string

type OfpGroupMod

type OfpGroupMod struct {

	// ofp_header header;
	Command OfpGroupModCommand `protobuf:"varint,1,opt,name=command,proto3,enum=openflow_13.OfpGroupModCommand" json:"command,omitempty"` // One of OFPGC_*.
	Type    OfpGroupType       `protobuf:"varint,2,opt,name=type,proto3,enum=openflow_13.OfpGroupType" json:"type,omitempty"`             // One of OFPGT_*.
	GroupId uint32             `protobuf:"varint,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`                      // Group identifier.
	Buckets []*OfpBucket       `protobuf:"bytes,4,rep,name=buckets,proto3" json:"buckets,omitempty"`
	// contains filtered or unexported fields
}

Group setup and teardown (controller -> datapath).

func (*OfpGroupMod) Descriptor deprecated

func (*OfpGroupMod) Descriptor() ([]byte, []int)

Deprecated: Use OfpGroupMod.ProtoReflect.Descriptor instead.

func (*OfpGroupMod) GetBuckets

func (x *OfpGroupMod) GetBuckets() []*OfpBucket

func (*OfpGroupMod) GetCommand

func (x *OfpGroupMod) GetCommand() OfpGroupModCommand

func (*OfpGroupMod) GetGroupId

func (x *OfpGroupMod) GetGroupId() uint32

func (*OfpGroupMod) GetType

func (x *OfpGroupMod) GetType() OfpGroupType

func (*OfpGroupMod) ProtoMessage

func (*OfpGroupMod) ProtoMessage()

func (*OfpGroupMod) ProtoReflect added in v5.7.1

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

func (*OfpGroupMod) Reset

func (x *OfpGroupMod) Reset()

func (*OfpGroupMod) String

func (x *OfpGroupMod) String() string

type OfpGroupModCommand

type OfpGroupModCommand int32

Group commands

const (
	OfpGroupModCommand_OFPGC_ADD    OfpGroupModCommand = 0 // New group.
	OfpGroupModCommand_OFPGC_MODIFY OfpGroupModCommand = 1 // Modify all matching groups.
	OfpGroupModCommand_OFPGC_DELETE OfpGroupModCommand = 2 // Delete all matching groups.
)

func (OfpGroupModCommand) Descriptor added in v5.7.1

func (OfpGroupModCommand) Enum added in v5.7.1

func (OfpGroupModCommand) EnumDescriptor deprecated

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

Deprecated: Use OfpGroupModCommand.Descriptor instead.

func (OfpGroupModCommand) Number added in v5.7.1

func (OfpGroupModCommand) String

func (x OfpGroupModCommand) String() string

func (OfpGroupModCommand) Type added in v5.7.1

type OfpGroupModFailedCode

type OfpGroupModFailedCode int32

ofp_error_msg 'code' values for OFPET_GROUP_MOD_FAILED. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS         OfpGroupModFailedCode = 0
	OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP        OfpGroupModFailedCode = 1
	OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED   OfpGroupModFailedCode = 2
	OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS        OfpGroupModFailedCode = 3 // The group table is full.
	OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS       OfpGroupModFailedCode = 4
	OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED OfpGroupModFailedCode = 5
	OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED    OfpGroupModFailedCode = 6
	OfpGroupModFailedCode_OFPGMFC_LOOP                 OfpGroupModFailedCode = 7 // Group entry would cause a loop.
	OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP        OfpGroupModFailedCode = 8
	OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP        OfpGroupModFailedCode = 9
	OfpGroupModFailedCode_OFPGMFC_BAD_TYPE             OfpGroupModFailedCode = 10 // Unsupported or unknown group type.
	OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND          OfpGroupModFailedCode = 11 // Unsupported or unknown command.
	OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET           OfpGroupModFailedCode = 12 // Error in bucket.
	OfpGroupModFailedCode_OFPGMFC_BAD_WATCH            OfpGroupModFailedCode = 13 // Error in watch port/group.
	OfpGroupModFailedCode_OFPGMFC_EPERM                OfpGroupModFailedCode = 14 // Permissions error.
)

func (OfpGroupModFailedCode) Descriptor added in v5.7.1

func (OfpGroupModFailedCode) Enum added in v5.7.1

func (OfpGroupModFailedCode) EnumDescriptor deprecated

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

Deprecated: Use OfpGroupModFailedCode.Descriptor instead.

func (OfpGroupModFailedCode) Number added in v5.7.1

func (OfpGroupModFailedCode) String

func (x OfpGroupModFailedCode) String() string

func (OfpGroupModFailedCode) Type added in v5.7.1

type OfpGroupStats

type OfpGroupStats struct {
	GroupId      uint32              `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // Group identifier.
	RefCount     uint32              `protobuf:"varint,2,opt,name=ref_count,json=refCount,proto3" json:"ref_count,omitempty"`
	PacketCount  uint64              `protobuf:"varint,3,opt,name=packet_count,json=packetCount,proto3" json:"packet_count,omitempty"` // Number of packets processed by group.
	ByteCount    uint64              `protobuf:"varint,4,opt,name=byte_count,json=byteCount,proto3" json:"byte_count,omitempty"`       // Number of bytes processed by group.
	DurationSec  uint32              `protobuf:"varint,5,opt,name=duration_sec,json=durationSec,proto3" json:"duration_sec,omitempty"` // Time group has been alive in seconds.
	DurationNsec uint32              `protobuf:"varint,6,opt,name=duration_nsec,json=durationNsec,proto3" json:"duration_nsec,omitempty"`
	BucketStats  []*OfpBucketCounter `protobuf:"bytes,7,rep,name=bucket_stats,json=bucketStats,proto3" json:"bucket_stats,omitempty"`
	// contains filtered or unexported fields
}

Body of reply to OFPMP_GROUP request.

func (*OfpGroupStats) Descriptor deprecated

func (*OfpGroupStats) Descriptor() ([]byte, []int)

Deprecated: Use OfpGroupStats.ProtoReflect.Descriptor instead.

func (*OfpGroupStats) GetBucketStats

func (x *OfpGroupStats) GetBucketStats() []*OfpBucketCounter

func (*OfpGroupStats) GetByteCount

func (x *OfpGroupStats) GetByteCount() uint64

func (*OfpGroupStats) GetDurationNsec

func (x *OfpGroupStats) GetDurationNsec() uint32

func (*OfpGroupStats) GetDurationSec

func (x *OfpGroupStats) GetDurationSec() uint32

func (*OfpGroupStats) GetGroupId

func (x *OfpGroupStats) GetGroupId() uint32

func (*OfpGroupStats) GetPacketCount

func (x *OfpGroupStats) GetPacketCount() uint64

func (*OfpGroupStats) GetRefCount

func (x *OfpGroupStats) GetRefCount() uint32

func (*OfpGroupStats) ProtoMessage

func (*OfpGroupStats) ProtoMessage()

func (*OfpGroupStats) ProtoReflect added in v5.7.1

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

func (*OfpGroupStats) Reset

func (x *OfpGroupStats) Reset()

func (*OfpGroupStats) String

func (x *OfpGroupStats) String() string

type OfpGroupStatsRequest

type OfpGroupStatsRequest struct {
	GroupId uint32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // All groups if OFPG_ALL.
	// contains filtered or unexported fields
}

Body of OFPMP_GROUP request.

func (*OfpGroupStatsRequest) Descriptor deprecated

func (*OfpGroupStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use OfpGroupStatsRequest.ProtoReflect.Descriptor instead.

func (*OfpGroupStatsRequest) GetGroupId

func (x *OfpGroupStatsRequest) GetGroupId() uint32

func (*OfpGroupStatsRequest) ProtoMessage

func (*OfpGroupStatsRequest) ProtoMessage()

func (*OfpGroupStatsRequest) ProtoReflect added in v5.7.1

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

func (*OfpGroupStatsRequest) Reset

func (x *OfpGroupStatsRequest) Reset()

func (*OfpGroupStatsRequest) String

func (x *OfpGroupStatsRequest) String() string

type OfpGroupType

type OfpGroupType int32

Group types. Values in the range [128; 255] are reserved for experimental use.

const (
	OfpGroupType_OFPGT_ALL      OfpGroupType = 0 // All (multicast/broadcast) group.
	OfpGroupType_OFPGT_SELECT   OfpGroupType = 1 // Select group.
	OfpGroupType_OFPGT_INDIRECT OfpGroupType = 2 // Indirect group.
	OfpGroupType_OFPGT_FF       OfpGroupType = 3 // Fast failover group.
)

func (OfpGroupType) Descriptor added in v5.7.1

func (OfpGroupType) Enum added in v5.7.1

func (x OfpGroupType) Enum() *OfpGroupType

func (OfpGroupType) EnumDescriptor deprecated

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

Deprecated: Use OfpGroupType.Descriptor instead.

func (OfpGroupType) Number added in v5.7.1

func (OfpGroupType) String

func (x OfpGroupType) String() string

func (OfpGroupType) Type added in v5.7.1

type OfpHeader

type OfpHeader struct {
	Version uint32  `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`                    // OFP_VERSION.
	Type    OfpType `protobuf:"varint,2,opt,name=type,proto3,enum=openflow_13.OfpType" json:"type,omitempty"` // One of the OFPT_ constants.
	Xid     uint32  `protobuf:"varint,3,opt,name=xid,proto3" json:"xid,omitempty"`
	// contains filtered or unexported fields
}

Header on all OpenFlow packets.

func (*OfpHeader) Descriptor deprecated

func (*OfpHeader) Descriptor() ([]byte, []int)

Deprecated: Use OfpHeader.ProtoReflect.Descriptor instead.

func (*OfpHeader) GetType

func (x *OfpHeader) GetType() OfpType

func (*OfpHeader) GetVersion

func (x *OfpHeader) GetVersion() uint32

func (*OfpHeader) GetXid

func (x *OfpHeader) GetXid() uint32

func (*OfpHeader) ProtoMessage

func (*OfpHeader) ProtoMessage()

func (*OfpHeader) ProtoReflect added in v5.7.1

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

func (*OfpHeader) Reset

func (x *OfpHeader) Reset()

func (*OfpHeader) String

func (x *OfpHeader) String() string

type OfpHello

type OfpHello struct {

	// Hello element list
	Elements []*OfpHelloElemHeader `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"` // 0 or more
	// contains filtered or unexported fields
}

OFPT_HELLO. This message includes zero or more hello elements having variable size. Unknown elements types must be ignored/skipped, to allow for future extensions.

func (*OfpHello) Descriptor deprecated

func (*OfpHello) Descriptor() ([]byte, []int)

Deprecated: Use OfpHello.ProtoReflect.Descriptor instead.

func (*OfpHello) GetElements

func (x *OfpHello) GetElements() []*OfpHelloElemHeader

func (*OfpHello) ProtoMessage

func (*OfpHello) ProtoMessage()

func (*OfpHello) ProtoReflect added in v5.7.1

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

func (*OfpHello) Reset

func (x *OfpHello) Reset()

func (*OfpHello) String

func (x *OfpHello) String() string

type OfpHelloElemHeader

type OfpHelloElemHeader struct {
	Type OfpHelloElemType `protobuf:"varint,1,opt,name=type,proto3,enum=openflow_13.OfpHelloElemType" json:"type,omitempty"` // One of OFPHET_*.
	// Types that are valid to be assigned to Element:
	//
	//	*OfpHelloElemHeader_Versionbitmap
	Element isOfpHelloElemHeader_Element `protobuf_oneof:"element"`
	// contains filtered or unexported fields
}

Common header for all Hello Elements

func (*OfpHelloElemHeader) Descriptor deprecated

func (*OfpHelloElemHeader) Descriptor() ([]byte, []int)

Deprecated: Use OfpHelloElemHeader.ProtoReflect.Descriptor instead.

func (*OfpHelloElemHeader) GetElement

func (x *OfpHelloElemHeader) GetElement() isOfpHelloElemHeader_Element

func (*OfpHelloElemHeader) GetType

func (x *OfpHelloElemHeader) GetType() OfpHelloElemType

func (*OfpHelloElemHeader) GetVersionbitmap

func (x *OfpHelloElemHeader) GetVersionbitmap() *OfpHelloElemVersionbitmap

func (*OfpHelloElemHeader) ProtoMessage

func (*OfpHelloElemHeader) ProtoMessage()

func (*OfpHelloElemHeader) ProtoReflect added in v5.7.1

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

func (*OfpHelloElemHeader) Reset

func (x *OfpHelloElemHeader) Reset()

func (*OfpHelloElemHeader) String

func (x *OfpHelloElemHeader) String() string

type OfpHelloElemHeader_Versionbitmap

type OfpHelloElemHeader_Versionbitmap struct {
	Versionbitmap *OfpHelloElemVersionbitmap `protobuf:"bytes,2,opt,name=versionbitmap,proto3,oneof"`
}

type OfpHelloElemType

type OfpHelloElemType int32

Hello elements types.

const (
	OfpHelloElemType_OFPHET_INVALID       OfpHelloElemType = 0
	OfpHelloElemType_OFPHET_VERSIONBITMAP OfpHelloElemType = 1 // Bitmap of version supported.
)

func (OfpHelloElemType) Descriptor added in v5.7.1

func (OfpHelloElemType) Enum added in v5.7.1

func (OfpHelloElemType) EnumDescriptor deprecated

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

Deprecated: Use OfpHelloElemType.Descriptor instead.

func (OfpHelloElemType) Number added in v5.7.1

func (OfpHelloElemType) String

func (x OfpHelloElemType) String() string

func (OfpHelloElemType) Type added in v5.7.1

type OfpHelloElemVersionbitmap

type OfpHelloElemVersionbitmap struct {
	Bitmaps []uint32 `protobuf:"varint,2,rep,packed,name=bitmaps,proto3" json:"bitmaps,omitempty"` // List of bitmaps - supported versions
	// contains filtered or unexported fields
}

Version bitmap Hello Element

func (*OfpHelloElemVersionbitmap) Descriptor deprecated

func (*OfpHelloElemVersionbitmap) Descriptor() ([]byte, []int)

Deprecated: Use OfpHelloElemVersionbitmap.ProtoReflect.Descriptor instead.

func (*OfpHelloElemVersionbitmap) GetBitmaps

func (x *OfpHelloElemVersionbitmap) GetBitmaps() []uint32

func (*OfpHelloElemVersionbitmap) ProtoMessage

func (*OfpHelloElemVersionbitmap) ProtoMessage()

func (*OfpHelloElemVersionbitmap) ProtoReflect added in v5.7.1

func (*OfpHelloElemVersionbitmap) Reset

func (x *OfpHelloElemVersionbitmap) Reset()

func (*OfpHelloElemVersionbitmap) String

func (x *OfpHelloElemVersionbitmap) String() string

type OfpHelloFailedCode

type OfpHelloFailedCode int32

ofp_error_msg 'code' values for OFPET_HELLO_FAILED. 'data' contains an ASCII text string that may give failure details.

const (
	OfpHelloFailedCode_OFPHFC_INCOMPATIBLE OfpHelloFailedCode = 0 // No compatible version.
	OfpHelloFailedCode_OFPHFC_EPERM        OfpHelloFailedCode = 1 // Permissions error.
)

func (OfpHelloFailedCode) Descriptor added in v5.7.1

func (OfpHelloFailedCode) Enum added in v5.7.1

func (OfpHelloFailedCode) EnumDescriptor deprecated

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

Deprecated: Use OfpHelloFailedCode.Descriptor instead.

func (OfpHelloFailedCode) Number added in v5.7.1

func (OfpHelloFailedCode) String

func (x OfpHelloFailedCode) String() string

func (OfpHelloFailedCode) Type added in v5.7.1

type OfpInstruction

type OfpInstruction struct {
	Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` // Instruction type
	// Types that are valid to be assigned to Data:
	//
	//	*OfpInstruction_GotoTable
	//	*OfpInstruction_WriteMetadata
	//	*OfpInstruction_Actions
	//	*OfpInstruction_Meter
	//	*OfpInstruction_Experimenter
	Data isOfpInstruction_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

Instruction header that is common to all instructions. The length includes the header and any padding used to make the instruction 64-bit aligned. NB: The length of an instruction *must* always be a multiple of eight.

func (*OfpInstruction) Descriptor deprecated

func (*OfpInstruction) Descriptor() ([]byte, []int)

Deprecated: Use OfpInstruction.ProtoReflect.Descriptor instead.

func (*OfpInstruction) GetActions

func (x *OfpInstruction) GetActions() *OfpInstructionActions

func (*OfpInstruction) GetData

func (x *OfpInstruction) GetData() isOfpInstruction_Data

func (*OfpInstruction) GetExperimenter

func (x *OfpInstruction) GetExperimenter() *OfpInstructionExperimenter

func (*OfpInstruction) GetGotoTable

func (x *OfpInstruction) GetGotoTable() *OfpInstructionGotoTable

func (*OfpInstruction) GetMeter

func (x *OfpInstruction) GetMeter() *OfpInstructionMeter

func (*OfpInstruction) GetType

func (x *OfpInstruction) GetType() uint32

func (*OfpInstruction) GetWriteMetadata

func (x *OfpInstruction) GetWriteMetadata() *OfpInstructionWriteMetadata

func (*OfpInstruction) ProtoMessage

func (*OfpInstruction) ProtoMessage()

func (*OfpInstruction) ProtoReflect added in v5.7.1

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

func (*OfpInstruction) Reset

func (x *OfpInstruction) Reset()

func (*OfpInstruction) String

func (x *OfpInstruction) String() string

type OfpInstructionActions

type OfpInstructionActions struct {
	Actions []*OfpAction `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

Instruction structure for OFPIT_WRITE/APPLY/CLEAR_ACTIONS

func (*OfpInstructionActions) Descriptor deprecated

func (*OfpInstructionActions) Descriptor() ([]byte, []int)

Deprecated: Use OfpInstructionActions.ProtoReflect.Descriptor instead.

func (*OfpInstructionActions) GetActions

func (x *OfpInstructionActions) GetActions() []*OfpAction

func (*OfpInstructionActions) ProtoMessage

func (*OfpInstructionActions) ProtoMessage()

func (*OfpInstructionActions) ProtoReflect added in v5.7.1

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

func (*OfpInstructionActions) Reset

func (x *OfpInstructionActions) Reset()

func (*OfpInstructionActions) String

func (x *OfpInstructionActions) String() string

type OfpInstructionExperimenter

type OfpInstructionExperimenter struct {
	Experimenter uint32 `protobuf:"varint,1,opt,name=experimenter,proto3" json:"experimenter,omitempty"`
	// Experimenter-defined arbitrary additional data.
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Instruction structure for experimental instructions

func (*OfpInstructionExperimenter) Descriptor deprecated

func (*OfpInstructionExperimenter) Descriptor() ([]byte, []int)

Deprecated: Use OfpInstructionExperimenter.ProtoReflect.Descriptor instead.

func (*OfpInstructionExperimenter) GetData

func (x *OfpInstructionExperimenter) GetData() []byte

func (*OfpInstructionExperimenter) GetExperimenter

func (x *OfpInstructionExperimenter) GetExperimenter() uint32

func (*OfpInstructionExperimenter) ProtoMessage

func (*OfpInstructionExperimenter) ProtoMessage()

func (*OfpInstructionExperimenter) ProtoReflect added in v5.7.1

func (*OfpInstructionExperimenter) Reset

func (x *OfpInstructionExperimenter) Reset()

func (*OfpInstructionExperimenter) String

func (x *OfpInstructionExperimenter) String() string

type OfpInstructionGotoTable

type OfpInstructionGotoTable struct {
	TableId uint32 `protobuf:"varint,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` // Set next table in the lookup pipeline
	// contains filtered or unexported fields
}

Instruction structure for OFPIT_GOTO_TABLE

func (*OfpInstructionGotoTable) Descriptor deprecated

func (*OfpInstructionGotoTable) Descriptor() ([]byte, []int)

Deprecated: Use OfpInstructionGotoTable.ProtoReflect.Descriptor instead.

func (*OfpInstructionGotoTable) GetTableId

func (x *OfpInstructionGotoTable) GetTableId() uint32

func (*OfpInstructionGotoTable) ProtoMessage

func (*OfpInstructionGotoTable) ProtoMessage()

func (*OfpInstructionGotoTable) ProtoReflect added in v5.7.1

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

func (*OfpInstructionGotoTable) Reset

func (x *OfpInstructionGotoTable) Reset()

func (*OfpInstructionGotoTable) String

func (x *OfpInstructionGotoTable) String() string

type OfpInstructionMeter

type OfpInstructionMeter struct {
	MeterId uint32 `protobuf:"varint,1,opt,name=meter_id,json=meterId,proto3" json:"meter_id,omitempty"` // Meter instance.
	// contains filtered or unexported fields
}

Instruction structure for OFPIT_METER

func (*OfpInstructionMeter) Descriptor deprecated

func (*OfpInstructionMeter) Descriptor() ([]byte, []int)

Deprecated: Use OfpInstructionMeter.ProtoReflect.Descriptor instead.

func (*OfpInstructionMeter) GetMeterId

func (x *OfpInstructionMeter) GetMeterId() uint32

func (*OfpInstructionMeter) ProtoMessage

func (*OfpInstructionMeter) ProtoMessage()

func (*OfpInstructionMeter) ProtoReflect added in v5.7.1

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

func (*OfpInstructionMeter) Reset

func (x *OfpInstructionMeter) Reset()

func (*OfpInstructionMeter) String

func (x *OfpInstructionMeter) String() string

type OfpInstructionType

type OfpInstructionType int32
const (
	OfpInstructionType_OFPIT_INVALID        OfpInstructionType = 0
	OfpInstructionType_OFPIT_GOTO_TABLE     OfpInstructionType = 1
	OfpInstructionType_OFPIT_WRITE_METADATA OfpInstructionType = 2
	OfpInstructionType_OFPIT_WRITE_ACTIONS  OfpInstructionType = 3
	OfpInstructionType_OFPIT_APPLY_ACTIONS  OfpInstructionType = 4 // Applies the action(s) immediately
	OfpInstructionType_OFPIT_CLEAR_ACTIONS  OfpInstructionType = 5
	OfpInstructionType_OFPIT_METER          OfpInstructionType = 6     // Apply meter (rate limiter)
	OfpInstructionType_OFPIT_EXPERIMENTER   OfpInstructionType = 65535 // Experimenter instruction
)

func (OfpInstructionType) Descriptor added in v5.7.1

func (OfpInstructionType) Enum added in v5.7.1

func (OfpInstructionType) EnumDescriptor deprecated

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

Deprecated: Use OfpInstructionType.Descriptor instead.

func (OfpInstructionType) Number added in v5.7.1

func (OfpInstructionType) String

func (x OfpInstructionType) String() string

func (OfpInstructionType) Type added in v5.7.1

type OfpInstructionWriteMetadata

type OfpInstructionWriteMetadata struct {
	Metadata     uint64 `protobuf:"varint,1,opt,name=metadata,proto3" json:"metadata,omitempty"`                             // Metadata value to write
	MetadataMask uint64 `protobuf:"varint,2,opt,name=metadata_mask,json=metadataMask,proto3" json:"metadata_mask,omitempty"` // Metadata write bitmask
	// contains filtered or unexported fields
}

Instruction structure for OFPIT_WRITE_METADATA

func (*OfpInstructionWriteMetadata) Descriptor deprecated

func (*OfpInstructionWriteMetadata) Descriptor() ([]byte, []int)

Deprecated: Use OfpInstructionWriteMetadata.ProtoReflect.Descriptor instead.

func (*OfpInstructionWriteMetadata) GetMetadata

func (x *OfpInstructionWriteMetadata) GetMetadata() uint64

func (*OfpInstructionWriteMetadata) GetMetadataMask

func (x *OfpInstructionWriteMetadata) GetMetadataMask() uint64

func (*OfpInstructionWriteMetadata) ProtoMessage

func (*OfpInstructionWriteMetadata) ProtoMessage()

func (*OfpInstructionWriteMetadata) ProtoReflect added in v5.7.1

func (*OfpInstructionWriteMetadata) Reset

func (x *OfpInstructionWriteMetadata) Reset()

func (*OfpInstructionWriteMetadata) String

func (x *OfpInstructionWriteMetadata) String() string

type OfpInstruction_Actions

type OfpInstruction_Actions struct {
	Actions *OfpInstructionActions `protobuf:"bytes,4,opt,name=actions,proto3,oneof"`
}

type OfpInstruction_Experimenter

type OfpInstruction_Experimenter struct {
	Experimenter *OfpInstructionExperimenter `protobuf:"bytes,6,opt,name=experimenter,proto3,oneof"`
}

type OfpInstruction_GotoTable

type OfpInstruction_GotoTable struct {
	GotoTable *OfpInstructionGotoTable `protobuf:"bytes,2,opt,name=goto_table,json=gotoTable,proto3,oneof"`
}

type OfpInstruction_Meter

type OfpInstruction_Meter struct {
	Meter *OfpInstructionMeter `protobuf:"bytes,5,opt,name=meter,proto3,oneof"`
}

type OfpInstruction_WriteMetadata

type OfpInstruction_WriteMetadata struct {
	WriteMetadata *OfpInstructionWriteMetadata `protobuf:"bytes,3,opt,name=write_metadata,json=writeMetadata,proto3,oneof"`
}

type OfpIpv6ExthdrFlags

type OfpIpv6ExthdrFlags int32

Bit definitions for IPv6 Extension Header pseudo-field.

const (
	OfpIpv6ExthdrFlags_OFPIEH_INVALID OfpIpv6ExthdrFlags = 0
	OfpIpv6ExthdrFlags_OFPIEH_NONEXT  OfpIpv6ExthdrFlags = 1   // "No next header" encountered.
	OfpIpv6ExthdrFlags_OFPIEH_ESP     OfpIpv6ExthdrFlags = 2   // Encrypted Sec Payload header present.
	OfpIpv6ExthdrFlags_OFPIEH_AUTH    OfpIpv6ExthdrFlags = 4   // Authentication header present.
	OfpIpv6ExthdrFlags_OFPIEH_DEST    OfpIpv6ExthdrFlags = 8   // 1 or 2 dest headers present.
	OfpIpv6ExthdrFlags_OFPIEH_FRAG    OfpIpv6ExthdrFlags = 16  // Fragment header present.
	OfpIpv6ExthdrFlags_OFPIEH_ROUTER  OfpIpv6ExthdrFlags = 32  // Router header present.
	OfpIpv6ExthdrFlags_OFPIEH_HOP     OfpIpv6ExthdrFlags = 64  // Hop-by-hop header present.
	OfpIpv6ExthdrFlags_OFPIEH_UNREP   OfpIpv6ExthdrFlags = 128 // Unexpected repeats encountered.
	OfpIpv6ExthdrFlags_OFPIEH_UNSEQ   OfpIpv6ExthdrFlags = 256 // Unexpected sequencing encountered.
)

func (OfpIpv6ExthdrFlags) Descriptor added in v5.7.1

func (OfpIpv6ExthdrFlags) Enum added in v5.7.1

func (OfpIpv6ExthdrFlags) EnumDescriptor deprecated

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

Deprecated: Use OfpIpv6ExthdrFlags.Descriptor instead.

func (OfpIpv6ExthdrFlags) Number added in v5.7.1

func (OfpIpv6ExthdrFlags) String

func (x OfpIpv6ExthdrFlags) String() string

func (OfpIpv6ExthdrFlags) Type added in v5.7.1

type OfpMatch

type OfpMatch struct {
	Type      OfpMatchType   `protobuf:"varint,1,opt,name=type,proto3,enum=openflow_13.OfpMatchType" json:"type,omitempty"` // One of OFPMT_*
	OxmFields []*OfpOxmField `protobuf:"bytes,2,rep,name=oxm_fields,json=oxmFields,proto3" json:"oxm_fields,omitempty"`     // 0 or more
	// contains filtered or unexported fields
}

Fields to match against flows

func (*OfpMatch) Descriptor deprecated

func (*OfpMatch) Descriptor() ([]byte, []int)

Deprecated: Use OfpMatch.ProtoReflect.Descriptor instead.

func (*OfpMatch) GetOxmFields

func (x *OfpMatch) GetOxmFields() []*OfpOxmField

func (*OfpMatch) GetType

func (x *OfpMatch) GetType() OfpMatchType

func (*OfpMatch) ProtoMessage

func (*OfpMatch) ProtoMessage()

func (*OfpMatch) ProtoReflect added in v5.7.1

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

func (*OfpMatch) Reset

func (x *OfpMatch) Reset()

func (*OfpMatch) String

func (x *OfpMatch) String() string

type OfpMatchType

type OfpMatchType int32

The match type indicates the match structure (set of fields that compose the match) in use. The match type is placed in the type field at the beginning of all match structures. The "OpenFlow Extensible Match" type corresponds to OXM TLV format described below and must be supported by all OpenFlow switches. Extensions that define other match types may be published on the ONF wiki. Support for extensions is optional.

const (
	OfpMatchType_OFPMT_STANDARD OfpMatchType = 0 // Deprecated.
	OfpMatchType_OFPMT_OXM      OfpMatchType = 1 // OpenFlow Extensible Match
)

func (OfpMatchType) Descriptor added in v5.7.1

func (OfpMatchType) Enum added in v5.7.1

func (x OfpMatchType) Enum() *OfpMatchType

func (OfpMatchType) EnumDescriptor deprecated

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

Deprecated: Use OfpMatchType.Descriptor instead.

func (OfpMatchType) Number added in v5.7.1

func (OfpMatchType) String

func (x OfpMatchType) String() string

func (OfpMatchType) Type added in v5.7.1

type OfpMeter

type OfpMeter int32

Meter numbering. Flow meters can use any number up to OFPM_MAX.

const (
	OfpMeter_OFPM_ZERO OfpMeter = 0
	// Last usable meter.
	OfpMeter_OFPM_MAX OfpMeter = 2147418112
	// Virtual meters.
	OfpMeter_OFPM_SLOWPATH   OfpMeter = 2147483645 // Meter for slow datapath.
	OfpMeter_OFPM_CONTROLLER OfpMeter = 2147483646 // Meter for controller connection.
	OfpMeter_OFPM_ALL        OfpMeter = 2147483647
)

func (OfpMeter) Descriptor added in v5.7.1

func (OfpMeter) Descriptor() protoreflect.EnumDescriptor

func (OfpMeter) Enum added in v5.7.1

func (x OfpMeter) Enum() *OfpMeter

func (OfpMeter) EnumDescriptor deprecated

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

Deprecated: Use OfpMeter.Descriptor instead.

func (OfpMeter) Number added in v5.7.1

func (x OfpMeter) Number() protoreflect.EnumNumber

func (OfpMeter) String

func (x OfpMeter) String() string

func (OfpMeter) Type added in v5.7.1

type OfpMeterBandDrop

type OfpMeterBandDrop struct {
	// contains filtered or unexported fields
}

OFPMBT_DROP band - drop packets

func (*OfpMeterBandDrop) Descriptor deprecated

func (*OfpMeterBandDrop) Descriptor() ([]byte, []int)

Deprecated: Use OfpMeterBandDrop.ProtoReflect.Descriptor instead.

func (*OfpMeterBandDrop) ProtoMessage

func (*OfpMeterBandDrop) ProtoMessage()

func (*OfpMeterBandDrop) ProtoReflect added in v5.7.1

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

func (*OfpMeterBandDrop) Reset

func (x *OfpMeterBandDrop) Reset()

func (*OfpMeterBandDrop) String

func (x *OfpMeterBandDrop) String() string

type OfpMeterBandDscpRemark

type OfpMeterBandDscpRemark struct {
	PrecLevel uint32 `protobuf:"varint,1,opt,name=prec_level,json=precLevel,proto3" json:"prec_level,omitempty"` // Number of drop precedence level to add.
	// contains filtered or unexported fields
}

OFPMBT_DSCP_REMARK band - Remark DSCP in the IP header

func (*OfpMeterBandDscpRemark) Descriptor deprecated

func (*OfpMeterBandDscpRemark) Descriptor() ([]byte, []int)

Deprecated: Use OfpMeterBandDscpRemark.ProtoReflect.Descriptor instead.

func (*OfpMeterBandDscpRemark) GetPrecLevel

func (x *OfpMeterBandDscpRemark) GetPrecLevel() uint32

func (*OfpMeterBandDscpRemark) ProtoMessage

func (*OfpMeterBandDscpRemark) ProtoMessage()

func (*OfpMeterBandDscpRemark) ProtoReflect added in v5.7.1

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

func (*OfpMeterBandDscpRemark) Reset

func (x *OfpMeterBandDscpRemark) Reset()

func (*OfpMeterBandDscpRemark) String

func (x *OfpMeterBandDscpRemark) String() string

type OfpMeterBandExperimenter

type OfpMeterBandExperimenter struct {
	Experimenter uint32 `protobuf:"varint,1,opt,name=experimenter,proto3" json:"experimenter,omitempty"`
	// contains filtered or unexported fields
}

OFPMBT_EXPERIMENTER band - Experimenter type. The rest of the band is experimenter-defined.

func (*OfpMeterBandExperimenter) Descriptor deprecated

func (*OfpMeterBandExperimenter) Descriptor() ([]byte, []int)

Deprecated: Use OfpMeterBandExperimenter.ProtoReflect.Descriptor instead.

func (*OfpMeterBandExperimenter) GetExperimenter

func (x *OfpMeterBandExperimenter) GetExperimenter() uint32

func (*OfpMeterBandExperimenter) ProtoMessage

func (*OfpMeterBandExperimenter) ProtoMessage()

func (*OfpMeterBandExperimenter) ProtoReflect added in v5.7.1

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

func (*OfpMeterBandExperimenter) Reset

func (x *OfpMeterBandExperimenter) Reset()

func (*OfpMeterBandExperimenter) String

func (x *OfpMeterBandExperimenter) String() string

type OfpMeterBandHeader

type OfpMeterBandHeader struct {
	Type      OfpMeterBandType `protobuf:"varint,1,opt,name=type,proto3,enum=openflow_13.OfpMeterBandType" json:"type,omitempty"` // One of OFPMBT_*.
	Rate      uint32           `protobuf:"varint,2,opt,name=rate,proto3" json:"rate,omitempty"`                                   // Rate for this band.
	BurstSize uint32           `protobuf:"varint,3,opt,name=burst_size,json=burstSize,proto3" json:"burst_size,omitempty"`        // Size of bursts.
	// Types that are valid to be assigned to Data:
	//
	//	*OfpMeterBandHeader_Drop
	//	*OfpMeterBandHeader_DscpRemark
	//	*OfpMeterBandHeader_Experimenter
	Data isOfpMeterBandHeader_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

Common header for all meter bands

func (*OfpMeterBandHeader) Descriptor deprecated

func (*OfpMeterBandHeader) Descriptor() ([]byte, []int)

Deprecated: Use OfpMeterBandHeader.ProtoReflect.Descriptor instead.

func (*OfpMeterBandHeader) GetBurstSize

func (x *OfpMeterBandHeader) GetBurstSize() uint32

func (*OfpMeterBandHeader) GetData

func (x *OfpMeterBandHeader) GetData() isOfpMeterBandHeader_Data

func (*OfpMeterBandHeader) GetDrop

func (x *OfpMeterBandHeader) GetDrop() *OfpMeterBandDrop

func (*OfpMeterBandHeader) GetDscpRemark

func (x *OfpMeterBandHeader) GetDscpRemark() *OfpMeterBandDscpRemark

func (*OfpMeterBandHeader) GetExperimenter

func (x *OfpMeterBandHeader) GetExperimenter() *OfpMeterBandExperimenter

func (*OfpMeterBandHeader) GetRate

func (x *OfpMeterBandHeader) GetRate() uint32

func (*OfpMeterBandHeader) GetType

func (x *OfpMeterBandHeader) GetType() OfpMeterBandType

func (*OfpMeterBandHeader) ProtoMessage

func (*OfpMeterBandHeader) ProtoMessage()

func (*OfpMeterBandHeader) ProtoReflect added in v5.7.1

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

func (*OfpMeterBandHeader) Reset

func (x *OfpMeterBandHeader) Reset()

func (*OfpMeterBandHeader) String

func (x *OfpMeterBandHeader) String() string

type OfpMeterBandHeader_Drop

type OfpMeterBandHeader_Drop struct {
	Drop *OfpMeterBandDrop `protobuf:"bytes,4,opt,name=drop,proto3,oneof"`
}

type OfpMeterBandHeader_DscpRemark

type OfpMeterBandHeader_DscpRemark struct {
	DscpRemark *OfpMeterBandDscpRemark `protobuf:"bytes,5,opt,name=dscp_remark,json=dscpRemark,proto3,oneof"`
}

type OfpMeterBandHeader_Experimenter

type OfpMeterBandHeader_Experimenter struct {
	Experimenter *OfpMeterBandExperimenter `protobuf:"bytes,6,opt,name=experimenter,proto3,oneof"`
}

type OfpMeterBandStats

type OfpMeterBandStats struct {
	PacketBandCount uint64 `protobuf:"varint,1,opt,name=packet_band_count,json=packetBandCount,proto3" json:"packet_band_count,omitempty"` // Number of packets in band.
	ByteBandCount   uint64 `protobuf:"varint,2,opt,name=byte_band_count,json=byteBandCount,proto3" json:"byte_band_count,omitempty"`       // Number of bytes in band.
	// contains filtered or unexported fields
}

Statistics for each meter band

func (*OfpMeterBandStats) Descriptor deprecated

func (*OfpMeterBandStats) Descriptor() ([]byte, []int)

Deprecated: Use OfpMeterBandStats.ProtoReflect.Descriptor instead.

func (*OfpMeterBandStats) GetByteBandCount

func (x *OfpMeterBandStats) GetByteBandCount() uint64

func (*OfpMeterBandStats) GetPacketBandCount

func (x *OfpMeterBandStats) GetPacketBandCount() uint64

func (*OfpMeterBandStats) ProtoMessage

func (*OfpMeterBandStats) ProtoMessage()

func (*OfpMeterBandStats) ProtoReflect added in v5.7.1

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

func (*OfpMeterBandStats) Reset

func (x *OfpMeterBandStats) Reset()

func (*OfpMeterBandStats) String

func (x *OfpMeterBandStats) String() string

type OfpMeterBandType

type OfpMeterBandType int32

Meter band types

const (
	OfpMeterBandType_OFPMBT_INVALID      OfpMeterBandType = 0
	OfpMeterBandType_OFPMBT_DROP         OfpMeterBandType = 1     // Drop packet.
	OfpMeterBandType_OFPMBT_DSCP_REMARK  OfpMeterBandType = 2     // Remark DSCP in the IP header.
	OfpMeterBandType_OFPMBT_EXPERIMENTER OfpMeterBandType = 65535 // Experimenter meter band.
)

func (OfpMeterBandType) Descriptor added in v5.7.1

func (OfpMeterBandType) Enum added in v5.7.1

func (OfpMeterBandType) EnumDescriptor deprecated

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

Deprecated: Use OfpMeterBandType.Descriptor instead.

func (OfpMeterBandType) Number added in v5.7.1

func (OfpMeterBandType) String

func (x OfpMeterBandType) String() string

func (OfpMeterBandType) Type added in v5.7.1

type OfpMeterConfig

type OfpMeterConfig struct {
	Flags   uint32                `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"`                    // All OFPMF_* that apply.
	MeterId uint32                `protobuf:"varint,2,opt,name=meter_id,json=meterId,proto3" json:"meter_id,omitempty"` // Meter instance.
	Bands   []*OfpMeterBandHeader `protobuf:"bytes,3,rep,name=bands,proto3" json:"bands,omitempty"`
	// contains filtered or unexported fields
}

Body of reply to OFPMP_METER_CONFIG request. Meter configuration.

func (*OfpMeterConfig) Descriptor deprecated

func (*OfpMeterConfig) Descriptor() ([]byte, []int)

Deprecated: Use OfpMeterConfig.ProtoReflect.Descriptor instead.

func (*OfpMeterConfig) GetBands

func (x *OfpMeterConfig) GetBands() []*OfpMeterBandHeader

func (*OfpMeterConfig) GetFlags

func (x *OfpMeterConfig) GetFlags() uint32

func (*OfpMeterConfig) GetMeterId

func (x *OfpMeterConfig) GetMeterId() uint32

func (*OfpMeterConfig) ProtoMessage

func (*OfpMeterConfig) ProtoMessage()

func (*OfpMeterConfig) ProtoReflect added in v5.7.1

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

func (*OfpMeterConfig) Reset

func (x *OfpMeterConfig) Reset()

func (*OfpMeterConfig) String

func (x *OfpMeterConfig) String() string

type OfpMeterEntry

type OfpMeterEntry struct {
	Config *OfpMeterConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	Stats  *OfpMeterStats  `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

func (*OfpMeterEntry) Descriptor deprecated

func (*OfpMeterEntry) Descriptor() ([]byte, []int)

Deprecated: Use OfpMeterEntry.ProtoReflect.Descriptor instead.

func (*OfpMeterEntry) GetConfig

func (x *OfpMeterEntry) GetConfig() *OfpMeterConfig

func (*OfpMeterEntry) GetStats

func (x *OfpMeterEntry) GetStats() *OfpMeterStats

func (*OfpMeterEntry) ProtoMessage

func (*OfpMeterEntry) ProtoMessage()

func (*OfpMeterEntry) ProtoReflect added in v5.7.1

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

func (*OfpMeterEntry) Reset

func (x *OfpMeterEntry) Reset()

func (*OfpMeterEntry) String

func (x *OfpMeterEntry) String() string

type OfpMeterFeatures

type OfpMeterFeatures struct {
	MaxMeter     uint32 `protobuf:"varint,1,opt,name=max_meter,json=maxMeter,proto3" json:"max_meter,omitempty"`    // Maximum number of meters.
	BandTypes    uint32 `protobuf:"varint,2,opt,name=band_types,json=bandTypes,proto3" json:"band_types,omitempty"` // Bitmaps of (1 << OFPMBT_*) values supported.
	Capabilities uint32 `protobuf:"varint,3,opt,name=capabilities,proto3" json:"capabilities,omitempty"`            // Bitmaps of "ofp_meter_flags".
	MaxBands     uint32 `protobuf:"varint,4,opt,name=max_bands,json=maxBands,proto3" json:"max_bands,omitempty"`    // Maximum bands per meters
	MaxColor     uint32 `protobuf:"varint,5,opt,name=max_color,json=maxColor,proto3" json:"max_color,omitempty"`    // Maximum color value
	// contains filtered or unexported fields
}

Body of reply to OFPMP_METER_FEATURES request. Meter features.

func (*OfpMeterFeatures) Descriptor deprecated

func (*OfpMeterFeatures) Descriptor() ([]byte, []int)

Deprecated: Use OfpMeterFeatures.ProtoReflect.Descriptor instead.

func (*OfpMeterFeatures) GetBandTypes

func (x *OfpMeterFeatures) GetBandTypes() uint32

func (*OfpMeterFeatures) GetCapabilities

func (x *OfpMeterFeatures) GetCapabilities() uint32

func (*OfpMeterFeatures) GetMaxBands

func (x *OfpMeterFeatures) GetMaxBands() uint32

func (*OfpMeterFeatures) GetMaxColor

func (x *OfpMeterFeatures) GetMaxColor() uint32

func (*OfpMeterFeatures) GetMaxMeter

func (x *OfpMeterFeatures) GetMaxMeter() uint32

func (*OfpMeterFeatures) ProtoMessage

func (*OfpMeterFeatures) ProtoMessage()

func (*OfpMeterFeatures) ProtoReflect added in v5.7.1

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

func (*OfpMeterFeatures) Reset

func (x *OfpMeterFeatures) Reset()

func (*OfpMeterFeatures) String

func (x *OfpMeterFeatures) String() string

type OfpMeterFlags

type OfpMeterFlags int32

Meter configuration flags

const (
	OfpMeterFlags_OFPMF_INVALID OfpMeterFlags = 0
	OfpMeterFlags_OFPMF_KBPS    OfpMeterFlags = 1 // Rate value in kb/s (kilo-bit per second).
	OfpMeterFlags_OFPMF_PKTPS   OfpMeterFlags = 2 // Rate value in packet/sec.
	OfpMeterFlags_OFPMF_BURST   OfpMeterFlags = 4 // Do burst size.
	OfpMeterFlags_OFPMF_STATS   OfpMeterFlags = 8 // Collect statistics.
)

func (OfpMeterFlags) Descriptor added in v5.7.1

func (OfpMeterFlags) Enum added in v5.7.1

func (x OfpMeterFlags) Enum() *OfpMeterFlags

func (OfpMeterFlags) EnumDescriptor deprecated

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

Deprecated: Use OfpMeterFlags.Descriptor instead.

func (OfpMeterFlags) Number added in v5.7.1

func (OfpMeterFlags) String

func (x OfpMeterFlags) String() string

func (OfpMeterFlags) Type added in v5.7.1

type OfpMeterMod

type OfpMeterMod struct {
	Command OfpMeterModCommand    `protobuf:"varint,1,opt,name=command,proto3,enum=openflow_13.OfpMeterModCommand" json:"command,omitempty"` // One of OFPMC_*.
	Flags   uint32                `protobuf:"varint,2,opt,name=flags,proto3" json:"flags,omitempty"`                                         // Bitmap of OFPMF_* flags.
	MeterId uint32                `protobuf:"varint,3,opt,name=meter_id,json=meterId,proto3" json:"meter_id,omitempty"`                      // Meter instance.
	Bands   []*OfpMeterBandHeader `protobuf:"bytes,4,rep,name=bands,proto3" json:"bands,omitempty"`
	// contains filtered or unexported fields
}

Meter configuration. OFPT_METER_MOD.

func (*OfpMeterMod) Descriptor deprecated

func (*OfpMeterMod) Descriptor() ([]byte, []int)

Deprecated: Use OfpMeterMod.ProtoReflect.Descriptor instead.

func (*OfpMeterMod) GetBands

func (x *OfpMeterMod) GetBands() []*OfpMeterBandHeader

func (*OfpMeterMod) GetCommand

func (x *OfpMeterMod) GetCommand() OfpMeterModCommand

func (*OfpMeterMod) GetFlags

func (x *OfpMeterMod) GetFlags() uint32

func (*OfpMeterMod) GetMeterId

func (x *OfpMeterMod) GetMeterId() uint32

func (*OfpMeterMod) ProtoMessage

func (*OfpMeterMod) ProtoMessage()

func (*OfpMeterMod) ProtoReflect added in v5.7.1

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

func (*OfpMeterMod) Reset

func (x *OfpMeterMod) Reset()

func (*OfpMeterMod) String

func (x *OfpMeterMod) String() string

type OfpMeterModCommand

type OfpMeterModCommand int32

Meter commands

const (
	OfpMeterModCommand_OFPMC_ADD    OfpMeterModCommand = 0 // New meter.
	OfpMeterModCommand_OFPMC_MODIFY OfpMeterModCommand = 1 // Modify specified meter.
	OfpMeterModCommand_OFPMC_DELETE OfpMeterModCommand = 2 // Delete specified meter.
)

func (OfpMeterModCommand) Descriptor added in v5.7.1

func (OfpMeterModCommand) Enum added in v5.7.1

func (OfpMeterModCommand) EnumDescriptor deprecated

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

Deprecated: Use OfpMeterModCommand.Descriptor instead.

func (OfpMeterModCommand) Number added in v5.7.1

func (OfpMeterModCommand) String

func (x OfpMeterModCommand) String() string

func (OfpMeterModCommand) Type added in v5.7.1

type OfpMeterModFailedCode

type OfpMeterModFailedCode int32

ofp_error_msg 'code' values for OFPET_METER_MOD_FAILED. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpMeterModFailedCode_OFPMMFC_UNKNOWN         OfpMeterModFailedCode = 0 // Unspecified error.
	OfpMeterModFailedCode_OFPMMFC_METER_EXISTS    OfpMeterModFailedCode = 1
	OfpMeterModFailedCode_OFPMMFC_INVALID_METER   OfpMeterModFailedCode = 2
	OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER   OfpMeterModFailedCode = 3
	OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND     OfpMeterModFailedCode = 4  // Unsupported or unknown command.
	OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS       OfpMeterModFailedCode = 5  // Flag configuration unsupported.
	OfpMeterModFailedCode_OFPMMFC_BAD_RATE        OfpMeterModFailedCode = 6  // Rate unsupported.
	OfpMeterModFailedCode_OFPMMFC_BAD_BURST       OfpMeterModFailedCode = 7  // Burst size unsupported.
	OfpMeterModFailedCode_OFPMMFC_BAD_BAND        OfpMeterModFailedCode = 8  // Band unsupported.
	OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL OfpMeterModFailedCode = 9  // Band value unsupported.
	OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS   OfpMeterModFailedCode = 10 // No more meters available.
	OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS    OfpMeterModFailedCode = 11
)

func (OfpMeterModFailedCode) Descriptor added in v5.7.1

func (OfpMeterModFailedCode) Enum added in v5.7.1

func (OfpMeterModFailedCode) EnumDescriptor deprecated

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

Deprecated: Use OfpMeterModFailedCode.Descriptor instead.

func (OfpMeterModFailedCode) Number added in v5.7.1

func (OfpMeterModFailedCode) String

func (x OfpMeterModFailedCode) String() string

func (OfpMeterModFailedCode) Type added in v5.7.1

type OfpMeterMultipartRequest

type OfpMeterMultipartRequest struct {
	MeterId uint32 `protobuf:"varint,1,opt,name=meter_id,json=meterId,proto3" json:"meter_id,omitempty"` // Meter instance, or OFPM_ALL.
	// contains filtered or unexported fields
}

Body of OFPMP_METER and OFPMP_METER_CONFIG requests.

func (*OfpMeterMultipartRequest) Descriptor deprecated

func (*OfpMeterMultipartRequest) Descriptor() ([]byte, []int)

Deprecated: Use OfpMeterMultipartRequest.ProtoReflect.Descriptor instead.

func (*OfpMeterMultipartRequest) GetMeterId

func (x *OfpMeterMultipartRequest) GetMeterId() uint32

func (*OfpMeterMultipartRequest) ProtoMessage

func (*OfpMeterMultipartRequest) ProtoMessage()

func (*OfpMeterMultipartRequest) ProtoReflect added in v5.7.1

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

func (*OfpMeterMultipartRequest) Reset

func (x *OfpMeterMultipartRequest) Reset()

func (*OfpMeterMultipartRequest) String

func (x *OfpMeterMultipartRequest) String() string

type OfpMeterStats

type OfpMeterStats struct {
	MeterId       uint32               `protobuf:"varint,1,opt,name=meter_id,json=meterId,proto3" json:"meter_id,omitempty"`                     // Meter instance.
	FlowCount     uint32               `protobuf:"varint,2,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`               // Number of flows bound to meter.
	PacketInCount uint64               `protobuf:"varint,3,opt,name=packet_in_count,json=packetInCount,proto3" json:"packet_in_count,omitempty"` // Number of packets in input.
	ByteInCount   uint64               `protobuf:"varint,4,opt,name=byte_in_count,json=byteInCount,proto3" json:"byte_in_count,omitempty"`       // Number of bytes in input.
	DurationSec   uint32               `protobuf:"varint,5,opt,name=duration_sec,json=durationSec,proto3" json:"duration_sec,omitempty"`         // Time meter has been alive in seconds.
	DurationNsec  uint32               `protobuf:"varint,6,opt,name=duration_nsec,json=durationNsec,proto3" json:"duration_nsec,omitempty"`
	BandStats     []*OfpMeterBandStats `protobuf:"bytes,7,rep,name=band_stats,json=bandStats,proto3" json:"band_stats,omitempty"`
	// contains filtered or unexported fields
}

Body of reply to OFPMP_METER request. Meter statistics.

func (*OfpMeterStats) Descriptor deprecated

func (*OfpMeterStats) Descriptor() ([]byte, []int)

Deprecated: Use OfpMeterStats.ProtoReflect.Descriptor instead.

func (*OfpMeterStats) GetBandStats

func (x *OfpMeterStats) GetBandStats() []*OfpMeterBandStats

func (*OfpMeterStats) GetByteInCount

func (x *OfpMeterStats) GetByteInCount() uint64

func (*OfpMeterStats) GetDurationNsec

func (x *OfpMeterStats) GetDurationNsec() uint32

func (*OfpMeterStats) GetDurationSec

func (x *OfpMeterStats) GetDurationSec() uint32

func (*OfpMeterStats) GetFlowCount

func (x *OfpMeterStats) GetFlowCount() uint32

func (*OfpMeterStats) GetMeterId

func (x *OfpMeterStats) GetMeterId() uint32

func (*OfpMeterStats) GetPacketInCount

func (x *OfpMeterStats) GetPacketInCount() uint64

func (*OfpMeterStats) ProtoMessage

func (*OfpMeterStats) ProtoMessage()

func (*OfpMeterStats) ProtoReflect added in v5.7.1

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

func (*OfpMeterStats) Reset

func (x *OfpMeterStats) Reset()

func (*OfpMeterStats) String

func (x *OfpMeterStats) String() string

type OfpMultipartReply

type OfpMultipartReply struct {

	// ofp_header header;
	Type  OfpMultipartType `protobuf:"varint,1,opt,name=type,proto3,enum=openflow_13.OfpMultipartType" json:"type,omitempty"` // One of the OFPMP_* constants.
	Flags uint32           `protobuf:"varint,2,opt,name=flags,proto3" json:"flags,omitempty"`                                 // OFPMPF_REPLY_* flags.
	Body  []byte           `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`                                    // Body of the reply. 0 or more bytes.
	// contains filtered or unexported fields
}

func (*OfpMultipartReply) Descriptor deprecated

func (*OfpMultipartReply) Descriptor() ([]byte, []int)

Deprecated: Use OfpMultipartReply.ProtoReflect.Descriptor instead.

func (*OfpMultipartReply) GetBody

func (x *OfpMultipartReply) GetBody() []byte

func (*OfpMultipartReply) GetFlags

func (x *OfpMultipartReply) GetFlags() uint32

func (*OfpMultipartReply) GetType

func (x *OfpMultipartReply) GetType() OfpMultipartType

func (*OfpMultipartReply) ProtoMessage

func (*OfpMultipartReply) ProtoMessage()

func (*OfpMultipartReply) ProtoReflect added in v5.7.1

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

func (*OfpMultipartReply) Reset

func (x *OfpMultipartReply) Reset()

func (*OfpMultipartReply) String

func (x *OfpMultipartReply) String() string

type OfpMultipartReplyFlags

type OfpMultipartReplyFlags int32
const (
	OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID OfpMultipartReplyFlags = 0
	OfpMultipartReplyFlags_OFPMPF_REPLY_MORE    OfpMultipartReplyFlags = 1 // More replies to follow.
)

func (OfpMultipartReplyFlags) Descriptor added in v5.7.1

func (OfpMultipartReplyFlags) Enum added in v5.7.1

func (OfpMultipartReplyFlags) EnumDescriptor deprecated

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

Deprecated: Use OfpMultipartReplyFlags.Descriptor instead.

func (OfpMultipartReplyFlags) Number added in v5.7.1

func (OfpMultipartReplyFlags) String

func (x OfpMultipartReplyFlags) String() string

func (OfpMultipartReplyFlags) Type added in v5.7.1

type OfpMultipartRequest

type OfpMultipartRequest struct {

	// ofp_header header;
	Type  OfpMultipartType `protobuf:"varint,1,opt,name=type,proto3,enum=openflow_13.OfpMultipartType" json:"type,omitempty"` // One of the OFPMP_* constants.
	Flags uint32           `protobuf:"varint,2,opt,name=flags,proto3" json:"flags,omitempty"`                                 // OFPMPF_REQ_* flags.
	Body  []byte           `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`                                    // Body of the request. 0 or more bytes.
	// contains filtered or unexported fields
}

func (*OfpMultipartRequest) Descriptor deprecated

func (*OfpMultipartRequest) Descriptor() ([]byte, []int)

Deprecated: Use OfpMultipartRequest.ProtoReflect.Descriptor instead.

func (*OfpMultipartRequest) GetBody

func (x *OfpMultipartRequest) GetBody() []byte

func (*OfpMultipartRequest) GetFlags

func (x *OfpMultipartRequest) GetFlags() uint32

func (*OfpMultipartRequest) GetType

func (*OfpMultipartRequest) ProtoMessage

func (*OfpMultipartRequest) ProtoMessage()

func (*OfpMultipartRequest) ProtoReflect added in v5.7.1

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

func (*OfpMultipartRequest) Reset

func (x *OfpMultipartRequest) Reset()

func (*OfpMultipartRequest) String

func (x *OfpMultipartRequest) String() string

type OfpMultipartRequestFlags

type OfpMultipartRequestFlags int32
const (
	OfpMultipartRequestFlags_OFPMPF_REQ_INVALID OfpMultipartRequestFlags = 0
	OfpMultipartRequestFlags_OFPMPF_REQ_MORE    OfpMultipartRequestFlags = 1 // More requests to follow.
)

func (OfpMultipartRequestFlags) Descriptor added in v5.7.1

func (OfpMultipartRequestFlags) Enum added in v5.7.1

func (OfpMultipartRequestFlags) EnumDescriptor deprecated

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

Deprecated: Use OfpMultipartRequestFlags.Descriptor instead.

func (OfpMultipartRequestFlags) Number added in v5.7.1

func (OfpMultipartRequestFlags) String

func (x OfpMultipartRequestFlags) String() string

func (OfpMultipartRequestFlags) Type added in v5.7.1

type OfpMultipartType

type OfpMultipartType int32
const (
	// Description of this OpenFlow switch.
	// The request body is empty.
	// The reply body is struct ofp_desc.
	OfpMultipartType_OFPMP_DESC OfpMultipartType = 0
	// Individual flow statistics.
	// The request body is struct ofp_flow_stats_request.
	// The reply body is an array of struct ofp_flow_stats.
	OfpMultipartType_OFPMP_FLOW OfpMultipartType = 1
	// Aggregate flow statistics.
	// The request body is struct ofp_aggregate_stats_request.
	// The reply body is struct ofp_aggregate_stats_reply.
	OfpMultipartType_OFPMP_AGGREGATE OfpMultipartType = 2
	// Flow table statistics.
	// The request body is empty.
	// The reply body is an array of struct ofp_table_stats.
	OfpMultipartType_OFPMP_TABLE OfpMultipartType = 3
	// Port statistics.
	// The request body is struct ofp_port_stats_request.
	// The reply body is an array of struct ofp_port_stats.
	OfpMultipartType_OFPMP_PORT_STATS OfpMultipartType = 4
	// Queue statistics for a port
	// The request body is struct ofp_queue_stats_request.
	// The reply body is an array of struct ofp_queue_stats
	OfpMultipartType_OFPMP_QUEUE OfpMultipartType = 5
	// Group counter statistics.
	// The request body is struct ofp_group_stats_request.
	// The reply is an array of struct ofp_group_stats.
	OfpMultipartType_OFPMP_GROUP OfpMultipartType = 6
	// Group description.
	// The request body is empty.
	// The reply body is an array of struct ofp_group_desc.
	OfpMultipartType_OFPMP_GROUP_DESC OfpMultipartType = 7
	// Group features.
	// The request body is empty.
	// The reply body is struct ofp_group_features.
	OfpMultipartType_OFPMP_GROUP_FEATURES OfpMultipartType = 8
	// Meter statistics.
	// The request body is struct ofp_meter_multipart_requests.
	// The reply body is an array of struct ofp_meter_stats.
	OfpMultipartType_OFPMP_METER OfpMultipartType = 9
	// Meter configuration.
	// The request body is struct ofp_meter_multipart_requests.
	// The reply body is an array of struct ofp_meter_config.
	OfpMultipartType_OFPMP_METER_CONFIG OfpMultipartType = 10
	// Meter features.
	// The request body is empty.
	// The reply body is struct ofp_meter_features.
	OfpMultipartType_OFPMP_METER_FEATURES OfpMultipartType = 11
	// Table features.
	// The request body is either empty or contains an array of
	// struct ofp_table_features containing the controller's
	// desired view of the switch. If the switch is unable to
	// set the specified view an error is returned.
	// The reply body is an array of struct ofp_table_features.
	OfpMultipartType_OFPMP_TABLE_FEATURES OfpMultipartType = 12
	// Port description.
	// The request body is empty.
	// The reply body is an array of struct ofp_port.
	OfpMultipartType_OFPMP_PORT_DESC OfpMultipartType = 13
	// Experimenter extension.
	// The request and reply bodies begin with
	// struct ofp_experimenter_multipart_header.
	// The request and reply bodies are otherwise experimenter-defined.
	OfpMultipartType_OFPMP_EXPERIMENTER OfpMultipartType = 65535
)

func (OfpMultipartType) Descriptor added in v5.7.1

func (OfpMultipartType) Enum added in v5.7.1

func (OfpMultipartType) EnumDescriptor deprecated

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

Deprecated: Use OfpMultipartType.Descriptor instead.

func (OfpMultipartType) Number added in v5.7.1

func (OfpMultipartType) String

func (x OfpMultipartType) String() string

func (OfpMultipartType) Type added in v5.7.1

type OfpOxmClass

type OfpOxmClass int32

OXM Class IDs. The high order bit differentiate reserved classes from member classes. Classes 0x0000 to 0x7FFF are member classes, allocated by ONF. Classes 0x8000 to 0xFFFE are reserved classes, reserved for standardisation.

const (
	OfpOxmClass_OFPXMC_NXM_0          OfpOxmClass = 0     // Backward compatibility with NXM
	OfpOxmClass_OFPXMC_NXM_1          OfpOxmClass = 1     // Backward compatibility with NXM
	OfpOxmClass_OFPXMC_OPENFLOW_BASIC OfpOxmClass = 32768 // Basic class for OpenFlow
	OfpOxmClass_OFPXMC_EXPERIMENTER   OfpOxmClass = 65535 // Experimenter class
)

func (OfpOxmClass) Descriptor added in v5.7.1

func (OfpOxmClass) Enum added in v5.7.1

func (x OfpOxmClass) Enum() *OfpOxmClass

func (OfpOxmClass) EnumDescriptor deprecated

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

Deprecated: Use OfpOxmClass.Descriptor instead.

func (OfpOxmClass) Number added in v5.7.1

func (x OfpOxmClass) Number() protoreflect.EnumNumber

func (OfpOxmClass) String

func (x OfpOxmClass) String() string

func (OfpOxmClass) Type added in v5.7.1

type OfpOxmExperimenterField

type OfpOxmExperimenterField struct {
	OxmHeader    uint32 `protobuf:"varint,1,opt,name=oxm_header,json=oxmHeader,proto3" json:"oxm_header,omitempty"` // oxm_class = OFPXMC_EXPERIMENTER
	Experimenter uint32 `protobuf:"varint,2,opt,name=experimenter,proto3" json:"experimenter,omitempty"`
	// contains filtered or unexported fields
}

Header for OXM experimenter match fields. The experimenter class should not use OXM_HEADER() macros for defining fields due to this extra header.

func (*OfpOxmExperimenterField) Descriptor deprecated

func (*OfpOxmExperimenterField) Descriptor() ([]byte, []int)

Deprecated: Use OfpOxmExperimenterField.ProtoReflect.Descriptor instead.

func (*OfpOxmExperimenterField) GetExperimenter

func (x *OfpOxmExperimenterField) GetExperimenter() uint32

func (*OfpOxmExperimenterField) GetOxmHeader

func (x *OfpOxmExperimenterField) GetOxmHeader() uint32

func (*OfpOxmExperimenterField) ProtoMessage

func (*OfpOxmExperimenterField) ProtoMessage()

func (*OfpOxmExperimenterField) ProtoReflect added in v5.7.1

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

func (*OfpOxmExperimenterField) Reset

func (x *OfpOxmExperimenterField) Reset()

func (*OfpOxmExperimenterField) String

func (x *OfpOxmExperimenterField) String() string

type OfpOxmField

type OfpOxmField struct {
	OxmClass OfpOxmClass `protobuf:"varint,1,opt,name=oxm_class,json=oxmClass,proto3,enum=openflow_13.OfpOxmClass" json:"oxm_class,omitempty"`
	// Types that are valid to be assigned to Field:
	//
	//	*OfpOxmField_OfbField
	//	*OfpOxmField_ExperimenterField
	Field isOfpOxmField_Field `protobuf_oneof:"field"`
	// contains filtered or unexported fields
}

OXM Flow match fields

func (*OfpOxmField) Descriptor deprecated

func (*OfpOxmField) Descriptor() ([]byte, []int)

Deprecated: Use OfpOxmField.ProtoReflect.Descriptor instead.

func (*OfpOxmField) GetExperimenterField

func (x *OfpOxmField) GetExperimenterField() *OfpOxmExperimenterField

func (*OfpOxmField) GetField

func (x *OfpOxmField) GetField() isOfpOxmField_Field

func (*OfpOxmField) GetOfbField

func (x *OfpOxmField) GetOfbField() *OfpOxmOfbField

func (*OfpOxmField) GetOxmClass

func (x *OfpOxmField) GetOxmClass() OfpOxmClass

func (*OfpOxmField) ProtoMessage

func (*OfpOxmField) ProtoMessage()

func (*OfpOxmField) ProtoReflect added in v5.7.1

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

func (*OfpOxmField) Reset

func (x *OfpOxmField) Reset()

func (*OfpOxmField) String

func (x *OfpOxmField) String() string

type OfpOxmField_ExperimenterField

type OfpOxmField_ExperimenterField struct {
	ExperimenterField *OfpOxmExperimenterField `protobuf:"bytes,5,opt,name=experimenter_field,json=experimenterField,proto3,oneof"`
}

type OfpOxmField_OfbField

type OfpOxmField_OfbField struct {
	// 2 and 3 reserved for NXM_0 and NXM-1 OXM classes
	OfbField *OfpOxmOfbField `protobuf:"bytes,4,opt,name=ofb_field,json=ofbField,proto3,oneof"`
}

type OfpOxmOfbField

type OfpOxmOfbField struct {
	Type    OxmOfbFieldTypes `protobuf:"varint,1,opt,name=type,proto3,enum=openflow_13.OxmOfbFieldTypes" json:"type,omitempty"`
	HasMask bool             `protobuf:"varint,2,opt,name=has_mask,json=hasMask,proto3" json:"has_mask,omitempty"`
	// Types that are valid to be assigned to Value:
	//
	//	*OfpOxmOfbField_Port
	//	*OfpOxmOfbField_PhysicalPort
	//	*OfpOxmOfbField_TableMetadata
	//	*OfpOxmOfbField_EthDst
	//	*OfpOxmOfbField_EthSrc
	//	*OfpOxmOfbField_EthType
	//	*OfpOxmOfbField_VlanVid
	//	*OfpOxmOfbField_VlanPcp
	//	*OfpOxmOfbField_IpDscp
	//	*OfpOxmOfbField_IpEcn
	//	*OfpOxmOfbField_IpProto
	//	*OfpOxmOfbField_Ipv4Src
	//	*OfpOxmOfbField_Ipv4Dst
	//	*OfpOxmOfbField_TcpSrc
	//	*OfpOxmOfbField_TcpDst
	//	*OfpOxmOfbField_UdpSrc
	//	*OfpOxmOfbField_UdpDst
	//	*OfpOxmOfbField_SctpSrc
	//	*OfpOxmOfbField_SctpDst
	//	*OfpOxmOfbField_Icmpv4Type
	//	*OfpOxmOfbField_Icmpv4Code
	//	*OfpOxmOfbField_ArpOp
	//	*OfpOxmOfbField_ArpSpa
	//	*OfpOxmOfbField_ArpTpa
	//	*OfpOxmOfbField_ArpSha
	//	*OfpOxmOfbField_ArpTha
	//	*OfpOxmOfbField_Ipv6Src
	//	*OfpOxmOfbField_Ipv6Dst
	//	*OfpOxmOfbField_Ipv6Flabel
	//	*OfpOxmOfbField_Icmpv6Type
	//	*OfpOxmOfbField_Icmpv6Code
	//	*OfpOxmOfbField_Ipv6NdTarget
	//	*OfpOxmOfbField_Ipv6NdSsl
	//	*OfpOxmOfbField_Ipv6NdTll
	//	*OfpOxmOfbField_MplsLabel
	//	*OfpOxmOfbField_MplsTc
	//	*OfpOxmOfbField_MplsBos
	//	*OfpOxmOfbField_PbbIsid
	//	*OfpOxmOfbField_TunnelId
	//	*OfpOxmOfbField_Ipv6Exthdr
	Value isOfpOxmOfbField_Value `protobuf_oneof:"value"`
	// Optional mask values (must be present when has_mask is true
	// Types that are valid to be assigned to Mask:
	//
	//	*OfpOxmOfbField_TableMetadataMask
	//	*OfpOxmOfbField_EthDstMask
	//	*OfpOxmOfbField_EthSrcMask
	//	*OfpOxmOfbField_VlanVidMask
	//	*OfpOxmOfbField_Ipv4SrcMask
	//	*OfpOxmOfbField_Ipv4DstMask
	//	*OfpOxmOfbField_ArpSpaMask
	//	*OfpOxmOfbField_ArpTpaMask
	//	*OfpOxmOfbField_Ipv6SrcMask
	//	*OfpOxmOfbField_Ipv6DstMask
	//	*OfpOxmOfbField_Ipv6FlabelMask
	//	*OfpOxmOfbField_PbbIsidMask
	//	*OfpOxmOfbField_TunnelIdMask
	//	*OfpOxmOfbField_Ipv6ExthdrMask
	Mask isOfpOxmOfbField_Mask `protobuf_oneof:"mask"`
	// contains filtered or unexported fields
}

OXM OpenFlow Basic Match Field

func (*OfpOxmOfbField) Descriptor deprecated

func (*OfpOxmOfbField) Descriptor() ([]byte, []int)

Deprecated: Use OfpOxmOfbField.ProtoReflect.Descriptor instead.

func (*OfpOxmOfbField) GetArpOp

func (x *OfpOxmOfbField) GetArpOp() uint32

func (*OfpOxmOfbField) GetArpSha

func (x *OfpOxmOfbField) GetArpSha() []byte

func (*OfpOxmOfbField) GetArpSpa

func (x *OfpOxmOfbField) GetArpSpa() uint32

func (*OfpOxmOfbField) GetArpSpaMask

func (x *OfpOxmOfbField) GetArpSpaMask() uint32

func (*OfpOxmOfbField) GetArpTha

func (x *OfpOxmOfbField) GetArpTha() []byte

func (*OfpOxmOfbField) GetArpTpa

func (x *OfpOxmOfbField) GetArpTpa() uint32

func (*OfpOxmOfbField) GetArpTpaMask

func (x *OfpOxmOfbField) GetArpTpaMask() uint32

func (*OfpOxmOfbField) GetEthDst

func (x *OfpOxmOfbField) GetEthDst() []byte

func (*OfpOxmOfbField) GetEthDstMask

func (x *OfpOxmOfbField) GetEthDstMask() []byte

func (*OfpOxmOfbField) GetEthSrc

func (x *OfpOxmOfbField) GetEthSrc() []byte

func (*OfpOxmOfbField) GetEthSrcMask

func (x *OfpOxmOfbField) GetEthSrcMask() []byte

func (*OfpOxmOfbField) GetEthType

func (x *OfpOxmOfbField) GetEthType() uint32

func (*OfpOxmOfbField) GetHasMask

func (x *OfpOxmOfbField) GetHasMask() bool

func (*OfpOxmOfbField) GetIcmpv4Code

func (x *OfpOxmOfbField) GetIcmpv4Code() uint32

func (*OfpOxmOfbField) GetIcmpv4Type

func (x *OfpOxmOfbField) GetIcmpv4Type() uint32

func (*OfpOxmOfbField) GetIcmpv6Code

func (x *OfpOxmOfbField) GetIcmpv6Code() uint32

func (*OfpOxmOfbField) GetIcmpv6Type

func (x *OfpOxmOfbField) GetIcmpv6Type() uint32

func (*OfpOxmOfbField) GetIpDscp

func (x *OfpOxmOfbField) GetIpDscp() uint32

func (*OfpOxmOfbField) GetIpEcn

func (x *OfpOxmOfbField) GetIpEcn() uint32

func (*OfpOxmOfbField) GetIpProto

func (x *OfpOxmOfbField) GetIpProto() uint32

func (*OfpOxmOfbField) GetIpv4Dst

func (x *OfpOxmOfbField) GetIpv4Dst() uint32

func (*OfpOxmOfbField) GetIpv4DstMask

func (x *OfpOxmOfbField) GetIpv4DstMask() uint32

func (*OfpOxmOfbField) GetIpv4Src

func (x *OfpOxmOfbField) GetIpv4Src() uint32

func (*OfpOxmOfbField) GetIpv4SrcMask

func (x *OfpOxmOfbField) GetIpv4SrcMask() uint32

func (*OfpOxmOfbField) GetIpv6Dst

func (x *OfpOxmOfbField) GetIpv6Dst() []byte

func (*OfpOxmOfbField) GetIpv6DstMask

func (x *OfpOxmOfbField) GetIpv6DstMask() []byte

func (*OfpOxmOfbField) GetIpv6Exthdr

func (x *OfpOxmOfbField) GetIpv6Exthdr() uint32

func (*OfpOxmOfbField) GetIpv6ExthdrMask

func (x *OfpOxmOfbField) GetIpv6ExthdrMask() uint32

func (*OfpOxmOfbField) GetIpv6Flabel

func (x *OfpOxmOfbField) GetIpv6Flabel() uint32

func (*OfpOxmOfbField) GetIpv6FlabelMask

func (x *OfpOxmOfbField) GetIpv6FlabelMask() uint32

func (*OfpOxmOfbField) GetIpv6NdSsl

func (x *OfpOxmOfbField) GetIpv6NdSsl() []byte

func (*OfpOxmOfbField) GetIpv6NdTarget

func (x *OfpOxmOfbField) GetIpv6NdTarget() []byte

func (*OfpOxmOfbField) GetIpv6NdTll

func (x *OfpOxmOfbField) GetIpv6NdTll() []byte

func (*OfpOxmOfbField) GetIpv6Src

func (x *OfpOxmOfbField) GetIpv6Src() []byte

func (*OfpOxmOfbField) GetIpv6SrcMask

func (x *OfpOxmOfbField) GetIpv6SrcMask() []byte

func (*OfpOxmOfbField) GetMask

func (x *OfpOxmOfbField) GetMask() isOfpOxmOfbField_Mask

func (*OfpOxmOfbField) GetMplsBos

func (x *OfpOxmOfbField) GetMplsBos() uint32

func (*OfpOxmOfbField) GetMplsLabel

func (x *OfpOxmOfbField) GetMplsLabel() uint32

func (*OfpOxmOfbField) GetMplsTc

func (x *OfpOxmOfbField) GetMplsTc() uint32

func (*OfpOxmOfbField) GetPbbIsid

func (x *OfpOxmOfbField) GetPbbIsid() uint32

func (*OfpOxmOfbField) GetPbbIsidMask

func (x *OfpOxmOfbField) GetPbbIsidMask() uint32

func (*OfpOxmOfbField) GetPhysicalPort

func (x *OfpOxmOfbField) GetPhysicalPort() uint32

func (*OfpOxmOfbField) GetPort

func (x *OfpOxmOfbField) GetPort() uint32

func (*OfpOxmOfbField) GetSctpDst

func (x *OfpOxmOfbField) GetSctpDst() uint32

func (*OfpOxmOfbField) GetSctpSrc

func (x *OfpOxmOfbField) GetSctpSrc() uint32

func (*OfpOxmOfbField) GetTableMetadata

func (x *OfpOxmOfbField) GetTableMetadata() uint64

func (*OfpOxmOfbField) GetTableMetadataMask

func (x *OfpOxmOfbField) GetTableMetadataMask() uint64

func (*OfpOxmOfbField) GetTcpDst

func (x *OfpOxmOfbField) GetTcpDst() uint32

func (*OfpOxmOfbField) GetTcpSrc

func (x *OfpOxmOfbField) GetTcpSrc() uint32

func (*OfpOxmOfbField) GetTunnelId

func (x *OfpOxmOfbField) GetTunnelId() uint64

func (*OfpOxmOfbField) GetTunnelIdMask

func (x *OfpOxmOfbField) GetTunnelIdMask() uint64

func (*OfpOxmOfbField) GetType

func (x *OfpOxmOfbField) GetType() OxmOfbFieldTypes

func (*OfpOxmOfbField) GetUdpDst

func (x *OfpOxmOfbField) GetUdpDst() uint32

func (*OfpOxmOfbField) GetUdpSrc

func (x *OfpOxmOfbField) GetUdpSrc() uint32

func (*OfpOxmOfbField) GetValue

func (x *OfpOxmOfbField) GetValue() isOfpOxmOfbField_Value

func (*OfpOxmOfbField) GetVlanPcp

func (x *OfpOxmOfbField) GetVlanPcp() uint32

func (*OfpOxmOfbField) GetVlanVid

func (x *OfpOxmOfbField) GetVlanVid() uint32

func (*OfpOxmOfbField) GetVlanVidMask

func (x *OfpOxmOfbField) GetVlanVidMask() uint32

func (*OfpOxmOfbField) ProtoMessage

func (*OfpOxmOfbField) ProtoMessage()

func (*OfpOxmOfbField) ProtoReflect added in v5.7.1

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

func (*OfpOxmOfbField) Reset

func (x *OfpOxmOfbField) Reset()

func (*OfpOxmOfbField) String

func (x *OfpOxmOfbField) String() string

type OfpOxmOfbField_ArpOp

type OfpOxmOfbField_ArpOp struct {
	// #define OXM_OF_ARP_OP     OXM_HEADER  (0x8000, OFPXMT_OFB_ARP_OP, 2)
	ArpOp uint32 `protobuf:"varint,24,opt,name=arp_op,json=arpOp,proto3,oneof"` // Used for OFPXMT_OFB_ARP_OP
}

type OfpOxmOfbField_ArpSha

type OfpOxmOfbField_ArpSha struct {
	// #define OXM_OF_ARP_SHA    OXM_HEADER   (0x8000, OFPXMT_OFB_ARP_SHA, 6)
	// #define OXM_OF_ARP_SHA_W  OXM_HEADER_W (0x8000, OFPXMT_OFB_ARP_SHA, 6)
	// #define OXM_OF_ARP_THA    OXM_HEADER   (0x8000, OFPXMT_OFB_ARP_THA, 6)
	// #define OXM_OF_ARP_THA_W  OXM_HEADER_W (0x8000, OFPXMT_OFB_ARP_THA, 6)
	ArpSha []byte `protobuf:"bytes,27,opt,name=arp_sha,json=arpSha,proto3,oneof"` // For OFPXMT_OFB_ARP_SHA (6 bytes)
}

type OfpOxmOfbField_ArpSpa

type OfpOxmOfbField_ArpSpa struct {
	// #define OXM_OF_ARP_SPA    OXM_HEADER  (0x8000, OFPXMT_OFB_ARP_SPA, 4)
	// #define OXM_OF_ARP_SPA_W  OXM_HEADER_W(0x8000, OFPXMT_OFB_ARP_SPA, 4)
	// #define OXM_OF_ARP_TPA    OXM_HEADER  (0x8000, OFPXMT_OFB_ARP_TPA, 4)
	// #define OXM_OF_ARP_TPA_W  OXM_HEADER_W(0x8000, OFPXMT_OFB_ARP_TPA, 4)
	ArpSpa uint32 `protobuf:"varint,25,opt,name=arp_spa,json=arpSpa,proto3,oneof"` // For OFPXMT_OFB_ARP_SPA
}

type OfpOxmOfbField_ArpSpaMask

type OfpOxmOfbField_ArpSpaMask struct {
	ArpSpaMask uint32 `protobuf:"varint,125,opt,name=arp_spa_mask,json=arpSpaMask,proto3,oneof"` // For OFPXMT_OFB_ARP_SPA
}

type OfpOxmOfbField_ArpTha

type OfpOxmOfbField_ArpTha struct {
	ArpTha []byte `protobuf:"bytes,28,opt,name=arp_tha,json=arpTha,proto3,oneof"` // For OFPXMT_OFB_ARP_THA (6 bytes)
}

type OfpOxmOfbField_ArpTpa

type OfpOxmOfbField_ArpTpa struct {
	ArpTpa uint32 `protobuf:"varint,26,opt,name=arp_tpa,json=arpTpa,proto3,oneof"` // For OFPXMT_OFB_ARP_TPA
}

type OfpOxmOfbField_ArpTpaMask

type OfpOxmOfbField_ArpTpaMask struct {
	ArpTpaMask uint32 `protobuf:"varint,126,opt,name=arp_tpa_mask,json=arpTpaMask,proto3,oneof"` // For OFPXMT_OFB_ARP_TPA
}

type OfpOxmOfbField_EthDst

type OfpOxmOfbField_EthDst struct {
	// #define OXM_OF_ETH_DST    OXM_HEADER  (0x8000, OFPXMT_OFB_ETH_DST, 6)
	// #define OXM_OF_ETH_DST_W  OXM_HEADER_W(0x8000, OFPXMT_OFB_ETH_DST, 6)
	// #define OXM_OF_ETH_SRC    OXM_HEADER  (0x8000, OFPXMT_OFB_ETH_SRC, 6)
	// #define OXM_OF_ETH_SRC_W  OXM_HEADER_W(0x8000, OFPXMT_OFB_ETH_SRC, 6)
	EthDst []byte `protobuf:"bytes,6,opt,name=eth_dst,json=ethDst,proto3,oneof"` // Used for OFPXMT_OFB_ETH_DST (exactly 6 bytes)
}

type OfpOxmOfbField_EthDstMask

type OfpOxmOfbField_EthDstMask struct {
	EthDstMask []byte `protobuf:"bytes,106,opt,name=eth_dst_mask,json=ethDstMask,proto3,oneof"` // For OFPXMT_OFB_ETH_DST (exactly 6 bytes)
}

type OfpOxmOfbField_EthSrc

type OfpOxmOfbField_EthSrc struct {
	EthSrc []byte `protobuf:"bytes,7,opt,name=eth_src,json=ethSrc,proto3,oneof"` // Used for OFPXMT_OFB_ETH_SRC (exactly 6 bytes)
}

type OfpOxmOfbField_EthSrcMask

type OfpOxmOfbField_EthSrcMask struct {
	EthSrcMask []byte `protobuf:"bytes,107,opt,name=eth_src_mask,json=ethSrcMask,proto3,oneof"` // For OFPXMT_OFB_ETH_SRC (exactly 6 bytes)
}

type OfpOxmOfbField_EthType

type OfpOxmOfbField_EthType struct {
	// #define OXM_OF_ETH_TYPE   OXM_HEADER  (0x8000, OFPXMT_OFB_ETH_TYPE,2)
	EthType uint32 `protobuf:"varint,8,opt,name=eth_type,json=ethType,proto3,oneof"` // Used for OFPXMT_OFB_ETH_TYPE
}

type OfpOxmOfbField_Icmpv4Code

type OfpOxmOfbField_Icmpv4Code struct {
	Icmpv4Code uint32 `protobuf:"varint,23,opt,name=icmpv4_code,json=icmpv4Code,proto3,oneof"` // Used for OFPXMT_OFB_ICMPV4_CODE
}

type OfpOxmOfbField_Icmpv4Type

type OfpOxmOfbField_Icmpv4Type struct {
	// #define OXM_OF_ICMPV4_TYPE  OXM_HEADER  (0x8000, OFPXMT_OFB_ICMPV4_TYPE, 1)
	// #define OXM_OF_ICMPV4_CODE  OXM_HEADER  (0x8000, OFPXMT_OFB_ICMPV4_CODE, 1)
	Icmpv4Type uint32 `protobuf:"varint,22,opt,name=icmpv4_type,json=icmpv4Type,proto3,oneof"` // Used for OFPXMT_OFB_ICMPV4_TYPE
}

type OfpOxmOfbField_Icmpv6Code

type OfpOxmOfbField_Icmpv6Code struct {
	Icmpv6Code uint32 `protobuf:"varint,33,opt,name=icmpv6_code,json=icmpv6Code,proto3,oneof"` // For OFPXMT_OFB_ICMPV6_CODE
}

type OfpOxmOfbField_Icmpv6Type

type OfpOxmOfbField_Icmpv6Type struct {
	// #define OXM_OF_ICMPV6_TYPE OXM_HEADER  (0x8000, OFPXMT_OFB_ICMPV6_TYPE, 1)
	// #define OXM_OF_ICMPV6_CODE OXM_HEADER  (0x8000, OFPXMT_OFB_ICMPV6_CODE, 1)
	Icmpv6Type uint32 `protobuf:"varint,32,opt,name=icmpv6_type,json=icmpv6Type,proto3,oneof"` // For OFPXMT_OFB_ICMPV6_TYPE
}

type OfpOxmOfbField_IpDscp

type OfpOxmOfbField_IpDscp struct {
	// #define OXM_OF_IP_DSCP     OXM_HEADER  (0x8000, OFPXMT_OFB_IP_DSCP, 1)
	IpDscp uint32 `protobuf:"varint,11,opt,name=ip_dscp,json=ipDscp,proto3,oneof"` // Used for OFPXMT_OFB_IP_DSCP
}

type OfpOxmOfbField_IpEcn

type OfpOxmOfbField_IpEcn struct {
	// #define OXM_OF_IP_ECN     OXM_HEADER  (0x8000, OFPXMT_OFB_IP_ECN, 1)
	IpEcn uint32 `protobuf:"varint,12,opt,name=ip_ecn,json=ipEcn,proto3,oneof"` // Used for OFPXMT_OFB_IP_ECN
}

type OfpOxmOfbField_IpProto

type OfpOxmOfbField_IpProto struct {
	// #define OXM_OF_IP_PROTO   OXM_HEADER  (0x8000, OFPXMT_OFB_IP_PROTO, 1)
	IpProto uint32 `protobuf:"varint,13,opt,name=ip_proto,json=ipProto,proto3,oneof"` // Used for OFPXMT_OFB_IP_PROTO
}

type OfpOxmOfbField_Ipv4Dst

type OfpOxmOfbField_Ipv4Dst struct {
	Ipv4Dst uint32 `protobuf:"varint,15,opt,name=ipv4_dst,json=ipv4Dst,proto3,oneof"` // Used for OFPXMT_OFB_IPV4_DST
}

type OfpOxmOfbField_Ipv4DstMask

type OfpOxmOfbField_Ipv4DstMask struct {
	Ipv4DstMask uint32 `protobuf:"varint,115,opt,name=ipv4_dst_mask,json=ipv4DstMask,proto3,oneof"` // For OFPXMT_OFB_IPV4_DST
}

type OfpOxmOfbField_Ipv4Src

type OfpOxmOfbField_Ipv4Src struct {
	// #define OXM_OF_IPV4_SRC     OXM_HEADER  (0x8000, OFPXMT_OFB_IPV4_SRC, 4)
	// #define OXM_OF_IPV4_SRC_W   OXM_HEADER_W(0x8000, OFPXMT_OFB_IPV4_SRC, 4)
	// #define OXM_OF_IPV4_DST     OXM_HEADER  (0x8000, OFPXMT_OFB_IPV4_DST, 4)
	// #define OXM_OF_IPV4_DST_W   OXM_HEADER_W(0x8000, OFPXMT_OFB_IPV4_DST, 4)
	Ipv4Src uint32 `protobuf:"varint,14,opt,name=ipv4_src,json=ipv4Src,proto3,oneof"` // Used for OFPXMT_OFB_IPV4_SRC
}

type OfpOxmOfbField_Ipv4SrcMask

type OfpOxmOfbField_Ipv4SrcMask struct {
	Ipv4SrcMask uint32 `protobuf:"varint,114,opt,name=ipv4_src_mask,json=ipv4SrcMask,proto3,oneof"` // For OFPXMT_OFB_IPV4_SRC
}

type OfpOxmOfbField_Ipv6Dst

type OfpOxmOfbField_Ipv6Dst struct {
	Ipv6Dst []byte `protobuf:"bytes,30,opt,name=ipv6_dst,json=ipv6Dst,proto3,oneof"` // For OFPXMT_OFB_IPV6_DST
}

type OfpOxmOfbField_Ipv6DstMask

type OfpOxmOfbField_Ipv6DstMask struct {
	Ipv6DstMask []byte `protobuf:"bytes,130,opt,name=ipv6_dst_mask,json=ipv6DstMask,proto3,oneof"` // For OFPXMT_OFB_IPV6_DST
}

type OfpOxmOfbField_Ipv6Exthdr

type OfpOxmOfbField_Ipv6Exthdr struct {
	// #define OXM_OF_IPV6_EXTHDR   OXM_HEADER  (0x8000, OFPXMT_OFB_IPV6_EXTHDR, 2)
	// #define OXM_OF_IPV6_EXTHDR_W OXM_HEADER_W(0x8000, OFPXMT_OFB_IPV6_EXTHDR, 2)
	Ipv6Exthdr uint32 `protobuf:"varint,42,opt,name=ipv6_exthdr,json=ipv6Exthdr,proto3,oneof"` // For OFPXMT_OFB_IPV6_EXTHDR
}

type OfpOxmOfbField_Ipv6ExthdrMask

type OfpOxmOfbField_Ipv6ExthdrMask struct {
	Ipv6ExthdrMask uint32 `protobuf:"varint,142,opt,name=ipv6_exthdr_mask,json=ipv6ExthdrMask,proto3,oneof"` // For OFPXMT_OFB_IPV6_EXTHDR
}

type OfpOxmOfbField_Ipv6Flabel

type OfpOxmOfbField_Ipv6Flabel struct {
	// #define OXM_OF_IPV6_FLABEL   OXM_HEADER  (0x8000, OFPXMT_OFB_IPV6_FLABEL, 4)
	// #define OXM_OF_IPV6_FLABEL_W OXM_HEADER_W(0x8000, OFPXMT_OFB_IPV6_FLABEL, 4)
	Ipv6Flabel uint32 `protobuf:"varint,31,opt,name=ipv6_flabel,json=ipv6Flabel,proto3,oneof"` // For OFPXMT_OFB_IPV6_FLABEL
}

type OfpOxmOfbField_Ipv6FlabelMask

type OfpOxmOfbField_Ipv6FlabelMask struct {
	Ipv6FlabelMask uint32 `protobuf:"varint,131,opt,name=ipv6_flabel_mask,json=ipv6FlabelMask,proto3,oneof"` // For OFPXMT_OFB_IPV6_FLABEL
}

type OfpOxmOfbField_Ipv6NdSsl

type OfpOxmOfbField_Ipv6NdSsl struct {
	// #define OXM_OF_IPV6_ND_SLL  OXM_HEADER  (0x8000, OFPXMT_OFB_IPV6_ND_SLL, 6)
	Ipv6NdSsl []byte `protobuf:"bytes,35,opt,name=ipv6_nd_ssl,json=ipv6NdSsl,proto3,oneof"` // For OFPXMT_OFB_IPV6_ND_SLL
}

type OfpOxmOfbField_Ipv6NdTarget

type OfpOxmOfbField_Ipv6NdTarget struct {
	//	#define OXM_OF_IPV6_ND_TARGET OXM_HEADER \
	//	   (0x8000, OFPXMT_OFB_IPV6_ND_TARGET, 16)
	Ipv6NdTarget []byte `protobuf:"bytes,34,opt,name=ipv6_nd_target,json=ipv6NdTarget,proto3,oneof"` // For OFPXMT_OFB_IPV6_ND_TARGET
}

type OfpOxmOfbField_Ipv6NdTll

type OfpOxmOfbField_Ipv6NdTll struct {
	// #define OXM_OF_IPV6_ND_TLL  OXM_HEADER  (0x8000, OFPXMT_OFB_IPV6_ND_TLL, 6)
	Ipv6NdTll []byte `protobuf:"bytes,36,opt,name=ipv6_nd_tll,json=ipv6NdTll,proto3,oneof"` // For OFPXMT_OFB_IPV6_ND_TLL
}

type OfpOxmOfbField_Ipv6Src

type OfpOxmOfbField_Ipv6Src struct {
	// #define OXM_OF_IPV6_SRC    OXM_HEADER  (0x8000, OFPXMT_OFB_IPV6_SRC, 16)
	// #define OXM_OF_IPV6_SRC_W  OXM_HEADER_W(0x8000, OFPXMT_OFB_IPV6_SRC, 16)
	// #define OXM_OF_IPV6_DST    OXM_HEADER  (0x8000, OFPXMT_OFB_IPV6_DST, 16)
	// #define OXM_OF_IPV6_DST_W  OXM_HEADER_W(0x8000, OFPXMT_OFB_IPV6_DST, 16)
	Ipv6Src []byte `protobuf:"bytes,29,opt,name=ipv6_src,json=ipv6Src,proto3,oneof"` // For OFPXMT_OFB_IPV6_SRC
}

type OfpOxmOfbField_Ipv6SrcMask

type OfpOxmOfbField_Ipv6SrcMask struct {
	Ipv6SrcMask []byte `protobuf:"bytes,129,opt,name=ipv6_src_mask,json=ipv6SrcMask,proto3,oneof"` // For OFPXMT_OFB_IPV6_SRC
}

type OfpOxmOfbField_MplsBos

type OfpOxmOfbField_MplsBos struct {
	// #define OXM_OF_MPLS_BOS     OXM_HEADER  (0x8000, OFPXMT_OFB_MPLS_BOS, 1)
	MplsBos uint32 `protobuf:"varint,39,opt,name=mpls_bos,json=mplsBos,proto3,oneof"` // For OFPXMT_OFB_MPLS_BOS
}

type OfpOxmOfbField_MplsLabel

type OfpOxmOfbField_MplsLabel struct {
	// #define OXM_OF_MPLS_LABEL  OXM_HEADER  (0x8000, OFPXMT_OFB_MPLS_LABEL, 4)
	MplsLabel uint32 `protobuf:"varint,37,opt,name=mpls_label,json=mplsLabel,proto3,oneof"` // For OFPXMT_OFB_MPLS_LABEL
}

type OfpOxmOfbField_MplsTc

type OfpOxmOfbField_MplsTc struct {
	// #define OXM_OF_MPLS_TC     OXM_HEADER  (0x8000, OFPXMT_OFB_MPLS_TC, 1)
	MplsTc uint32 `protobuf:"varint,38,opt,name=mpls_tc,json=mplsTc,proto3,oneof"` // For OFPXMT_OFB_MPLS_TC
}

type OfpOxmOfbField_PbbIsid

type OfpOxmOfbField_PbbIsid struct {
	// #define OXM_OF_PBB_ISID   OXM_HEADER  (0x8000, OFPXMT_OFB_PBB_ISID, 3)
	// #define OXM_OF_PBB_ISID_W OXM_HEADER_W(0x8000, OFPXMT_OFB_PBB_ISID, 3)
	PbbIsid uint32 `protobuf:"varint,40,opt,name=pbb_isid,json=pbbIsid,proto3,oneof"` // For OFPXMT_OFB_PBB_ISID
}

type OfpOxmOfbField_PbbIsidMask

type OfpOxmOfbField_PbbIsidMask struct {
	PbbIsidMask uint32 `protobuf:"varint,140,opt,name=pbb_isid_mask,json=pbbIsidMask,proto3,oneof"` // For OFPXMT_OFB_PBB_ISID
}

type OfpOxmOfbField_PhysicalPort

type OfpOxmOfbField_PhysicalPort struct {
	// #define OXM_OF_IN_PHY_PORT OXM_HEADER  (0x8000, OFPXMT_OFB_IN_PHY_PORT, 4)
	PhysicalPort uint32 `protobuf:"varint,4,opt,name=physical_port,json=physicalPort,proto3,oneof"` // Used for OFPXMT_OF_IN_PHY_PORT
}

type OfpOxmOfbField_Port

type OfpOxmOfbField_Port struct {
	// #define OXM_OF_IN_PORT    OXM_HEADER  (0x8000, OFPXMT_OFB_IN_PORT, 4)
	Port uint32 `protobuf:"varint,3,opt,name=port,proto3,oneof"` // Used for OFPXMT_OFB_IN_PORT
}

type OfpOxmOfbField_SctpDst

type OfpOxmOfbField_SctpDst struct {
	SctpDst uint32 `protobuf:"varint,21,opt,name=sctp_dst,json=sctpDst,proto3,oneof"` // Used for OFPXMT_OFB_SCTP_DST
}

type OfpOxmOfbField_SctpSrc

type OfpOxmOfbField_SctpSrc struct {
	// #define OXM_OF_SCTP_SRC   OXM_HEADER  (0x8000, OFPXMT_OFB_SCTP_SRC, 2)
	// #define OXM_OF_SCTP_DST   OXM_HEADER  (0x8000, OFPXMT_OFB_SCTP_DST, 2)
	SctpSrc uint32 `protobuf:"varint,20,opt,name=sctp_src,json=sctpSrc,proto3,oneof"` // Used for OFPXMT_OFB_SCTP_SRC
}

type OfpOxmOfbField_TableMetadata

type OfpOxmOfbField_TableMetadata struct {
	// #define OXM_OF_METADATA   OXM_HEADER  (0x8000, OFPXMT_OFB_METADATA, 8)
	// #define OXM_OF_METADATA_W OXM_HEADER_W(0x8000, OFPXMT_OFB_METADATA, 8)
	TableMetadata uint64 `protobuf:"varint,5,opt,name=table_metadata,json=tableMetadata,proto3,oneof"` // Used for OFPXMT_OFB_METADATA
}

type OfpOxmOfbField_TableMetadataMask

type OfpOxmOfbField_TableMetadataMask struct {
	TableMetadataMask uint64 `protobuf:"varint,105,opt,name=table_metadata_mask,json=tableMetadataMask,proto3,oneof"` // For OFPXMT_OFB_METADATA
}

type OfpOxmOfbField_TcpDst

type OfpOxmOfbField_TcpDst struct {
	TcpDst uint32 `protobuf:"varint,17,opt,name=tcp_dst,json=tcpDst,proto3,oneof"` // Used for OFPXMT_OFB_TCP_DST
}

type OfpOxmOfbField_TcpSrc

type OfpOxmOfbField_TcpSrc struct {
	// #define OXM_OF_TCP_SRC    OXM_HEADER  (0x8000, OFPXMT_OFB_TCP_SRC, 2)
	// #define OXM_OF_TCP_DST    OXM_HEADER  (0x8000, OFPXMT_OFB_TCP_DST, 2)
	TcpSrc uint32 `protobuf:"varint,16,opt,name=tcp_src,json=tcpSrc,proto3,oneof"` // Used for OFPXMT_OFB_TCP_SRC
}

type OfpOxmOfbField_TunnelId

type OfpOxmOfbField_TunnelId struct {
	// #define OXM_OF_TUNNEL_ID    OXM_HEADER  (0x8000, OFPXMT_OFB_TUNNEL_ID, 8)
	// #define OXM_OF_TUNNEL_ID_W  OXM_HEADER_W(0x8000, OFPXMT_OFB_TUNNEL_ID, 8)
	TunnelId uint64 `protobuf:"varint,41,opt,name=tunnel_id,json=tunnelId,proto3,oneof"` // For OFPXMT_OFB_TUNNEL_ID
}

type OfpOxmOfbField_TunnelIdMask

type OfpOxmOfbField_TunnelIdMask struct {
	TunnelIdMask uint64 `protobuf:"varint,141,opt,name=tunnel_id_mask,json=tunnelIdMask,proto3,oneof"` // For OFPXMT_OFB_TUNNEL_ID
}

type OfpOxmOfbField_UdpDst

type OfpOxmOfbField_UdpDst struct {
	UdpDst uint32 `protobuf:"varint,19,opt,name=udp_dst,json=udpDst,proto3,oneof"` // Used for OFPXMT_OFB_UDP_DST
}

type OfpOxmOfbField_UdpSrc

type OfpOxmOfbField_UdpSrc struct {
	// #define OXM_OF_UDP_SRC    OXM_HEADER  (0x8000, OFPXMT_OFB_UDP_SRC, 2)
	// #define OXM_OF_UDP_DST    OXM_HEADER  (0x8000, OFPXMT_OFB_UDP_DST, 2)
	UdpSrc uint32 `protobuf:"varint,18,opt,name=udp_src,json=udpSrc,proto3,oneof"` // Used for OFPXMT_OFB_UDP_SRC
}

type OfpOxmOfbField_VlanPcp

type OfpOxmOfbField_VlanPcp struct {
	// #define OXM_OF_VLAN_PCP   OXM_HEADER  (0x8000, OFPXMT_OFB_VLAN_PCP, 1)
	VlanPcp uint32 `protobuf:"varint,10,opt,name=vlan_pcp,json=vlanPcp,proto3,oneof"` // Used for OFPXMT_OFB_VLAN_PCP
}

type OfpOxmOfbField_VlanVid

type OfpOxmOfbField_VlanVid struct {
	// #define OXM_OF_VLAN_VID   OXM_HEADER  (0x8000, OFPXMT_OFB_VLAN_VID, 2)
	// #define OXM_OF_VLAN_VID_W OXM_HEADER_W(0x8000, OFPXMT_OFB_VLAN_VID, 2)
	VlanVid uint32 `protobuf:"varint,9,opt,name=vlan_vid,json=vlanVid,proto3,oneof"` // Used for OFPXMT_OFB_VLAN_VID
}

type OfpOxmOfbField_VlanVidMask

type OfpOxmOfbField_VlanVidMask struct {
	VlanVidMask uint32 `protobuf:"varint,109,opt,name=vlan_vid_mask,json=vlanVidMask,proto3,oneof"` // For OFPXMT_OFB_VLAN_VID
}

type OfpPacketIn

type OfpPacketIn struct {

	// ofp_header header;
	BufferId uint32            `protobuf:"varint,1,opt,name=buffer_id,json=bufferId,proto3" json:"buffer_id,omitempty"`                // ID assigned by datapath.
	Reason   OfpPacketInReason `protobuf:"varint,2,opt,name=reason,proto3,enum=openflow_13.OfpPacketInReason" json:"reason,omitempty"` // Reason packet is being sent
	TableId  uint32            `protobuf:"varint,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`                   // ID of the table that was looked up
	Cookie   uint64            `protobuf:"varint,4,opt,name=cookie,proto3" json:"cookie,omitempty"`                                    // Cookie of the flow entry that was looked up.
	Match    *OfpMatch         `protobuf:"bytes,5,opt,name=match,proto3" json:"match,omitempty"`                                       // Packet metadata. Variable size.
	Data     []byte            `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`                                         // Ethernet frame
	// contains filtered or unexported fields
}

Packet received on port (datapath -> controller).

func (*OfpPacketIn) Descriptor deprecated

func (*OfpPacketIn) Descriptor() ([]byte, []int)

Deprecated: Use OfpPacketIn.ProtoReflect.Descriptor instead.

func (*OfpPacketIn) GetBufferId

func (x *OfpPacketIn) GetBufferId() uint32

func (*OfpPacketIn) GetCookie

func (x *OfpPacketIn) GetCookie() uint64

func (*OfpPacketIn) GetData

func (x *OfpPacketIn) GetData() []byte

func (*OfpPacketIn) GetMatch

func (x *OfpPacketIn) GetMatch() *OfpMatch

func (*OfpPacketIn) GetReason

func (x *OfpPacketIn) GetReason() OfpPacketInReason

func (*OfpPacketIn) GetTableId

func (x *OfpPacketIn) GetTableId() uint32

func (*OfpPacketIn) ProtoMessage

func (*OfpPacketIn) ProtoMessage()

func (*OfpPacketIn) ProtoReflect added in v5.7.1

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

func (*OfpPacketIn) Reset

func (x *OfpPacketIn) Reset()

func (*OfpPacketIn) String

func (x *OfpPacketIn) String() string

type OfpPacketInReason

type OfpPacketInReason int32

Why is this packet being sent to the controller?

const (
	OfpPacketInReason_OFPR_NO_MATCH    OfpPacketInReason = 0 // No matching flow (table-miss flow entry).
	OfpPacketInReason_OFPR_ACTION      OfpPacketInReason = 1 // Action explicitly output to controller.
	OfpPacketInReason_OFPR_INVALID_TTL OfpPacketInReason = 2 // Packet has invalid TTL
)

func (OfpPacketInReason) Descriptor added in v5.7.1

func (OfpPacketInReason) Enum added in v5.7.1

func (OfpPacketInReason) EnumDescriptor deprecated

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

Deprecated: Use OfpPacketInReason.Descriptor instead.

func (OfpPacketInReason) Number added in v5.7.1

func (OfpPacketInReason) String

func (x OfpPacketInReason) String() string

func (OfpPacketInReason) Type added in v5.7.1

type OfpPacketOut

type OfpPacketOut struct {

	// ofp_header header;
	BufferId uint32       `protobuf:"varint,1,opt,name=buffer_id,json=bufferId,proto3" json:"buffer_id,omitempty"`
	InPort   uint32       `protobuf:"varint,2,opt,name=in_port,json=inPort,proto3" json:"in_port,omitempty"` // Packet's input port or OFPP_CONTROLLER.
	Actions  []*OfpAction `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`              // Action list - 0 or more.
	// The variable size action list is optionally followed by packet data.
	// This data is only present and meaningful if buffer_id == -1.
	Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // Packet data.
	// contains filtered or unexported fields
}

Send packet (controller -> datapath).

func (*OfpPacketOut) Descriptor deprecated

func (*OfpPacketOut) Descriptor() ([]byte, []int)

Deprecated: Use OfpPacketOut.ProtoReflect.Descriptor instead.

func (*OfpPacketOut) GetActions

func (x *OfpPacketOut) GetActions() []*OfpAction

func (*OfpPacketOut) GetBufferId

func (x *OfpPacketOut) GetBufferId() uint32

func (*OfpPacketOut) GetData

func (x *OfpPacketOut) GetData() []byte

func (*OfpPacketOut) GetInPort

func (x *OfpPacketOut) GetInPort() uint32

func (*OfpPacketOut) ProtoMessage

func (*OfpPacketOut) ProtoMessage()

func (*OfpPacketOut) ProtoReflect added in v5.7.1

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

func (*OfpPacketOut) Reset

func (x *OfpPacketOut) Reset()

func (*OfpPacketOut) String

func (x *OfpPacketOut) String() string

type OfpPacketQueue

type OfpPacketQueue struct {
	QueueId    uint32                `protobuf:"varint,1,opt,name=queue_id,json=queueId,proto3" json:"queue_id,omitempty"` // id for the specific queue.
	Port       uint32                `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`                      // Port this queue is attached to.
	Properties []*OfpQueuePropHeader `protobuf:"bytes,4,rep,name=properties,proto3" json:"properties,omitempty"`           // List of properties.
	// contains filtered or unexported fields
}

Full description for a queue.

func (*OfpPacketQueue) Descriptor deprecated

func (*OfpPacketQueue) Descriptor() ([]byte, []int)

Deprecated: Use OfpPacketQueue.ProtoReflect.Descriptor instead.

func (*OfpPacketQueue) GetPort

func (x *OfpPacketQueue) GetPort() uint32

func (*OfpPacketQueue) GetProperties

func (x *OfpPacketQueue) GetProperties() []*OfpQueuePropHeader

func (*OfpPacketQueue) GetQueueId

func (x *OfpPacketQueue) GetQueueId() uint32

func (*OfpPacketQueue) ProtoMessage

func (*OfpPacketQueue) ProtoMessage()

func (*OfpPacketQueue) ProtoReflect added in v5.7.1

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

func (*OfpPacketQueue) Reset

func (x *OfpPacketQueue) Reset()

func (*OfpPacketQueue) String

func (x *OfpPacketQueue) String() string

type OfpPort

type OfpPort struct {
	PortNo uint32   `protobuf:"varint,1,opt,name=port_no,json=portNo,proto3" json:"port_no,omitempty"`
	HwAddr []uint32 `protobuf:"varint,2,rep,packed,name=hw_addr,json=hwAddr,proto3" json:"hw_addr,omitempty"` // [OFP_ETH_ALEN];
	Name   string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`                           // Null-terminated
	Config uint32   `protobuf:"varint,4,opt,name=config,proto3" json:"config,omitempty"`                      // Bitmap of OFPPC_* flags.
	State  uint32   `protobuf:"varint,5,opt,name=state,proto3" json:"state,omitempty"`                        // Bitmap of OFPPS_* flags.
	// Bitmaps of OFPPF_* that describe features.  All bits zeroed if
	// unsupported or unavailable.
	Curr       uint32 `protobuf:"varint,6,opt,name=curr,proto3" json:"curr,omitempty"`                             // Current features.
	Advertised uint32 `protobuf:"varint,7,opt,name=advertised,proto3" json:"advertised,omitempty"`                 // Features being advertised by the port.
	Supported  uint32 `protobuf:"varint,8,opt,name=supported,proto3" json:"supported,omitempty"`                   // Features supported by the port.
	Peer       uint32 `protobuf:"varint,9,opt,name=peer,proto3" json:"peer,omitempty"`                             // Features advertised by peer.
	CurrSpeed  uint32 `protobuf:"varint,10,opt,name=curr_speed,json=currSpeed,proto3" json:"curr_speed,omitempty"` // Current port bitrate in kbps.
	MaxSpeed   uint32 `protobuf:"varint,11,opt,name=max_speed,json=maxSpeed,proto3" json:"max_speed,omitempty"`    // Max port bitrate in kbps
	// contains filtered or unexported fields
}

Description of a port

func (*OfpPort) Descriptor deprecated

func (*OfpPort) Descriptor() ([]byte, []int)

Deprecated: Use OfpPort.ProtoReflect.Descriptor instead.

func (*OfpPort) GetAdvertised

func (x *OfpPort) GetAdvertised() uint32

func (*OfpPort) GetConfig

func (x *OfpPort) GetConfig() uint32

func (*OfpPort) GetCurr

func (x *OfpPort) GetCurr() uint32

func (*OfpPort) GetCurrSpeed

func (x *OfpPort) GetCurrSpeed() uint32

func (*OfpPort) GetHwAddr

func (x *OfpPort) GetHwAddr() []uint32

func (*OfpPort) GetMaxSpeed

func (x *OfpPort) GetMaxSpeed() uint32

func (*OfpPort) GetName

func (x *OfpPort) GetName() string

func (*OfpPort) GetPeer

func (x *OfpPort) GetPeer() uint32

func (*OfpPort) GetPortNo

func (x *OfpPort) GetPortNo() uint32

func (*OfpPort) GetState

func (x *OfpPort) GetState() uint32

func (*OfpPort) GetSupported

func (x *OfpPort) GetSupported() uint32

func (*OfpPort) ProtoMessage

func (*OfpPort) ProtoMessage()

func (*OfpPort) ProtoReflect added in v5.7.1

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

func (*OfpPort) Reset

func (x *OfpPort) Reset()

func (*OfpPort) String

func (x *OfpPort) String() string

type OfpPortConfig

type OfpPortConfig int32

Flags to indicate behavior of the physical port. These flags are used in ofp_port to describe the current configuration. They are used in the ofp_port_mod message to configure the port's behavior.

const (
	OfpPortConfig_OFPPC_INVALID      OfpPortConfig = 0
	OfpPortConfig_OFPPC_PORT_DOWN    OfpPortConfig = 1  // Port is administratively down.
	OfpPortConfig_OFPPC_NO_RECV      OfpPortConfig = 4  // Drop all packets received by port.
	OfpPortConfig_OFPPC_NO_FWD       OfpPortConfig = 32 // Drop packets forwarded to port.
	OfpPortConfig_OFPPC_NO_PACKET_IN OfpPortConfig = 64 // Do not send packet-in msgs for port.
)

func (OfpPortConfig) Descriptor added in v5.7.1

func (OfpPortConfig) Enum added in v5.7.1

func (x OfpPortConfig) Enum() *OfpPortConfig

func (OfpPortConfig) EnumDescriptor deprecated

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

Deprecated: Use OfpPortConfig.Descriptor instead.

func (OfpPortConfig) Number added in v5.7.1

func (OfpPortConfig) String

func (x OfpPortConfig) String() string

func (OfpPortConfig) Type added in v5.7.1

type OfpPortFeatures

type OfpPortFeatures int32

Features of ports available in a datapath.

const (
	OfpPortFeatures_OFPPF_INVALID    OfpPortFeatures = 0
	OfpPortFeatures_OFPPF_10MB_HD    OfpPortFeatures = 1     // 10 Mb half-duplex rate support.
	OfpPortFeatures_OFPPF_10MB_FD    OfpPortFeatures = 2     // 10 Mb full-duplex rate support.
	OfpPortFeatures_OFPPF_100MB_HD   OfpPortFeatures = 4     // 100 Mb half-duplex rate support.
	OfpPortFeatures_OFPPF_100MB_FD   OfpPortFeatures = 8     // 100 Mb full-duplex rate support.
	OfpPortFeatures_OFPPF_1GB_HD     OfpPortFeatures = 16    // 1 Gb half-duplex rate support.
	OfpPortFeatures_OFPPF_1GB_FD     OfpPortFeatures = 32    // 1 Gb full-duplex rate support.
	OfpPortFeatures_OFPPF_10GB_FD    OfpPortFeatures = 64    // 10 Gb full-duplex rate support.
	OfpPortFeatures_OFPPF_40GB_FD    OfpPortFeatures = 128   // 40 Gb full-duplex rate support.
	OfpPortFeatures_OFPPF_100GB_FD   OfpPortFeatures = 256   // 100 Gb full-duplex rate support.
	OfpPortFeatures_OFPPF_1TB_FD     OfpPortFeatures = 512   // 1 Tb full-duplex rate support.
	OfpPortFeatures_OFPPF_OTHER      OfpPortFeatures = 1024  // Other rate, not in the list.
	OfpPortFeatures_OFPPF_COPPER     OfpPortFeatures = 2048  // Copper medium.
	OfpPortFeatures_OFPPF_FIBER      OfpPortFeatures = 4096  // Fiber medium.
	OfpPortFeatures_OFPPF_AUTONEG    OfpPortFeatures = 8192  // Auto-negotiation.
	OfpPortFeatures_OFPPF_PAUSE      OfpPortFeatures = 16384 // Pause.
	OfpPortFeatures_OFPPF_PAUSE_ASYM OfpPortFeatures = 32768 // Asymmetric pause.
)

func (OfpPortFeatures) Descriptor added in v5.7.1

func (OfpPortFeatures) Enum added in v5.7.1

func (x OfpPortFeatures) Enum() *OfpPortFeatures

func (OfpPortFeatures) EnumDescriptor deprecated

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

Deprecated: Use OfpPortFeatures.Descriptor instead.

func (OfpPortFeatures) Number added in v5.7.1

func (OfpPortFeatures) String

func (x OfpPortFeatures) String() string

func (OfpPortFeatures) Type added in v5.7.1

type OfpPortMod

type OfpPortMod struct {

	// ofp_header header;
	PortNo uint32   `protobuf:"varint,1,opt,name=port_no,json=portNo,proto3" json:"port_no,omitempty"`
	HwAddr []uint32 `protobuf:"varint,2,rep,packed,name=hw_addr,json=hwAddr,proto3" json:"hw_addr,omitempty"` //[OFP_ETH_ALEN];
	// The hardware address is not
	// configurable.  This is used to
	// sanity-check the request, so it must
	// be the same as returned in an
	// ofp_port struct.
	Config    uint32 `protobuf:"varint,3,opt,name=config,proto3" json:"config,omitempty"` // Bitmap of OFPPC_* flags.
	Mask      uint32 `protobuf:"varint,4,opt,name=mask,proto3" json:"mask,omitempty"`     // Bitmap of OFPPC_* flags to be changed.
	Advertise uint32 `protobuf:"varint,5,opt,name=advertise,proto3" json:"advertise,omitempty"`
	// contains filtered or unexported fields
}

Modify behavior of the physical port

func (*OfpPortMod) Descriptor deprecated

func (*OfpPortMod) Descriptor() ([]byte, []int)

Deprecated: Use OfpPortMod.ProtoReflect.Descriptor instead.

func (*OfpPortMod) GetAdvertise

func (x *OfpPortMod) GetAdvertise() uint32

func (*OfpPortMod) GetConfig

func (x *OfpPortMod) GetConfig() uint32

func (*OfpPortMod) GetHwAddr

func (x *OfpPortMod) GetHwAddr() []uint32

func (*OfpPortMod) GetMask

func (x *OfpPortMod) GetMask() uint32

func (*OfpPortMod) GetPortNo

func (x *OfpPortMod) GetPortNo() uint32

func (*OfpPortMod) ProtoMessage

func (*OfpPortMod) ProtoMessage()

func (*OfpPortMod) ProtoReflect added in v5.7.1

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

func (*OfpPortMod) Reset

func (x *OfpPortMod) Reset()

func (*OfpPortMod) String

func (x *OfpPortMod) String() string

type OfpPortModFailedCode

type OfpPortModFailedCode int32

ofp_error_msg 'code' values for OFPET_PORT_MOD_FAILED. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpPortModFailedCode_OFPPMFC_BAD_PORT      OfpPortModFailedCode = 0 // Specified port number does not exist.
	OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR   OfpPortModFailedCode = 1
	OfpPortModFailedCode_OFPPMFC_BAD_CONFIG    OfpPortModFailedCode = 2 // Specified config is invalid.
	OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE OfpPortModFailedCode = 3 // Specified advertise is invalid.
	OfpPortModFailedCode_OFPPMFC_EPERM         OfpPortModFailedCode = 4 // Permissions error.
)

func (OfpPortModFailedCode) Descriptor added in v5.7.1

func (OfpPortModFailedCode) Enum added in v5.7.1

func (OfpPortModFailedCode) EnumDescriptor deprecated

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

Deprecated: Use OfpPortModFailedCode.Descriptor instead.

func (OfpPortModFailedCode) Number added in v5.7.1

func (OfpPortModFailedCode) String

func (x OfpPortModFailedCode) String() string

func (OfpPortModFailedCode) Type added in v5.7.1

type OfpPortNo

type OfpPortNo int32

Port numbering. Ports are numbered starting from 1.

const (
	OfpPortNo_OFPP_INVALID OfpPortNo = 0
	// Maximum number of physical and logical switch ports.
	OfpPortNo_OFPP_MAX OfpPortNo = 2147483392
	// Reserved OpenFlow Port (fake output "ports").
	OfpPortNo_OFPP_IN_PORT    OfpPortNo = 2147483640
	OfpPortNo_OFPP_TABLE      OfpPortNo = 2147483641
	OfpPortNo_OFPP_NORMAL     OfpPortNo = 2147483642 // Forward using non-OpenFlow pipeline.
	OfpPortNo_OFPP_FLOOD      OfpPortNo = 2147483643 // Flood using non-OpenFlow pipeline.
	OfpPortNo_OFPP_ALL        OfpPortNo = 2147483644 // All standard ports except input port.
	OfpPortNo_OFPP_CONTROLLER OfpPortNo = 2147483645 // Send to controller.
	OfpPortNo_OFPP_LOCAL      OfpPortNo = 2147483646 // Local openflow "port".
	OfpPortNo_OFPP_ANY        OfpPortNo = 2147483647
)

func (OfpPortNo) Descriptor added in v5.7.1

func (OfpPortNo) Descriptor() protoreflect.EnumDescriptor

func (OfpPortNo) Enum added in v5.7.1

func (x OfpPortNo) Enum() *OfpPortNo

func (OfpPortNo) EnumDescriptor deprecated

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

Deprecated: Use OfpPortNo.Descriptor instead.

func (OfpPortNo) Number added in v5.7.1

func (x OfpPortNo) Number() protoreflect.EnumNumber

func (OfpPortNo) String

func (x OfpPortNo) String() string

func (OfpPortNo) Type added in v5.7.1

type OfpPortReason

type OfpPortReason int32

What changed about the physical port

const (
	OfpPortReason_OFPPR_ADD    OfpPortReason = 0 // The port was added.
	OfpPortReason_OFPPR_DELETE OfpPortReason = 1 // The port was removed.
	OfpPortReason_OFPPR_MODIFY OfpPortReason = 2 // Some attribute of the port has changed.
)

func (OfpPortReason) Descriptor added in v5.7.1

func (OfpPortReason) Enum added in v5.7.1

func (x OfpPortReason) Enum() *OfpPortReason

func (OfpPortReason) EnumDescriptor deprecated

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

Deprecated: Use OfpPortReason.Descriptor instead.

func (OfpPortReason) Number added in v5.7.1

func (OfpPortReason) String

func (x OfpPortReason) String() string

func (OfpPortReason) Type added in v5.7.1

type OfpPortState

type OfpPortState int32

Current state of the physical port. These are not configurable from the controller.

const (
	OfpPortState_OFPPS_INVALID   OfpPortState = 0
	OfpPortState_OFPPS_LINK_DOWN OfpPortState = 1 // No physical link present.
	OfpPortState_OFPPS_BLOCKED   OfpPortState = 2 // Port is blocked
	OfpPortState_OFPPS_LIVE      OfpPortState = 4 // Live for Fast Failover Group.
)

func (OfpPortState) Descriptor added in v5.7.1

func (OfpPortState) Enum added in v5.7.1

func (x OfpPortState) Enum() *OfpPortState

func (OfpPortState) EnumDescriptor deprecated

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

Deprecated: Use OfpPortState.Descriptor instead.

func (OfpPortState) Number added in v5.7.1

func (OfpPortState) String

func (x OfpPortState) String() string

func (OfpPortState) Type added in v5.7.1

type OfpPortStats

type OfpPortStats struct {
	PortNo       uint32 `protobuf:"varint,1,opt,name=port_no,json=portNo,proto3" json:"port_no,omitempty"`
	RxPackets    uint64 `protobuf:"varint,2,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"` // Number of received packets.
	TxPackets    uint64 `protobuf:"varint,3,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"` // Number of transmitted packets.
	RxBytes      uint64 `protobuf:"varint,4,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`       // Number of received bytes.
	TxBytes      uint64 `protobuf:"varint,5,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`       // Number of transmitted bytes.
	RxDropped    uint64 `protobuf:"varint,6,opt,name=rx_dropped,json=rxDropped,proto3" json:"rx_dropped,omitempty"` // Number of packets dropped by RX.
	TxDropped    uint64 `protobuf:"varint,7,opt,name=tx_dropped,json=txDropped,proto3" json:"tx_dropped,omitempty"` // Number of packets dropped by TX.
	RxErrors     uint64 `protobuf:"varint,8,opt,name=rx_errors,json=rxErrors,proto3" json:"rx_errors,omitempty"`
	TxErrors     uint64 `protobuf:"varint,9,opt,name=tx_errors,json=txErrors,proto3" json:"tx_errors,omitempty"`
	RxFrameErr   uint64 `protobuf:"varint,10,opt,name=rx_frame_err,json=rxFrameErr,proto3" json:"rx_frame_err,omitempty"`  // Number of frame alignment errors.
	RxOverErr    uint64 `protobuf:"varint,11,opt,name=rx_over_err,json=rxOverErr,proto3" json:"rx_over_err,omitempty"`     // Number of packets with RX overrun.
	RxCrcErr     uint64 `protobuf:"varint,12,opt,name=rx_crc_err,json=rxCrcErr,proto3" json:"rx_crc_err,omitempty"`        // Number of CRC errors.
	Collisions   uint64 `protobuf:"varint,13,opt,name=collisions,proto3" json:"collisions,omitempty"`                      // Number of collisions.
	DurationSec  uint32 `protobuf:"varint,14,opt,name=duration_sec,json=durationSec,proto3" json:"duration_sec,omitempty"` // Time port has been alive in seconds.
	DurationNsec uint32 `protobuf:"varint,15,opt,name=duration_nsec,json=durationNsec,proto3" json:"duration_nsec,omitempty"`
	// contains filtered or unexported fields
}

Body of reply to OFPMP_PORT request. If a counter is unsupported, set the field to all ones.

func (*OfpPortStats) Descriptor deprecated

func (*OfpPortStats) Descriptor() ([]byte, []int)

Deprecated: Use OfpPortStats.ProtoReflect.Descriptor instead.

func (*OfpPortStats) GetCollisions

func (x *OfpPortStats) GetCollisions() uint64

func (*OfpPortStats) GetDurationNsec

func (x *OfpPortStats) GetDurationNsec() uint32

func (*OfpPortStats) GetDurationSec

func (x *OfpPortStats) GetDurationSec() uint32

func (*OfpPortStats) GetPortNo

func (x *OfpPortStats) GetPortNo() uint32

func (*OfpPortStats) GetRxBytes

func (x *OfpPortStats) GetRxBytes() uint64

func (*OfpPortStats) GetRxCrcErr

func (x *OfpPortStats) GetRxCrcErr() uint64

func (*OfpPortStats) GetRxDropped

func (x *OfpPortStats) GetRxDropped() uint64

func (*OfpPortStats) GetRxErrors

func (x *OfpPortStats) GetRxErrors() uint64

func (*OfpPortStats) GetRxFrameErr

func (x *OfpPortStats) GetRxFrameErr() uint64

func (*OfpPortStats) GetRxOverErr

func (x *OfpPortStats) GetRxOverErr() uint64

func (*OfpPortStats) GetRxPackets

func (x *OfpPortStats) GetRxPackets() uint64

func (*OfpPortStats) GetTxBytes

func (x *OfpPortStats) GetTxBytes() uint64

func (*OfpPortStats) GetTxDropped

func (x *OfpPortStats) GetTxDropped() uint64

func (*OfpPortStats) GetTxErrors

func (x *OfpPortStats) GetTxErrors() uint64

func (*OfpPortStats) GetTxPackets

func (x *OfpPortStats) GetTxPackets() uint64

func (*OfpPortStats) ProtoMessage

func (*OfpPortStats) ProtoMessage()

func (*OfpPortStats) ProtoReflect added in v5.7.1

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

func (*OfpPortStats) Reset

func (x *OfpPortStats) Reset()

func (*OfpPortStats) String

func (x *OfpPortStats) String() string

type OfpPortStatsRequest

type OfpPortStatsRequest struct {
	PortNo uint32 `protobuf:"varint,1,opt,name=port_no,json=portNo,proto3" json:"port_no,omitempty"`
	// contains filtered or unexported fields
}

Body for ofp_multipart_request of type OFPMP_PORT.

func (*OfpPortStatsRequest) Descriptor deprecated

func (*OfpPortStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use OfpPortStatsRequest.ProtoReflect.Descriptor instead.

func (*OfpPortStatsRequest) GetPortNo

func (x *OfpPortStatsRequest) GetPortNo() uint32

func (*OfpPortStatsRequest) ProtoMessage

func (*OfpPortStatsRequest) ProtoMessage()

func (*OfpPortStatsRequest) ProtoReflect added in v5.7.1

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

func (*OfpPortStatsRequest) Reset

func (x *OfpPortStatsRequest) Reset()

func (*OfpPortStatsRequest) String

func (x *OfpPortStatsRequest) String() string

type OfpPortStatus

type OfpPortStatus struct {

	// ofp_header header;
	Reason OfpPortReason `protobuf:"varint,1,opt,name=reason,proto3,enum=openflow_13.OfpPortReason" json:"reason,omitempty"` // One of OFPPR_*.
	Desc   *OfpPort      `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
	// contains filtered or unexported fields
}

A physical port has changed in the datapath

func (*OfpPortStatus) Descriptor deprecated

func (*OfpPortStatus) Descriptor() ([]byte, []int)

Deprecated: Use OfpPortStatus.ProtoReflect.Descriptor instead.

func (*OfpPortStatus) GetDesc

func (x *OfpPortStatus) GetDesc() *OfpPort

func (*OfpPortStatus) GetReason

func (x *OfpPortStatus) GetReason() OfpPortReason

func (*OfpPortStatus) ProtoMessage

func (*OfpPortStatus) ProtoMessage()

func (*OfpPortStatus) ProtoReflect added in v5.7.1

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

func (*OfpPortStatus) Reset

func (x *OfpPortStatus) Reset()

func (*OfpPortStatus) String

func (x *OfpPortStatus) String() string

type OfpQueueGetConfigReply

type OfpQueueGetConfigReply struct {

	// ofp_header header;
	Port   uint32            `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	Queues []*OfpPacketQueue `protobuf:"bytes,2,rep,name=queues,proto3" json:"queues,omitempty"` // List of configured queues.
	// contains filtered or unexported fields
}

Queue configuration for a given port.

func (*OfpQueueGetConfigReply) Descriptor deprecated

func (*OfpQueueGetConfigReply) Descriptor() ([]byte, []int)

Deprecated: Use OfpQueueGetConfigReply.ProtoReflect.Descriptor instead.

func (*OfpQueueGetConfigReply) GetPort

func (x *OfpQueueGetConfigReply) GetPort() uint32

func (*OfpQueueGetConfigReply) GetQueues

func (x *OfpQueueGetConfigReply) GetQueues() []*OfpPacketQueue

func (*OfpQueueGetConfigReply) ProtoMessage

func (*OfpQueueGetConfigReply) ProtoMessage()

func (*OfpQueueGetConfigReply) ProtoReflect added in v5.7.1

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

func (*OfpQueueGetConfigReply) Reset

func (x *OfpQueueGetConfigReply) Reset()

func (*OfpQueueGetConfigReply) String

func (x *OfpQueueGetConfigReply) String() string

type OfpQueueGetConfigRequest

type OfpQueueGetConfigRequest struct {

	// ofp_header header;
	Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

Query for port queue configuration.

func (*OfpQueueGetConfigRequest) Descriptor deprecated

func (*OfpQueueGetConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use OfpQueueGetConfigRequest.ProtoReflect.Descriptor instead.

func (*OfpQueueGetConfigRequest) GetPort

func (x *OfpQueueGetConfigRequest) GetPort() uint32

func (*OfpQueueGetConfigRequest) ProtoMessage

func (*OfpQueueGetConfigRequest) ProtoMessage()

func (*OfpQueueGetConfigRequest) ProtoReflect added in v5.7.1

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

func (*OfpQueueGetConfigRequest) Reset

func (x *OfpQueueGetConfigRequest) Reset()

func (*OfpQueueGetConfigRequest) String

func (x *OfpQueueGetConfigRequest) String() string

type OfpQueueOpFailedCode

type OfpQueueOpFailedCode int32

ofp_error msg 'code' values for OFPET_QUEUE_OP_FAILED. 'data' contains at least the first 64 bytes of the failed request

const (
	OfpQueueOpFailedCode_OFPQOFC_BAD_PORT  OfpQueueOpFailedCode = 0 // Invalid port (or port does not exist).
	OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE OfpQueueOpFailedCode = 1 // Queue does not exist.
	OfpQueueOpFailedCode_OFPQOFC_EPERM     OfpQueueOpFailedCode = 2 // Permissions error.
)

func (OfpQueueOpFailedCode) Descriptor added in v5.7.1

func (OfpQueueOpFailedCode) Enum added in v5.7.1

func (OfpQueueOpFailedCode) EnumDescriptor deprecated

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

Deprecated: Use OfpQueueOpFailedCode.Descriptor instead.

func (OfpQueueOpFailedCode) Number added in v5.7.1

func (OfpQueueOpFailedCode) String

func (x OfpQueueOpFailedCode) String() string

func (OfpQueueOpFailedCode) Type added in v5.7.1

type OfpQueuePropExperimenter

type OfpQueuePropExperimenter struct {
	PropHeader   *OfpQueuePropHeader `protobuf:"bytes,1,opt,name=prop_header,json=propHeader,proto3" json:"prop_header,omitempty"` // prop: OFPQT_EXPERIMENTER
	Experimenter uint32              `protobuf:"varint,2,opt,name=experimenter,proto3" json:"experimenter,omitempty"`
	Data         []byte              `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // Experimenter defined data.
	// contains filtered or unexported fields
}

Experimenter queue property description.

func (*OfpQueuePropExperimenter) Descriptor deprecated

func (*OfpQueuePropExperimenter) Descriptor() ([]byte, []int)

Deprecated: Use OfpQueuePropExperimenter.ProtoReflect.Descriptor instead.

func (*OfpQueuePropExperimenter) GetData

func (x *OfpQueuePropExperimenter) GetData() []byte

func (*OfpQueuePropExperimenter) GetExperimenter

func (x *OfpQueuePropExperimenter) GetExperimenter() uint32

func (*OfpQueuePropExperimenter) GetPropHeader

func (x *OfpQueuePropExperimenter) GetPropHeader() *OfpQueuePropHeader

func (*OfpQueuePropExperimenter) ProtoMessage

func (*OfpQueuePropExperimenter) ProtoMessage()

func (*OfpQueuePropExperimenter) ProtoReflect added in v5.7.1

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

func (*OfpQueuePropExperimenter) Reset

func (x *OfpQueuePropExperimenter) Reset()

func (*OfpQueuePropExperimenter) String

func (x *OfpQueuePropExperimenter) String() string

type OfpQueuePropHeader

type OfpQueuePropHeader struct {
	Property uint32 `protobuf:"varint,1,opt,name=property,proto3" json:"property,omitempty"` // One of OFPQT_.
	Len      uint32 `protobuf:"varint,2,opt,name=len,proto3" json:"len,omitempty"`           // Length of property, including this header.
	// contains filtered or unexported fields
}

Common description for a queue.

func (*OfpQueuePropHeader) Descriptor deprecated

func (*OfpQueuePropHeader) Descriptor() ([]byte, []int)

Deprecated: Use OfpQueuePropHeader.ProtoReflect.Descriptor instead.

func (*OfpQueuePropHeader) GetLen

func (x *OfpQueuePropHeader) GetLen() uint32

func (*OfpQueuePropHeader) GetProperty

func (x *OfpQueuePropHeader) GetProperty() uint32

func (*OfpQueuePropHeader) ProtoMessage

func (*OfpQueuePropHeader) ProtoMessage()

func (*OfpQueuePropHeader) ProtoReflect added in v5.7.1

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

func (*OfpQueuePropHeader) Reset

func (x *OfpQueuePropHeader) Reset()

func (*OfpQueuePropHeader) String

func (x *OfpQueuePropHeader) String() string

type OfpQueuePropMaxRate

type OfpQueuePropMaxRate struct {
	PropHeader *OfpQueuePropHeader `protobuf:"bytes,1,opt,name=prop_header,json=propHeader,proto3" json:"prop_header,omitempty"` // prop: OFPQT_MAX, len: 16.
	Rate       uint32              `protobuf:"varint,2,opt,name=rate,proto3" json:"rate,omitempty"`                              // In 1/10 of a percent = 0;>1000 -> disabled.
	// contains filtered or unexported fields
}

Max-Rate queue property description.

func (*OfpQueuePropMaxRate) Descriptor deprecated

func (*OfpQueuePropMaxRate) Descriptor() ([]byte, []int)

Deprecated: Use OfpQueuePropMaxRate.ProtoReflect.Descriptor instead.

func (*OfpQueuePropMaxRate) GetPropHeader

func (x *OfpQueuePropMaxRate) GetPropHeader() *OfpQueuePropHeader

func (*OfpQueuePropMaxRate) GetRate

func (x *OfpQueuePropMaxRate) GetRate() uint32

func (*OfpQueuePropMaxRate) ProtoMessage

func (*OfpQueuePropMaxRate) ProtoMessage()

func (*OfpQueuePropMaxRate) ProtoReflect added in v5.7.1

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

func (*OfpQueuePropMaxRate) Reset

func (x *OfpQueuePropMaxRate) Reset()

func (*OfpQueuePropMaxRate) String

func (x *OfpQueuePropMaxRate) String() string

type OfpQueuePropMinRate

type OfpQueuePropMinRate struct {
	PropHeader *OfpQueuePropHeader `protobuf:"bytes,1,opt,name=prop_header,json=propHeader,proto3" json:"prop_header,omitempty"` // prop: OFPQT_MIN, len: 16.
	Rate       uint32              `protobuf:"varint,2,opt,name=rate,proto3" json:"rate,omitempty"`                              // In 1/10 of a percent = 0;>1000 -> disabled.
	// contains filtered or unexported fields
}

Min-Rate queue property description.

func (*OfpQueuePropMinRate) Descriptor deprecated

func (*OfpQueuePropMinRate) Descriptor() ([]byte, []int)

Deprecated: Use OfpQueuePropMinRate.ProtoReflect.Descriptor instead.

func (*OfpQueuePropMinRate) GetPropHeader

func (x *OfpQueuePropMinRate) GetPropHeader() *OfpQueuePropHeader

func (*OfpQueuePropMinRate) GetRate

func (x *OfpQueuePropMinRate) GetRate() uint32

func (*OfpQueuePropMinRate) ProtoMessage

func (*OfpQueuePropMinRate) ProtoMessage()

func (*OfpQueuePropMinRate) ProtoReflect added in v5.7.1

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

func (*OfpQueuePropMinRate) Reset

func (x *OfpQueuePropMinRate) Reset()

func (*OfpQueuePropMinRate) String

func (x *OfpQueuePropMinRate) String() string

type OfpQueueProperties

type OfpQueueProperties int32
const (
	OfpQueueProperties_OFPQT_INVALID      OfpQueueProperties = 0
	OfpQueueProperties_OFPQT_MIN_RATE     OfpQueueProperties = 1     // Minimum datarate guaranteed.
	OfpQueueProperties_OFPQT_MAX_RATE     OfpQueueProperties = 2     // Maximum datarate.
	OfpQueueProperties_OFPQT_EXPERIMENTER OfpQueueProperties = 65535 // Experimenter defined property.
)

func (OfpQueueProperties) Descriptor added in v5.7.1

func (OfpQueueProperties) Enum added in v5.7.1

func (OfpQueueProperties) EnumDescriptor deprecated

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

Deprecated: Use OfpQueueProperties.Descriptor instead.

func (OfpQueueProperties) Number added in v5.7.1

func (OfpQueueProperties) String

func (x OfpQueueProperties) String() string

func (OfpQueueProperties) Type added in v5.7.1

type OfpQueueStats

type OfpQueueStats struct {
	PortNo       uint32 `protobuf:"varint,1,opt,name=port_no,json=portNo,proto3" json:"port_no,omitempty"`
	QueueId      uint32 `protobuf:"varint,2,opt,name=queue_id,json=queueId,proto3" json:"queue_id,omitempty"`             // Queue i.d
	TxBytes      uint64 `protobuf:"varint,3,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`             // Number of transmitted bytes.
	TxPackets    uint64 `protobuf:"varint,4,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"`       // Number of transmitted packets.
	TxErrors     uint64 `protobuf:"varint,5,opt,name=tx_errors,json=txErrors,proto3" json:"tx_errors,omitempty"`          // Number of packets dropped due to overrun.
	DurationSec  uint32 `protobuf:"varint,6,opt,name=duration_sec,json=durationSec,proto3" json:"duration_sec,omitempty"` // Time queue has been alive in seconds.
	DurationNsec uint32 `protobuf:"varint,7,opt,name=duration_nsec,json=durationNsec,proto3" json:"duration_nsec,omitempty"`
	// contains filtered or unexported fields
}

func (*OfpQueueStats) Descriptor deprecated

func (*OfpQueueStats) Descriptor() ([]byte, []int)

Deprecated: Use OfpQueueStats.ProtoReflect.Descriptor instead.

func (*OfpQueueStats) GetDurationNsec

func (x *OfpQueueStats) GetDurationNsec() uint32

func (*OfpQueueStats) GetDurationSec

func (x *OfpQueueStats) GetDurationSec() uint32

func (*OfpQueueStats) GetPortNo

func (x *OfpQueueStats) GetPortNo() uint32

func (*OfpQueueStats) GetQueueId

func (x *OfpQueueStats) GetQueueId() uint32

func (*OfpQueueStats) GetTxBytes

func (x *OfpQueueStats) GetTxBytes() uint64

func (*OfpQueueStats) GetTxErrors

func (x *OfpQueueStats) GetTxErrors() uint64

func (*OfpQueueStats) GetTxPackets

func (x *OfpQueueStats) GetTxPackets() uint64

func (*OfpQueueStats) ProtoMessage

func (*OfpQueueStats) ProtoMessage()

func (*OfpQueueStats) ProtoReflect added in v5.7.1

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

func (*OfpQueueStats) Reset

func (x *OfpQueueStats) Reset()

func (*OfpQueueStats) String

func (x *OfpQueueStats) String() string

type OfpQueueStatsRequest

type OfpQueueStatsRequest struct {
	PortNo  uint32 `protobuf:"varint,1,opt,name=port_no,json=portNo,proto3" json:"port_no,omitempty"`    // All ports if OFPP_ANY.
	QueueId uint32 `protobuf:"varint,2,opt,name=queue_id,json=queueId,proto3" json:"queue_id,omitempty"` // All queues if OFPQ_ALL.
	// contains filtered or unexported fields
}

func (*OfpQueueStatsRequest) Descriptor deprecated

func (*OfpQueueStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use OfpQueueStatsRequest.ProtoReflect.Descriptor instead.

func (*OfpQueueStatsRequest) GetPortNo

func (x *OfpQueueStatsRequest) GetPortNo() uint32

func (*OfpQueueStatsRequest) GetQueueId

func (x *OfpQueueStatsRequest) GetQueueId() uint32

func (*OfpQueueStatsRequest) ProtoMessage

func (*OfpQueueStatsRequest) ProtoMessage()

func (*OfpQueueStatsRequest) ProtoReflect added in v5.7.1

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

func (*OfpQueueStatsRequest) Reset

func (x *OfpQueueStatsRequest) Reset()

func (*OfpQueueStatsRequest) String

func (x *OfpQueueStatsRequest) String() string

type OfpRoleRequest

type OfpRoleRequest struct {

	// ofp_header header;        /* Type OFPT_ROLE_REQUEST/OFPT_ROLE_REPLY. */
	Role         OfpControllerRole `protobuf:"varint,1,opt,name=role,proto3,enum=openflow_13.OfpControllerRole" json:"role,omitempty"`  // One of OFPCR_ROLE_*.
	GenerationId uint64            `protobuf:"varint,2,opt,name=generation_id,json=generationId,proto3" json:"generation_id,omitempty"` // Master Election Generation Id
	// contains filtered or unexported fields
}

Role request and reply message.

func (*OfpRoleRequest) Descriptor deprecated

func (*OfpRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use OfpRoleRequest.ProtoReflect.Descriptor instead.

func (*OfpRoleRequest) GetGenerationId

func (x *OfpRoleRequest) GetGenerationId() uint64

func (*OfpRoleRequest) GetRole

func (x *OfpRoleRequest) GetRole() OfpControllerRole

func (*OfpRoleRequest) ProtoMessage

func (*OfpRoleRequest) ProtoMessage()

func (*OfpRoleRequest) ProtoReflect added in v5.7.1

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

func (*OfpRoleRequest) Reset

func (x *OfpRoleRequest) Reset()

func (*OfpRoleRequest) String

func (x *OfpRoleRequest) String() string

type OfpRoleRequestFailedCode

type OfpRoleRequestFailedCode int32

ofp_error_msg 'code' values for OFPET_ROLE_REQUEST_FAILED. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpRoleRequestFailedCode_OFPRRFC_STALE    OfpRoleRequestFailedCode = 0 // Stale Message: old generation_id.
	OfpRoleRequestFailedCode_OFPRRFC_UNSUP    OfpRoleRequestFailedCode = 1 // Controller role change unsupported.
	OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE OfpRoleRequestFailedCode = 2 // Invalid role.
)

func (OfpRoleRequestFailedCode) Descriptor added in v5.7.1

func (OfpRoleRequestFailedCode) Enum added in v5.7.1

func (OfpRoleRequestFailedCode) EnumDescriptor deprecated

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

Deprecated: Use OfpRoleRequestFailedCode.Descriptor instead.

func (OfpRoleRequestFailedCode) Number added in v5.7.1

func (OfpRoleRequestFailedCode) String

func (x OfpRoleRequestFailedCode) String() string

func (OfpRoleRequestFailedCode) Type added in v5.7.1

type OfpSwitchConfig

type OfpSwitchConfig struct {

	// ofp_header header;
	Flags       uint32 `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"` // Bitmap of OFPC_* flags.
	MissSendLen uint32 `protobuf:"varint,2,opt,name=miss_send_len,json=missSendLen,proto3" json:"miss_send_len,omitempty"`
	// contains filtered or unexported fields
}

Switch configuration.

func (*OfpSwitchConfig) Descriptor deprecated

func (*OfpSwitchConfig) Descriptor() ([]byte, []int)

Deprecated: Use OfpSwitchConfig.ProtoReflect.Descriptor instead.

func (*OfpSwitchConfig) GetFlags

func (x *OfpSwitchConfig) GetFlags() uint32

func (*OfpSwitchConfig) GetMissSendLen

func (x *OfpSwitchConfig) GetMissSendLen() uint32

func (*OfpSwitchConfig) ProtoMessage

func (*OfpSwitchConfig) ProtoMessage()

func (*OfpSwitchConfig) ProtoReflect added in v5.7.1

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

func (*OfpSwitchConfig) Reset

func (x *OfpSwitchConfig) Reset()

func (*OfpSwitchConfig) String

func (x *OfpSwitchConfig) String() string

type OfpSwitchConfigFailedCode

type OfpSwitchConfigFailedCode int32

ofp_error_msg 'code' values for OFPET_SWITCH_CONFIG_FAILED. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS OfpSwitchConfigFailedCode = 0 // Specified flags is invalid.
	OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN   OfpSwitchConfigFailedCode = 1 // Specified len is invalid.
	OfpSwitchConfigFailedCode_OFPSCFC_EPERM     OfpSwitchConfigFailedCode = 2 // Permissions error.
)

func (OfpSwitchConfigFailedCode) Descriptor added in v5.7.1

func (OfpSwitchConfigFailedCode) Enum added in v5.7.1

func (OfpSwitchConfigFailedCode) EnumDescriptor deprecated

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

Deprecated: Use OfpSwitchConfigFailedCode.Descriptor instead.

func (OfpSwitchConfigFailedCode) Number added in v5.7.1

func (OfpSwitchConfigFailedCode) String

func (x OfpSwitchConfigFailedCode) String() string

func (OfpSwitchConfigFailedCode) Type added in v5.7.1

type OfpSwitchFeatures

type OfpSwitchFeatures struct {

	// ofp_header header;
	DatapathId  uint64 `protobuf:"varint,1,opt,name=datapath_id,json=datapathId,proto3" json:"datapath_id,omitempty"`
	NBuffers    uint32 `protobuf:"varint,2,opt,name=n_buffers,json=nBuffers,proto3" json:"n_buffers,omitempty"`          // Max packets buffered at once.
	NTables     uint32 `protobuf:"varint,3,opt,name=n_tables,json=nTables,proto3" json:"n_tables,omitempty"`             // Number of tables supported by datapath.
	AuxiliaryId uint32 `protobuf:"varint,4,opt,name=auxiliary_id,json=auxiliaryId,proto3" json:"auxiliary_id,omitempty"` // Identify auxiliary connections
	// Features.
	Capabilities uint32 `protobuf:"varint,5,opt,name=capabilities,proto3" json:"capabilities,omitempty"` // Bitmap of support "ofp_capabilities".
	// contains filtered or unexported fields
}

Switch features.

func (*OfpSwitchFeatures) Descriptor deprecated

func (*OfpSwitchFeatures) Descriptor() ([]byte, []int)

Deprecated: Use OfpSwitchFeatures.ProtoReflect.Descriptor instead.

func (*OfpSwitchFeatures) GetAuxiliaryId

func (x *OfpSwitchFeatures) GetAuxiliaryId() uint32

func (*OfpSwitchFeatures) GetCapabilities

func (x *OfpSwitchFeatures) GetCapabilities() uint32

func (*OfpSwitchFeatures) GetDatapathId

func (x *OfpSwitchFeatures) GetDatapathId() uint64

func (*OfpSwitchFeatures) GetNBuffers

func (x *OfpSwitchFeatures) GetNBuffers() uint32

func (*OfpSwitchFeatures) GetNTables

func (x *OfpSwitchFeatures) GetNTables() uint32

func (*OfpSwitchFeatures) ProtoMessage

func (*OfpSwitchFeatures) ProtoMessage()

func (*OfpSwitchFeatures) ProtoReflect added in v5.7.1

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

func (*OfpSwitchFeatures) Reset

func (x *OfpSwitchFeatures) Reset()

func (*OfpSwitchFeatures) String

func (x *OfpSwitchFeatures) String() string

type OfpTable

type OfpTable int32

Table numbering. Tables can use any number up to OFPT_MAX.

const (
	OfpTable_OFPTT_INVALID OfpTable = 0
	// Last usable table number.
	OfpTable_OFPTT_MAX OfpTable = 254
	// Fake tables.
	OfpTable_OFPTT_ALL OfpTable = 255
)

func (OfpTable) Descriptor added in v5.7.1

func (OfpTable) Descriptor() protoreflect.EnumDescriptor

func (OfpTable) Enum added in v5.7.1

func (x OfpTable) Enum() *OfpTable

func (OfpTable) EnumDescriptor deprecated

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

Deprecated: Use OfpTable.Descriptor instead.

func (OfpTable) Number added in v5.7.1

func (x OfpTable) Number() protoreflect.EnumNumber

func (OfpTable) String

func (x OfpTable) String() string

func (OfpTable) Type added in v5.7.1

type OfpTableConfig

type OfpTableConfig int32

Flags to configure the table. Reserved for future use.

const (
	OfpTableConfig_OFPTC_INVALID         OfpTableConfig = 0
	OfpTableConfig_OFPTC_DEPRECATED_MASK OfpTableConfig = 3 // Deprecated bits
)

func (OfpTableConfig) Descriptor added in v5.7.1

func (OfpTableConfig) Enum added in v5.7.1

func (x OfpTableConfig) Enum() *OfpTableConfig

func (OfpTableConfig) EnumDescriptor deprecated

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

Deprecated: Use OfpTableConfig.Descriptor instead.

func (OfpTableConfig) Number added in v5.7.1

func (OfpTableConfig) String

func (x OfpTableConfig) String() string

func (OfpTableConfig) Type added in v5.7.1

type OfpTableFeaturePropActions

type OfpTableFeaturePropActions struct {

	// One of OFPTFPT_WRITE_ACTIONS,
	// OFPTFPT_WRITE_ACTIONS_MISS,
	// OFPTFPT_APPLY_ACTIONS,
	// OFPTFPT_APPLY_ACTIONS_MISS.
	Actions []*OfpAction `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` // List of actions
	// contains filtered or unexported fields
}

Actions property

func (*OfpTableFeaturePropActions) Descriptor deprecated

func (*OfpTableFeaturePropActions) Descriptor() ([]byte, []int)

Deprecated: Use OfpTableFeaturePropActions.ProtoReflect.Descriptor instead.

func (*OfpTableFeaturePropActions) GetActions

func (x *OfpTableFeaturePropActions) GetActions() []*OfpAction

func (*OfpTableFeaturePropActions) ProtoMessage

func (*OfpTableFeaturePropActions) ProtoMessage()

func (*OfpTableFeaturePropActions) ProtoReflect added in v5.7.1

func (*OfpTableFeaturePropActions) Reset

func (x *OfpTableFeaturePropActions) Reset()

func (*OfpTableFeaturePropActions) String

func (x *OfpTableFeaturePropActions) String() string

type OfpTableFeaturePropExperimenter

type OfpTableFeaturePropExperimenter struct {

	// One of OFPTFPT_EXPERIMENTER,
	// OFPTFPT_EXPERIMENTER_MISS.
	Experimenter     uint32   `protobuf:"varint,2,opt,name=experimenter,proto3" json:"experimenter,omitempty"`
	ExpType          uint32   `protobuf:"varint,3,opt,name=exp_type,json=expType,proto3" json:"exp_type,omitempty"` // Experimenter defined.
	ExperimenterData []uint32 `protobuf:"varint,4,rep,packed,name=experimenter_data,json=experimenterData,proto3" json:"experimenter_data,omitempty"`
	// contains filtered or unexported fields
}

Experimenter table feature property

func (*OfpTableFeaturePropExperimenter) Descriptor deprecated

func (*OfpTableFeaturePropExperimenter) Descriptor() ([]byte, []int)

Deprecated: Use OfpTableFeaturePropExperimenter.ProtoReflect.Descriptor instead.

func (*OfpTableFeaturePropExperimenter) GetExpType

func (x *OfpTableFeaturePropExperimenter) GetExpType() uint32

func (*OfpTableFeaturePropExperimenter) GetExperimenter

func (x *OfpTableFeaturePropExperimenter) GetExperimenter() uint32

func (*OfpTableFeaturePropExperimenter) GetExperimenterData

func (x *OfpTableFeaturePropExperimenter) GetExperimenterData() []uint32

func (*OfpTableFeaturePropExperimenter) ProtoMessage

func (*OfpTableFeaturePropExperimenter) ProtoMessage()

func (*OfpTableFeaturePropExperimenter) ProtoReflect added in v5.7.1

func (*OfpTableFeaturePropExperimenter) Reset

func (*OfpTableFeaturePropExperimenter) String

type OfpTableFeaturePropInstructions

type OfpTableFeaturePropInstructions struct {

	// One of OFPTFPT_INSTRUCTIONS,
	// OFPTFPT_INSTRUCTIONS_MISS.
	Instructions []*OfpInstruction `protobuf:"bytes,1,rep,name=instructions,proto3" json:"instructions,omitempty"` // List of instructions
	// contains filtered or unexported fields
}

Instructions property

func (*OfpTableFeaturePropInstructions) Descriptor deprecated

func (*OfpTableFeaturePropInstructions) Descriptor() ([]byte, []int)

Deprecated: Use OfpTableFeaturePropInstructions.ProtoReflect.Descriptor instead.

func (*OfpTableFeaturePropInstructions) GetInstructions

func (x *OfpTableFeaturePropInstructions) GetInstructions() []*OfpInstruction

func (*OfpTableFeaturePropInstructions) ProtoMessage

func (*OfpTableFeaturePropInstructions) ProtoMessage()

func (*OfpTableFeaturePropInstructions) ProtoReflect added in v5.7.1

func (*OfpTableFeaturePropInstructions) Reset

func (*OfpTableFeaturePropInstructions) String

type OfpTableFeaturePropNextTables

type OfpTableFeaturePropNextTables struct {

	// One of OFPTFPT_NEXT_TABLES,
	// OFPTFPT_NEXT_TABLES_MISS.
	NextTableIds []uint32 `protobuf:"varint,1,rep,packed,name=next_table_ids,json=nextTableIds,proto3" json:"next_table_ids,omitempty"` // List of table ids.
	// contains filtered or unexported fields
}

Next Tables property

func (*OfpTableFeaturePropNextTables) Descriptor deprecated

func (*OfpTableFeaturePropNextTables) Descriptor() ([]byte, []int)

Deprecated: Use OfpTableFeaturePropNextTables.ProtoReflect.Descriptor instead.

func (*OfpTableFeaturePropNextTables) GetNextTableIds

func (x *OfpTableFeaturePropNextTables) GetNextTableIds() []uint32

func (*OfpTableFeaturePropNextTables) ProtoMessage

func (*OfpTableFeaturePropNextTables) ProtoMessage()

func (*OfpTableFeaturePropNextTables) ProtoReflect added in v5.7.1

func (*OfpTableFeaturePropNextTables) Reset

func (x *OfpTableFeaturePropNextTables) Reset()

func (*OfpTableFeaturePropNextTables) String

type OfpTableFeaturePropOxm

type OfpTableFeaturePropOxm struct {

	// TODO is this a uint32???
	OxmIds []uint32 `protobuf:"varint,3,rep,packed,name=oxm_ids,json=oxmIds,proto3" json:"oxm_ids,omitempty"` // Array of OXM headers
	// contains filtered or unexported fields
}

Match, Wildcard or Set-Field property

func (*OfpTableFeaturePropOxm) Descriptor deprecated

func (*OfpTableFeaturePropOxm) Descriptor() ([]byte, []int)

Deprecated: Use OfpTableFeaturePropOxm.ProtoReflect.Descriptor instead.

func (*OfpTableFeaturePropOxm) GetOxmIds

func (x *OfpTableFeaturePropOxm) GetOxmIds() []uint32

func (*OfpTableFeaturePropOxm) ProtoMessage

func (*OfpTableFeaturePropOxm) ProtoMessage()

func (*OfpTableFeaturePropOxm) ProtoReflect added in v5.7.1

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

func (*OfpTableFeaturePropOxm) Reset

func (x *OfpTableFeaturePropOxm) Reset()

func (*OfpTableFeaturePropOxm) String

func (x *OfpTableFeaturePropOxm) String() string

type OfpTableFeaturePropType

type OfpTableFeaturePropType int32

Table Feature property types. Low order bit cleared indicates a property for a regular Flow Entry. Low order bit set indicates a property for the Table-Miss Flow Entry.

const (
	OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS        OfpTableFeaturePropType = 0     // Instructions property.
	OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS   OfpTableFeaturePropType = 1     // Instructions for table-miss.
	OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES         OfpTableFeaturePropType = 2     // Next Table property.
	OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS    OfpTableFeaturePropType = 3     // Next Table for table-miss.
	OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS       OfpTableFeaturePropType = 4     // Write Actions property.
	OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS  OfpTableFeaturePropType = 5     // Write Actions for table-miss.
	OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS       OfpTableFeaturePropType = 6     // Apply Actions property.
	OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS  OfpTableFeaturePropType = 7     // Apply Actions for table-miss.
	OfpTableFeaturePropType_OFPTFPT_MATCH               OfpTableFeaturePropType = 8     // Match property.
	OfpTableFeaturePropType_OFPTFPT_WILDCARDS           OfpTableFeaturePropType = 10    // Wildcards property.
	OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD      OfpTableFeaturePropType = 12    // Write Set-Field property.
	OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS OfpTableFeaturePropType = 13    // Write Set-Field for table-miss.
	OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD      OfpTableFeaturePropType = 14    // Apply Set-Field property.
	OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS OfpTableFeaturePropType = 15    // Apply Set-Field for table-miss.
	OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER        OfpTableFeaturePropType = 65534 // Experimenter property.
	OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS   OfpTableFeaturePropType = 65535 // Experimenter for table-miss.
)

func (OfpTableFeaturePropType) Descriptor added in v5.7.1

func (OfpTableFeaturePropType) Enum added in v5.7.1

func (OfpTableFeaturePropType) EnumDescriptor deprecated

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

Deprecated: Use OfpTableFeaturePropType.Descriptor instead.

func (OfpTableFeaturePropType) Number added in v5.7.1

func (OfpTableFeaturePropType) String

func (x OfpTableFeaturePropType) String() string

func (OfpTableFeaturePropType) Type added in v5.7.1

type OfpTableFeatureProperty

type OfpTableFeatureProperty struct {
	Type OfpTableFeaturePropType `protobuf:"varint,1,opt,name=type,proto3,enum=openflow_13.OfpTableFeaturePropType" json:"type,omitempty"` // One of OFPTFPT_*.
	// Types that are valid to be assigned to Value:
	//
	//	*OfpTableFeatureProperty_Instructions
	//	*OfpTableFeatureProperty_NextTables
	//	*OfpTableFeatureProperty_Actions
	//	*OfpTableFeatureProperty_Oxm
	//	*OfpTableFeatureProperty_Experimenter
	Value isOfpTableFeatureProperty_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

Common header for all Table Feature Properties

func (*OfpTableFeatureProperty) Descriptor deprecated

func (*OfpTableFeatureProperty) Descriptor() ([]byte, []int)

Deprecated: Use OfpTableFeatureProperty.ProtoReflect.Descriptor instead.

func (*OfpTableFeatureProperty) GetActions

func (*OfpTableFeatureProperty) GetExperimenter

func (*OfpTableFeatureProperty) GetInstructions

func (*OfpTableFeatureProperty) GetNextTables

func (*OfpTableFeatureProperty) GetOxm

func (*OfpTableFeatureProperty) GetType

func (*OfpTableFeatureProperty) GetValue

func (x *OfpTableFeatureProperty) GetValue() isOfpTableFeatureProperty_Value

func (*OfpTableFeatureProperty) ProtoMessage

func (*OfpTableFeatureProperty) ProtoMessage()

func (*OfpTableFeatureProperty) ProtoReflect added in v5.7.1

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

func (*OfpTableFeatureProperty) Reset

func (x *OfpTableFeatureProperty) Reset()

func (*OfpTableFeatureProperty) String

func (x *OfpTableFeatureProperty) String() string

type OfpTableFeatureProperty_Actions

type OfpTableFeatureProperty_Actions struct {
	Actions *OfpTableFeaturePropActions `protobuf:"bytes,4,opt,name=actions,proto3,oneof"`
}

type OfpTableFeatureProperty_Experimenter

type OfpTableFeatureProperty_Experimenter struct {
	Experimenter *OfpTableFeaturePropExperimenter `protobuf:"bytes,6,opt,name=experimenter,proto3,oneof"`
}

type OfpTableFeatureProperty_Instructions

type OfpTableFeatureProperty_Instructions struct {
	Instructions *OfpTableFeaturePropInstructions `protobuf:"bytes,2,opt,name=instructions,proto3,oneof"`
}

type OfpTableFeatureProperty_NextTables

type OfpTableFeatureProperty_NextTables struct {
	NextTables *OfpTableFeaturePropNextTables `protobuf:"bytes,3,opt,name=next_tables,json=nextTables,proto3,oneof"`
}

type OfpTableFeatureProperty_Oxm

type OfpTableFeatureProperty_Oxm struct {
	Oxm *OfpTableFeaturePropOxm `protobuf:"bytes,5,opt,name=oxm,proto3,oneof"`
}

type OfpTableFeatures

type OfpTableFeatures struct {
	TableId       uint32 `protobuf:"varint,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	MetadataMatch uint64 `protobuf:"varint,3,opt,name=metadata_match,json=metadataMatch,proto3" json:"metadata_match,omitempty"` // Bits of metadata table can match.
	MetadataWrite uint64 `protobuf:"varint,4,opt,name=metadata_write,json=metadataWrite,proto3" json:"metadata_write,omitempty"` // Bits of metadata table can write.
	Config        uint32 `protobuf:"varint,5,opt,name=config,proto3" json:"config,omitempty"`                                    // Bitmap of OFPTC_* values
	MaxEntries    uint32 `protobuf:"varint,6,opt,name=max_entries,json=maxEntries,proto3" json:"max_entries,omitempty"`          // Max number of entries supported.
	// Table Feature Property list
	Properties []*OfpTableFeatureProperty `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

Body for ofp_multipart_request of type OFPMP_TABLE_FEATURES./ Body of reply to OFPMP_TABLE_FEATURES request.

func (*OfpTableFeatures) Descriptor deprecated

func (*OfpTableFeatures) Descriptor() ([]byte, []int)

Deprecated: Use OfpTableFeatures.ProtoReflect.Descriptor instead.

func (*OfpTableFeatures) GetConfig

func (x *OfpTableFeatures) GetConfig() uint32

func (*OfpTableFeatures) GetMaxEntries

func (x *OfpTableFeatures) GetMaxEntries() uint32

func (*OfpTableFeatures) GetMetadataMatch

func (x *OfpTableFeatures) GetMetadataMatch() uint64

func (*OfpTableFeatures) GetMetadataWrite

func (x *OfpTableFeatures) GetMetadataWrite() uint64

func (*OfpTableFeatures) GetName

func (x *OfpTableFeatures) GetName() string

func (*OfpTableFeatures) GetProperties

func (x *OfpTableFeatures) GetProperties() []*OfpTableFeatureProperty

func (*OfpTableFeatures) GetTableId

func (x *OfpTableFeatures) GetTableId() uint32

func (*OfpTableFeatures) ProtoMessage

func (*OfpTableFeatures) ProtoMessage()

func (*OfpTableFeatures) ProtoReflect added in v5.7.1

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

func (*OfpTableFeatures) Reset

func (x *OfpTableFeatures) Reset()

func (*OfpTableFeatures) String

func (x *OfpTableFeatures) String() string

type OfpTableFeaturesFailedCode

type OfpTableFeaturesFailedCode int32

ofp_error_msg 'code' values for OFPET_TABLE_FEATURES_FAILED. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE    OfpTableFeaturesFailedCode = 0 // Specified table does not exist.
	OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA OfpTableFeaturesFailedCode = 1 // Invalid metadata mask.
	OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE     OfpTableFeaturesFailedCode = 2 // Unknown property type.
	OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN      OfpTableFeaturesFailedCode = 3 // Length problem in properties.
	OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT OfpTableFeaturesFailedCode = 4 // Unsupported property value.
	OfpTableFeaturesFailedCode_OFPTFFC_EPERM        OfpTableFeaturesFailedCode = 5 // Permissions error.
)

func (OfpTableFeaturesFailedCode) Descriptor added in v5.7.1

func (OfpTableFeaturesFailedCode) Enum added in v5.7.1

func (OfpTableFeaturesFailedCode) EnumDescriptor deprecated

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

Deprecated: Use OfpTableFeaturesFailedCode.Descriptor instead.

func (OfpTableFeaturesFailedCode) Number added in v5.7.1

func (OfpTableFeaturesFailedCode) String

func (OfpTableFeaturesFailedCode) Type added in v5.7.1

type OfpTableMod

type OfpTableMod struct {

	// ofp_header header;
	TableId uint32 `protobuf:"varint,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` // ID of the table, OFPTT_ALL indicates all tables
	Config  uint32 `protobuf:"varint,2,opt,name=config,proto3" json:"config,omitempty"`                  // Bitmap of OFPTC_* flags
	// contains filtered or unexported fields
}

Configure/Modify behavior of a flow table

func (*OfpTableMod) Descriptor deprecated

func (*OfpTableMod) Descriptor() ([]byte, []int)

Deprecated: Use OfpTableMod.ProtoReflect.Descriptor instead.

func (*OfpTableMod) GetConfig

func (x *OfpTableMod) GetConfig() uint32

func (*OfpTableMod) GetTableId

func (x *OfpTableMod) GetTableId() uint32

func (*OfpTableMod) ProtoMessage

func (*OfpTableMod) ProtoMessage()

func (*OfpTableMod) ProtoReflect added in v5.7.1

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

func (*OfpTableMod) Reset

func (x *OfpTableMod) Reset()

func (*OfpTableMod) String

func (x *OfpTableMod) String() string

type OfpTableModFailedCode

type OfpTableModFailedCode int32

ofp_error_msg 'code' values for OFPET_TABLE_MOD_FAILED. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpTableModFailedCode_OFPTMFC_BAD_TABLE  OfpTableModFailedCode = 0 // Specified table does not exist.
	OfpTableModFailedCode_OFPTMFC_BAD_CONFIG OfpTableModFailedCode = 1 // Specified config is invalid.
	OfpTableModFailedCode_OFPTMFC_EPERM      OfpTableModFailedCode = 2 // Permissions error.
)

func (OfpTableModFailedCode) Descriptor added in v5.7.1

func (OfpTableModFailedCode) Enum added in v5.7.1

func (OfpTableModFailedCode) EnumDescriptor deprecated

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

Deprecated: Use OfpTableModFailedCode.Descriptor instead.

func (OfpTableModFailedCode) Number added in v5.7.1

func (OfpTableModFailedCode) String

func (x OfpTableModFailedCode) String() string

func (OfpTableModFailedCode) Type added in v5.7.1

type OfpTableStats

type OfpTableStats struct {
	TableId      uint32 `protobuf:"varint,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
	ActiveCount  uint32 `protobuf:"varint,2,opt,name=active_count,json=activeCount,proto3" json:"active_count,omitempty"`    // Number of active entries.
	LookupCount  uint64 `protobuf:"varint,3,opt,name=lookup_count,json=lookupCount,proto3" json:"lookup_count,omitempty"`    // Number of packets looked up in table.
	MatchedCount uint64 `protobuf:"varint,4,opt,name=matched_count,json=matchedCount,proto3" json:"matched_count,omitempty"` // Number of packets that hit table.
	// contains filtered or unexported fields
}

Body of reply to OFPMP_TABLE request.

func (*OfpTableStats) Descriptor deprecated

func (*OfpTableStats) Descriptor() ([]byte, []int)

Deprecated: Use OfpTableStats.ProtoReflect.Descriptor instead.

func (*OfpTableStats) GetActiveCount

func (x *OfpTableStats) GetActiveCount() uint32

func (*OfpTableStats) GetLookupCount

func (x *OfpTableStats) GetLookupCount() uint64

func (*OfpTableStats) GetMatchedCount

func (x *OfpTableStats) GetMatchedCount() uint64

func (*OfpTableStats) GetTableId

func (x *OfpTableStats) GetTableId() uint32

func (*OfpTableStats) ProtoMessage

func (*OfpTableStats) ProtoMessage()

func (*OfpTableStats) ProtoReflect added in v5.7.1

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

func (*OfpTableStats) Reset

func (x *OfpTableStats) Reset()

func (*OfpTableStats) String

func (x *OfpTableStats) String() string

type OfpType

type OfpType int32
const (
	// Immutable messages.
	OfpType_OFPT_HELLO        OfpType = 0 // Symmetric message
	OfpType_OFPT_ERROR        OfpType = 1 // Symmetric message
	OfpType_OFPT_ECHO_REQUEST OfpType = 2 // Symmetric message
	OfpType_OFPT_ECHO_REPLY   OfpType = 3 // Symmetric message
	OfpType_OFPT_EXPERIMENTER OfpType = 4 // Symmetric message
	// Switch configuration messages.
	OfpType_OFPT_FEATURES_REQUEST   OfpType = 5 // Controller/switch message
	OfpType_OFPT_FEATURES_REPLY     OfpType = 6 // Controller/switch message
	OfpType_OFPT_GET_CONFIG_REQUEST OfpType = 7 // Controller/switch message
	OfpType_OFPT_GET_CONFIG_REPLY   OfpType = 8 // Controller/switch message
	OfpType_OFPT_SET_CONFIG         OfpType = 9 // Controller/switch message
	// Asynchronous messages.
	OfpType_OFPT_PACKET_IN    OfpType = 10 // Async message
	OfpType_OFPT_FLOW_REMOVED OfpType = 11 // Async message
	OfpType_OFPT_PORT_STATUS  OfpType = 12 // Async message
	// Controller command messages.
	OfpType_OFPT_PACKET_OUT OfpType = 13 // Controller/switch message
	OfpType_OFPT_FLOW_MOD   OfpType = 14 // Controller/switch message
	OfpType_OFPT_GROUP_MOD  OfpType = 15 // Controller/switch message
	OfpType_OFPT_PORT_MOD   OfpType = 16 // Controller/switch message
	OfpType_OFPT_TABLE_MOD  OfpType = 17 // Controller/switch message
	// Multipart messages.
	OfpType_OFPT_MULTIPART_REQUEST OfpType = 18 // Controller/switch message
	OfpType_OFPT_MULTIPART_REPLY   OfpType = 19 // Controller/switch message
	// Barrier messages.
	OfpType_OFPT_BARRIER_REQUEST OfpType = 20 // Controller/switch message
	OfpType_OFPT_BARRIER_REPLY   OfpType = 21 // Controller/switch message
	// Queue Configuration messages.
	OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST OfpType = 22 // Controller/switch message
	OfpType_OFPT_QUEUE_GET_CONFIG_REPLY   OfpType = 23 // Controller/switch message
	// Controller role change request messages.
	OfpType_OFPT_ROLE_REQUEST OfpType = 24 // Controller/switch message
	OfpType_OFPT_ROLE_REPLY   OfpType = 25 // Controller/switch message
	// Asynchronous message configuration.
	OfpType_OFPT_GET_ASYNC_REQUEST OfpType = 26 // Controller/switch message
	OfpType_OFPT_GET_ASYNC_REPLY   OfpType = 27 // Controller/switch message
	OfpType_OFPT_SET_ASYNC         OfpType = 28 // Controller/switch message
	// Meters and rate limiters configuration messages.
	OfpType_OFPT_METER_MOD OfpType = 29 // Controller/switch message
)

func (OfpType) Descriptor added in v5.7.1

func (OfpType) Descriptor() protoreflect.EnumDescriptor

func (OfpType) Enum added in v5.7.1

func (x OfpType) Enum() *OfpType

func (OfpType) EnumDescriptor deprecated

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

Deprecated: Use OfpType.Descriptor instead.

func (OfpType) Number added in v5.7.1

func (x OfpType) Number() protoreflect.EnumNumber

func (OfpType) String

func (x OfpType) String() string

func (OfpType) Type added in v5.7.1

func (OfpType) Type() protoreflect.EnumType

type OfpVlanId

type OfpVlanId int32

The VLAN id is 12-bits, so we can use the entire 16 bits to indicate special conditions.

const (
	OfpVlanId_OFPVID_NONE    OfpVlanId = 0    // No VLAN id was set.
	OfpVlanId_OFPVID_PRESENT OfpVlanId = 4096 // Bit that indicate that a VLAN id is set
)

func (OfpVlanId) Descriptor added in v5.7.1

func (OfpVlanId) Descriptor() protoreflect.EnumDescriptor

func (OfpVlanId) Enum added in v5.7.1

func (x OfpVlanId) Enum() *OfpVlanId

func (OfpVlanId) EnumDescriptor deprecated

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

Deprecated: Use OfpVlanId.Descriptor instead.

func (OfpVlanId) Number added in v5.7.1

func (x OfpVlanId) Number() protoreflect.EnumNumber

func (OfpVlanId) String

func (x OfpVlanId) String() string

func (OfpVlanId) Type added in v5.7.1

type OxmOfbFieldTypes

type OxmOfbFieldTypes int32

OXM Flow field types for OpenFlow basic class.

const (
	OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT        OxmOfbFieldTypes = 0  // Switch input port.
	OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT    OxmOfbFieldTypes = 1  // Switch physical input port.
	OxmOfbFieldTypes_OFPXMT_OFB_METADATA       OxmOfbFieldTypes = 2  // Metadata passed between tables.
	OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST        OxmOfbFieldTypes = 3  // Ethernet destination address.
	OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC        OxmOfbFieldTypes = 4  // Ethernet source address.
	OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE       OxmOfbFieldTypes = 5  // Ethernet frame type.
	OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID       OxmOfbFieldTypes = 6  // VLAN id.
	OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP       OxmOfbFieldTypes = 7  // VLAN priority.
	OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP        OxmOfbFieldTypes = 8  // IP DSCP (6 bits in ToS field).
	OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN         OxmOfbFieldTypes = 9  // IP ECN (2 bits in ToS field).
	OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO       OxmOfbFieldTypes = 10 // IP protocol.
	OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC       OxmOfbFieldTypes = 11 // IPv4 source address.
	OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST       OxmOfbFieldTypes = 12 // IPv4 destination address.
	OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC        OxmOfbFieldTypes = 13 // TCP source port.
	OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST        OxmOfbFieldTypes = 14 // TCP destination port.
	OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC        OxmOfbFieldTypes = 15 // UDP source port.
	OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST        OxmOfbFieldTypes = 16 // UDP destination port.
	OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC       OxmOfbFieldTypes = 17 // SCTP source port.
	OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST       OxmOfbFieldTypes = 18 // SCTP destination port.
	OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE    OxmOfbFieldTypes = 19 // ICMP type.
	OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE    OxmOfbFieldTypes = 20 // ICMP code.
	OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP         OxmOfbFieldTypes = 21 // ARP opcode.
	OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA        OxmOfbFieldTypes = 22 // ARP source IPv4 address.
	OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA        OxmOfbFieldTypes = 23 // ARP target IPv4 address.
	OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA        OxmOfbFieldTypes = 24 // ARP source hardware address.
	OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA        OxmOfbFieldTypes = 25 // ARP target hardware address.
	OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC       OxmOfbFieldTypes = 26 // IPv6 source address.
	OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST       OxmOfbFieldTypes = 27 // IPv6 destination address.
	OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL    OxmOfbFieldTypes = 28 // IPv6 Flow Label
	OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE    OxmOfbFieldTypes = 29 // ICMPv6 type.
	OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE    OxmOfbFieldTypes = 30 // ICMPv6 code.
	OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET OxmOfbFieldTypes = 31 // Target address for ND.
	OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL    OxmOfbFieldTypes = 32 // Source link-layer for ND.
	OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL    OxmOfbFieldTypes = 33 // Target link-layer for ND.
	OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL     OxmOfbFieldTypes = 34 // MPLS label.
	OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC        OxmOfbFieldTypes = 35 // MPLS TC.
	OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS       OxmOfbFieldTypes = 36 // MPLS BoS bit.
	OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID       OxmOfbFieldTypes = 37 // PBB I-SID.
	OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID      OxmOfbFieldTypes = 38 // Logical Port Metadata.
	OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR    OxmOfbFieldTypes = 39 // IPv6 Extension Header pseudo-field
)

func (OxmOfbFieldTypes) Descriptor added in v5.7.1

func (OxmOfbFieldTypes) Enum added in v5.7.1

func (OxmOfbFieldTypes) EnumDescriptor deprecated

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

Deprecated: Use OxmOfbFieldTypes.Descriptor instead.

func (OxmOfbFieldTypes) Number added in v5.7.1

func (OxmOfbFieldTypes) String

func (x OxmOfbFieldTypes) String() string

func (OxmOfbFieldTypes) Type added in v5.7.1

type PacketIn

type PacketIn struct {
	Id       string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // LogicalDevice.id
	PacketIn *OfpPacketIn `protobuf:"bytes,2,opt,name=packet_in,json=packetIn,proto3" json:"packet_in,omitempty"`
	// contains filtered or unexported fields
}

func (*PacketIn) Descriptor deprecated

func (*PacketIn) Descriptor() ([]byte, []int)

Deprecated: Use PacketIn.ProtoReflect.Descriptor instead.

func (*PacketIn) GetId

func (x *PacketIn) GetId() string

func (*PacketIn) GetPacketIn

func (x *PacketIn) GetPacketIn() *OfpPacketIn

func (*PacketIn) ProtoMessage

func (*PacketIn) ProtoMessage()

func (*PacketIn) ProtoReflect added in v5.7.1

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

func (*PacketIn) Reset

func (x *PacketIn) Reset()

func (*PacketIn) String

func (x *PacketIn) String() string

type PacketOut

type PacketOut struct {
	Id        string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // LogicalDevice.id
	PacketOut *OfpPacketOut `protobuf:"bytes,2,opt,name=packet_out,json=packetOut,proto3" json:"packet_out,omitempty"`
	// contains filtered or unexported fields
}

func (*PacketOut) Descriptor deprecated

func (*PacketOut) Descriptor() ([]byte, []int)

Deprecated: Use PacketOut.ProtoReflect.Descriptor instead.

func (*PacketOut) GetId

func (x *PacketOut) GetId() string

func (*PacketOut) GetPacketOut

func (x *PacketOut) GetPacketOut() *OfpPacketOut

func (*PacketOut) ProtoMessage

func (*PacketOut) ProtoMessage()

func (*PacketOut) ProtoReflect added in v5.7.1

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

func (*PacketOut) Reset

func (x *PacketOut) Reset()

func (*PacketOut) String

func (x *PacketOut) String() string

Jump to

Keyboard shortcuts

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