28
28
* 0xff00...0xfff7 "reserved" but not assigned a meaning by OpenFlow 1.0
29
29
* 0xfff8...0xffff "reserved" OFPP_* ports with assigned meanings
33
OFPP_MAX = 0xff00, /* Maximum number of physical switch ports. */
34
OFPP_FIRST_RESV = 0xfff8, /* First assigned reserved port number. */
35
OFPP_LAST_RESV = 0xffff, /* Last assigned reserved port number. */
37
/* Reserved output "ports". */
38
OFPP_IN_PORT = 0xfff8, /* Send the packet out the input port. This
39
virtual port must be explicitly used
40
in order to send back out of the input
42
OFPP_TABLE = 0xfff9, /* Perform actions in flow table.
43
NB: This can only be the destination
44
port for packet-out messages. */
45
OFPP_NORMAL = 0xfffa, /* Process with normal L2/L3 switching. */
46
OFPP_FLOOD = 0xfffb, /* All physical ports except input port and
47
those disabled by STP. */
48
OFPP_ALL = 0xfffc, /* All physical ports except input port. */
49
OFPP_CONTROLLER = 0xfffd, /* Send to controller. */
50
OFPP_LOCAL = 0xfffe, /* Local openflow "port". */
51
OFPP_NONE = 0xffff /* Not associated with a physical port. */
33
#define OFPP_MAX OFP_PORT_C(0xff00) /* Max # of switch ports. */
34
#define OFPP_FIRST_RESV OFP_PORT_C(0xfff8) /* First assigned reserved port. */
35
#define OFPP_LAST_RESV OFP_PORT_C(0xffff) /* Last assigned reserved port. */
37
/* Reserved output "ports". */
38
#define OFPP_IN_PORT OFP_PORT_C(0xfff8) /* Where the packet came in. */
39
#define OFPP_TABLE OFP_PORT_C(0xfff9) /* Perform actions in flow table. */
40
#define OFPP_NORMAL OFP_PORT_C(0xfffa) /* Process with normal L2/L3. */
41
#define OFPP_FLOOD OFP_PORT_C(0xfffb) /* All ports except input port and
42
* ports disabled by STP. */
43
#define OFPP_ALL OFP_PORT_C(0xfffc) /* All ports except input port. */
44
#define OFPP_CONTROLLER OFP_PORT_C(0xfffd) /* Send to controller. */
45
#define OFPP_LOCAL OFP_PORT_C(0xfffe) /* Local openflow "port". */
46
#define OFPP_NONE OFP_PORT_C(0xffff) /* Not associated with any port. */
54
48
/* OpenFlow 1.0 specific capabilities supported by the datapath (struct
55
49
* ofp_switch_features, member capabilities). */