git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
simap: New data structure for string-to-integer maps.
[sliver-openvswitch.git]
/
lib
/
learning-switch.h
diff --git
a/lib/learning-switch.h
b/lib/learning-switch.h
index
e42aec1
..
c3c37f2
100644
(file)
--- a/
lib/learning-switch.h
+++ b/
lib/learning-switch.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 2008, 2010, 2011 Nicira, Inc.
+ * Copyright (c) 2008, 2010, 2011
, 2012
Nicira, Inc.
*
* 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.
@@
-55,8
+55,8
@@
struct lswitch_config {
* specifying a particular queue. */
uint32_t default_queue;
* specifying a particular queue. */
uint32_t default_queue;
- /* Maps from a port name to a queue_id
(cast to void *)
. */
- const struct s
hash
*port_queues;
+ /* Maps from a port name to a queue_id. */
+ const struct s
imap
*port_queues;
};
struct lswitch *lswitch_create(struct rconn *, const struct lswitch_config *);
};
struct lswitch *lswitch_create(struct rconn *, const struct lswitch_config *);