projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move structures into openflow-common.h
[openvswitch]
/
lib
/
learn.h
diff --git
a/lib/learn.h
b/lib/learn.h
index 19a9089c2e0069e858f28cf8a54abc9fb3409c36..b83bee20d9d873cdaa310a5883ecbeeead897d52 100644
(file)
--- a/
lib/learn.h
+++ b/
lib/learn.h
@@
-17,6
+17,8
@@
#ifndef LEARN_H
#define LEARN_H 1
#ifndef LEARN_H
#define LEARN_H 1
+#include "ofp-errors.h"
+
struct ds;
struct flow;
struct ofpbuf;
struct ds;
struct flow;
struct ofpbuf;
@@
-28,7
+30,7
@@
struct nx_action_learn;
* See include/openflow/nicira-ext.h for NXAST_LEARN specification.
*/
* See include/openflow/nicira-ext.h for NXAST_LEARN specification.
*/
-
int
learn_check(const struct nx_action_learn *, const struct flow *);
+
enum ofperr
learn_check(const struct nx_action_learn *, const struct flow *);
void learn_execute(const struct nx_action_learn *, const struct flow *,
struct ofputil_flow_mod *);
void learn_execute(const struct nx_action_learn *, const struct flow *,
struct ofputil_flow_mod *);