projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovs-ofctl: Add support for drop_spoofed_arp action.
[openvswitch]
/
lib
/
hmap.h
diff --git
a/lib/hmap.h
b/lib/hmap.h
index 2f4a302fa4180eaf7f214ff88204abf2299cec59..d56749996e7e3147558ab3394061ff6f57051bf2 100644
(file)
--- a/
lib/hmap.h
+++ b/
lib/hmap.h
@@
-89,6
+89,8
@@
void hmap_node_moved(struct hmap *, struct hmap_node *, struct hmap_node *);
static inline void hmap_replace(struct hmap *, const struct hmap_node *old,
struct hmap_node *new);
static inline void hmap_replace(struct hmap *, const struct hmap_node *old,
struct hmap_node *new);
+struct hmap_node *hmap_random_node(const struct hmap *);
+
/* Search.
*
* HMAP_FOR_EACH_WITH_HASH iterates NODE over all of the nodes in HMAP that
/* Search.
*
* HMAP_FOR_EACH_WITH_HASH iterates NODE over all of the nodes in HMAP that