mirror of
https://github.com/openvswitch/ovs
synced 2025-10-29 15:28:56 +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:
@@ -851,6 +851,7 @@ enum OVS_PACKED_ENUM ofputil_action_code {
|
||||
OFPUTIL_ACTION_INVALID,
|
||||
#define OFPAT10_ACTION(ENUM, STRUCT, NAME) OFPUTIL_##ENUM,
|
||||
#define OFPAT11_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME) OFPUTIL_##ENUM,
|
||||
#define OFPAT13_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME) OFPUTIL_##ENUM,
|
||||
#define NXAST_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME) OFPUTIL_##ENUM,
|
||||
#include "ofp-util.def"
|
||||
};
|
||||
@@ -859,6 +860,7 @@ enum OVS_PACKED_ENUM ofputil_action_code {
|
||||
enum {
|
||||
#define OFPAT10_ACTION(ENUM, STRUCT, NAME) + 1
|
||||
#define OFPAT11_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME) + 1
|
||||
#define OFPAT13_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME) + 1
|
||||
#define NXAST_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME) + 1
|
||||
OFPUTIL_N_ACTIONS = 1
|
||||
#include "ofp-util.def"
|
||||
@@ -889,6 +891,9 @@ void *ofputil_put_action(enum ofputil_action_code, struct ofpbuf *buf);
|
||||
#define OFPAT11_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME) \
|
||||
void ofputil_init_##ENUM(struct STRUCT *); \
|
||||
struct STRUCT *ofputil_put_##ENUM(struct ofpbuf *);
|
||||
#define OFPAT13_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME) \
|
||||
void ofputil_init_##ENUM(struct STRUCT *); \
|
||||
struct STRUCT *ofputil_put_##ENUM(struct ofpbuf *);
|
||||
#define NXAST_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME) \
|
||||
void ofputil_init_##ENUM(struct STRUCT *); \
|
||||
struct STRUCT *ofputil_put_##ENUM(struct ofpbuf *);
|
||||
|
||||
Reference in New Issue
Block a user