mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
ofp-actions: Complete ofp13_action_type.
Signed-off-by: Alexander Wu <alexander.wu@huawei.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -377,6 +377,7 @@ ofpact_from_nxast(const union ofp_action *a, enum ofputil_action_code code,
|
||||
case OFPUTIL_ACTION_INVALID:
|
||||
#define OFPAT10_ACTION(ENUM, STRUCT, NAME) case OFPUTIL_##ENUM:
|
||||
#define OFPAT11_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME) case OFPUTIL_##ENUM:
|
||||
#define OFPAT13_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME) case OFPUTIL_##ENUM:
|
||||
#include "ofp-util.def"
|
||||
OVS_NOT_REACHED();
|
||||
|
||||
@@ -523,6 +524,7 @@ ofpact_from_openflow10(const union ofp_action *a,
|
||||
switch (code) {
|
||||
case OFPUTIL_ACTION_INVALID:
|
||||
#define OFPAT11_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME) case OFPUTIL_##ENUM:
|
||||
#define OFPAT13_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME) case OFPUTIL_##ENUM:
|
||||
#include "ofp-util.def"
|
||||
OVS_NOT_REACHED();
|
||||
|
||||
@@ -1141,6 +1143,7 @@ ofpact_from_openflow11(const union ofp_action *a, enum ofp_version version,
|
||||
switch (code) {
|
||||
case OFPUTIL_ACTION_INVALID:
|
||||
#define OFPAT10_ACTION(ENUM, STRUCT, NAME) case OFPUTIL_##ENUM:
|
||||
#define OFPAT13_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME) case OFPUTIL_##ENUM:
|
||||
#include "ofp-util.def"
|
||||
OVS_NOT_REACHED();
|
||||
|
||||
|
Reference in New Issue
Block a user