mirror of
https://github.com/openvswitch/ovs
synced 2025-10-17 14:28:02 +00:00
lib/ofp-actions: use mf_subvalue in struct ofpact_reg_load.
Use a uninion mf_subvalue instead of a uint64_t for the value member of struct ofpact_reg_load. set_field action needs to hold values wider than 64 bits. This is preparation for set_field action. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
committed by
Ben Pfaff
parent
beffe87554
commit
9bab681f33
@@ -318,6 +318,8 @@ void mf_set_wild(const struct mf_field *, struct match *);
|
||||
void mf_random_value(const struct mf_field *, union mf_value *value);
|
||||
|
||||
/* Subfields. */
|
||||
void mf_write_subfield_flow(const struct mf_subfield *,
|
||||
const union mf_subvalue *, struct flow *);
|
||||
void mf_write_subfield(const struct mf_subfield *, const union mf_subvalue *,
|
||||
struct match *);
|
||||
|
||||
@@ -340,5 +342,6 @@ char *mf_parse_value(const struct mf_field *, const char *, union mf_value *);
|
||||
void mf_format(const struct mf_field *,
|
||||
const union mf_value *value, const union mf_value *mask,
|
||||
struct ds *);
|
||||
void mf_format_subvalue(const union mf_subvalue *subvalue, struct ds *s);
|
||||
|
||||
#endif /* meta-flow.h */
|
||||
|
Reference in New Issue
Block a user