X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fopenflow%2Fopenflow-1.1.h;h=4ee9c5c329d99bb5c3d92c137908689c88bdbe9b;hb=b2f2acd543f159ba984a00059892917933612a10;hp=a2309b1f8199cbb9f6639f67f7b080d8a6d4335a;hpb=3442636d01d2a73a557952ad9140de07418c28c2;p=sliver-openvswitch.git diff --git a/include/openflow/openflow-1.1.h b/include/openflow/openflow-1.1.h index a2309b1f8..4ee9c5c32 100644 --- a/include/openflow/openflow-1.1.h +++ b/include/openflow/openflow-1.1.h @@ -447,12 +447,12 @@ OFP_ASSERT(sizeof(struct ofp11_table_mod) == 8); These flags are used in ofp_table_stats messages to describe the current configuration and in ofp_table_mod messages to configure table behavior. */ enum ofp11_table_config { - OFPTC11_TABLE_MISS_CONTROLLER = 0, /* Send to controller. */ + OFPTC11_TABLE_MISS_CONTROLLER = 0 << 0, /* Send to controller. */ OFPTC11_TABLE_MISS_CONTINUE = 1 << 0, /* Continue to the next table in the pipeline (OpenFlow 1.0 behavior). */ - OFPTC11_TABLE_MISS_DROP = 1 << 1, /* Drop the packet. */ - OFPTC11_TABLE_MISS_MASK = 3 + OFPTC11_TABLE_MISS_DROP = 2 << 0, /* Drop the packet. */ +#define OFPTC11_TABLE_MISS_MASK (3 << 0) }; /* Flow setup and teardown (controller -> datapath). */