projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
random: Get random seed from /dev/urandom.
[openvswitch]
/
lib
/
learning-switch.h
diff --git
a/lib/learning-switch.h
b/lib/learning-switch.h
index 8837d64706d772ad023c3266b718d79995fcc4df..3b414a5bdf527e7ad1b465e7784e1bee1185ee35 100644
(file)
--- a/
lib/learning-switch.h
+++ b/
lib/learning-switch.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 2008 Nicira Networks.
+ * Copyright (c) 2008
, 2010
Nicira Networks.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-18,11
+18,16
@@
#define LEARNING_SWITCH_H 1
#include <stdbool.h>
#define LEARNING_SWITCH_H 1
#include <stdbool.h>
+#include <stdint.h>
+#include <stdio.h>
struct ofpbuf;
struct rconn;
struct ofpbuf;
struct rconn;
-struct lswitch *lswitch_create(struct rconn *, bool learn_macs, int max_idle);
+struct lswitch *lswitch_create(struct rconn *, bool learn_macs,
+ bool exact_flows, int max_idle,
+ bool action_normal, FILE *default_flows);
+void lswitch_set_queue(struct lswitch *sw, uint32_t queue);
void lswitch_run(struct lswitch *, struct rconn *);
void lswitch_wait(struct lswitch *);
void lswitch_destroy(struct lswitch *);
void lswitch_run(struct lswitch *, struct rconn *);
void lswitch_wait(struct lswitch *);
void lswitch_destroy(struct lswitch *);