X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fopenflow%2Fopenflow-1.1.h;h=c4a5abaa6bf4cd68179b7dcbf28651be37cbd4bc;hb=7f05e7abc8fc190c5ff60dd3c3fcd4b9eb5c8dfa;hp=9785db456aa32a0a1126311687c9f742385a6d84;hpb=558e2cc58e16f6e3cee44926d69d385d84d42521;p=openvswitch diff --git a/include/openflow/openflow-1.1.h b/include/openflow/openflow-1.1.h index 9785db45..c4a5abaa 100644 --- a/include/openflow/openflow-1.1.h +++ b/include/openflow/openflow-1.1.h @@ -70,6 +70,14 @@ #define OFPP11_MAX 0xffffff00 #define OFPP11_OFFSET (OFPP11_MAX - OFPP_MAX) +/* Reserved wildcard port used only for flow mod (delete) and flow stats + * requests. Selects all flows regardless of output port + * (including flows with no output port) + * + * Define it via OFPP_NONE (0xFFFF) so that OFPP_ANY is still an enum ofp_port + */ +#define OFPP_ANY OFPP_NONE + /* OpenFlow 1.1 port config flags are just the common flags. */ #define OFPPC11_ALL \ (OFPPC_PORT_DOWN | OFPPC_NO_RECV | OFPPC_NO_FWD | OFPPC_NO_PACKET_IN)