2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

ofp-util: Make validate_actions() take a struct flow *.

The upcoming support for actions on registers will require the flow to
validate actions, so this commit adds the parameter in advance.  It is
not yet used.
This commit is contained in:
Ben Pfaff
2010-10-26 09:41:24 -07:00
parent ac51afaf4c
commit f1defbf96d
3 changed files with 5 additions and 4 deletions

View File

@@ -78,7 +78,7 @@ const union ofp_action *actions_first(struct actions_iterator *,
size_t n_actions);
const union ofp_action *actions_next(struct actions_iterator *);
int validate_actions(const union ofp_action *, size_t n_actions,
int max_ports);
const struct flow *, int max_ports);
bool action_outputs_to_port(const union ofp_action *, uint16_t port);
void normalize_match(struct ofp_match *);